| 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 = [ | 10 public_deps = [ |
| 11 "//content", | 11 "//content", |
| 12 ] | 12 ] |
| 13 } else { | 13 } else { |
| 14 public_deps = [ | 14 public_deps = [ |
| 15 ":child_sources", | 15 ":child_sources", |
| 16 ] | 16 ] |
| 17 if (!is_android) { | 17 if (!is_android) { |
| 18 public_deps += [ | 18 public_deps += [ |
| 19 "//content/gpu", | 19 "//content/gpu", |
| 20 "//content/ppapi_plugin", | 20 "//content/ppapi_plugin", |
| 21 ] | 21 ] |
| 22 } | 22 } |
| 23 } | 23 } |
| 24 } | 24 } |
| 25 | 25 |
| 26 source_set("child_sources") { | 26 source_set("child_sources") { |
| 27 # External code should depend in via ":child" above. |
| 27 visibility = [ "//content/*" ] | 28 visibility = [ "//content/*" ] |
| 28 | 29 |
| 29 sources = rebase_path(content_child_gypi_values.public_child_sources, | 30 sources = rebase_path(content_child_gypi_values.public_child_sources, |
| 30 ".", | 31 ".", |
| 31 "//content") | 32 "//content") |
| 32 | 33 |
| 33 configs += [ "//content:content_implementation" ] | 34 configs += [ "//content:content_implementation" ] |
| 34 | 35 |
| 35 public_deps = [ | 36 public_deps = [ |
| 36 "//content/child", | 37 "//content/child", |
| 37 ] | 38 ] |
| 38 | 39 |
| 39 deps = [ | 40 deps = [ |
| 40 "//content/public/common:common_sources", | 41 "//content/public/common:common_sources", |
| 41 "//gin", | 42 "//gin", |
| 42 ] | 43 ] |
| 43 } | 44 } |
| OLD | NEW |