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