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 # Only the public target should depend on this. All other targets (even |
11 # Internal targets can link to this but only if they're child processes | 11 # internal content ones) should depend on the public one. |
12 # (i.e. not content/browser or content/common) and only if they're inside the | 12 visibility = [ "//content/public/child:child_sources" ] |
13 # content component (i.e. not content/test or content/shell). | |
14 visibility = [ | |
15 "//content/gpu/*", | |
16 "//content/plugin/*", | |
17 "//content/ppapi_plugin/*", | |
18 "//content/public/child:child_sources", | |
19 "//content/renderer/*", | |
20 "//content/utility/*", | |
21 ] | |
22 | 13 |
23 sources = rebase_path(content_child_gypi_values.private_child_sources, | 14 sources = rebase_path(content_child_gypi_values.private_child_sources, |
24 ".", | 15 ".", |
25 "//content") | 16 "//content") |
26 | 17 |
27 configs += [ | 18 configs += [ |
28 "//build/config:precompiled_headers", | 19 "//build/config:precompiled_headers", |
29 "//content/public/common:mojo_shell_client", | 20 "//content/public/common:mojo_shell_client", |
30 ] | 21 ] |
31 | 22 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 109 |
119 if (use_aura && is_mac) { | 110 if (use_aura && is_mac) { |
120 # This file is already excluded on non-Mac. | 111 # This file is already excluded on non-Mac. |
121 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 112 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
122 } | 113 } |
123 | 114 |
124 if (is_win || !use_aura) { | 115 if (is_win || !use_aura) { |
125 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 116 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
126 } | 117 } |
127 } | 118 } |
OLD | NEW |