| 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 public_deps = [ "//content" ] | 10 public_deps = [ |
| 11 "//content", |
| 12 ] |
| 11 } else { | 13 } else { |
| 12 public_deps = [ ":child_sources" ] | 14 public_deps = [ |
| 15 ":child_sources", |
| 16 ] |
| 13 } | 17 } |
| 14 } | 18 } |
| 15 | 19 |
| 16 source_set("child_sources") { | 20 source_set("child_sources") { |
| 17 visibility = [ "//content/*" ] | 21 visibility = [ "//content/*" ] |
| 18 | 22 |
| 19 sources = rebase_path(content_child_gypi_values.public_child_sources, | 23 sources = rebase_path(content_child_gypi_values.public_child_sources, |
| 20 ".", "//content") | 24 ".", |
| 25 "//content") |
| 21 | 26 |
| 22 configs += [ | 27 configs += [ "//content:content_implementation" ] |
| 23 "//content:content_implementation", | |
| 24 ] | |
| 25 | 28 |
| 26 public_deps = [ | 29 public_deps = [ |
| 27 "//content/child", | 30 "//content/child", |
| 28 ] | 31 ] |
| 29 | 32 |
| 30 deps = [ | 33 deps = [ |
| 31 "//content/public/common:common_sources", | 34 "//content/public/common:common_sources", |
| 32 ] | 35 ] |
| 33 } | 36 } |
| OLD | NEW |