| 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("//ppapi/features/features.gni") |
| 6 |
| 5 # See //content/BUILD.gn for how this works. | 7 # See //content/BUILD.gn for how this works. |
| 6 group("child") { | 8 group("child") { |
| 7 if (is_component_build) { | 9 if (is_component_build) { |
| 8 public_deps = [ | 10 public_deps = [ |
| 9 "//content", | 11 "//content", |
| 10 ] | 12 ] |
| 11 } else { | 13 } else { |
| 12 public_deps = [ | 14 public_deps = [ |
| 13 ":child_sources", | 15 ":child_sources", |
| 14 ] | 16 ] |
| 15 if (!is_android) { | 17 if (!is_android) { |
| 16 public_deps += [ | 18 public_deps += [ "//content/gpu" ] |
| 17 "//content/gpu", | 19 } |
| 18 "//content/ppapi_plugin", | 20 if (enable_plugins) { |
| 19 ] | 21 public_deps += [ "//content/ppapi_plugin" ] |
| 20 } | 22 } |
| 21 } | 23 } |
| 22 } | 24 } |
| 23 | 25 |
| 24 source_set("child_sources") { | 26 source_set("child_sources") { |
| 25 # External code should depend in via ":child" above. | 27 # External code should depend in via ":child" above. |
| 26 visibility = [ "//content/*" ] | 28 visibility = [ "//content/*" ] |
| 27 | 29 |
| 28 sources = [ | 30 sources = [ |
| 29 "child_thread.h", | 31 "child_thread.h", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 46 "//content/public/common:common_sources", | 48 "//content/public/common:common_sources", |
| 47 "//gin", | 49 "//gin", |
| 48 ] | 50 ] |
| 49 | 51 |
| 50 allow_circular_includes_from = [ | 52 allow_circular_includes_from = [ |
| 51 # This target is a pair with content/child. They always go together and | 53 # This target is a pair with content/child. They always go together and |
| 52 # include headers from each other. | 54 # include headers from each other. |
| 53 "//content/child", | 55 "//content/child", |
| 54 ] | 56 ] |
| 55 } | 57 } |
| OLD | NEW |