1# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//content/child/child.gni")
6
7# See //content/BUILD.gn for how this works.
8group("child") {
9  if (is_component_build) {
10    public_deps = [ "//content" ]
11  } else {
12    public_deps = [ ":child_sources" ]
13  }
14}
15
16source_set("child_sources") {
17  visibility = [ "//content/*" ]
18
19  sources = rebase_path(content_child_gypi_values.public_child_sources,
20                        ".", "//content")
21
22  configs += [
23    "//content:content_implementation",
24  ]
25
26  deps = [
27    "//content/child",
28    "//content/public/common:common_sources",
29  ]
30}
31