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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/child/child.gni") | 7 import("//content/child/child.gni") |
8 | 8 |
9 source_set("child") { | 9 source_set("child") { |
10 # Targets external to content should always link to the public API. | 10 # Targets external to content should always link to the public API. |
11 # Internal targets can link to this but only if they're child processes | 11 # Internal targets can link to this but only if they're child processes |
12 # (i.e. not content/browser or content/common) and only if they're inside the | 12 # (i.e. not content/browser or content/common) and only if they're inside the |
13 # content component (i.e. not content/test or content/shell). | 13 # content component (i.e. not content/test or content/shell). |
14 visibility = [ | 14 visibility = [ |
15 ":*", | 15 ":*", |
16 "//content/gpu/*", | 16 "//content/gpu/*", |
17 "//content/ppapi_plugin/*", | 17 "//content/ppapi_plugin/*", |
18 "//content/public/child:child_sources", | 18 "//content/public/child:child_sources", |
19 "//content/renderer/*", | 19 "//content/renderer/*", |
20 "//content/utility/*", | 20 "//content/utility/*", |
| 21 "//tools/ipc_fuzzer/*", |
21 ] | 22 ] |
22 | 23 |
23 sources = rebase_path(content_child_gypi_values.private_child_sources, | 24 sources = rebase_path(content_child_gypi_values.private_child_sources, |
24 ".", | 25 ".", |
25 "//content") | 26 "//content") |
26 | 27 |
27 configs += [ | 28 configs += [ |
28 "//build/config:precompiled_headers", | 29 "//build/config:precompiled_headers", |
29 "//content/public/common:mojo_shell_client", | 30 "//content/public/common:mojo_shell_client", |
30 ] | 31 ] |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 90 |
90 # See comment at the top of //content/BUILD.gn for how this works. | 91 # See comment at the top of //content/BUILD.gn for how this works. |
91 group("for_content_tests") { | 92 group("for_content_tests") { |
92 visibility = [ "//content/test/*" ] | 93 visibility = [ "//content/test/*" ] |
93 if (!is_component_build) { | 94 if (!is_component_build) { |
94 public_deps = [ | 95 public_deps = [ |
95 ":child", | 96 ":child", |
96 ] | 97 ] |
97 } | 98 } |
98 } | 99 } |
OLD | NEW |