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