| 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 "//content/gpu/*", | 15 "//content/gpu/*", |
| 16 "//content/plugin/*", | |
| 17 "//content/ppapi_plugin/*", | 16 "//content/ppapi_plugin/*", |
| 18 "//content/public/child:child_sources", | 17 "//content/public/child:child_sources", |
| 19 "//content/renderer/*", | 18 "//content/renderer/*", |
| 20 "//content/utility/*", | 19 "//content/utility/*", |
| 21 ] | 20 ] |
| 22 | 21 |
| 23 sources = rebase_path(content_child_gypi_values.private_child_sources, | 22 sources = rebase_path(content_child_gypi_values.private_child_sources, |
| 24 ".", | 23 ".", |
| 25 "//content") | 24 "//content") |
| 26 | 25 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 118 |
| 120 if (use_aura && is_mac) { | 119 if (use_aura && is_mac) { |
| 121 # This file is already excluded on non-Mac. | 120 # This file is already excluded on non-Mac. |
| 122 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 121 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
| 123 } | 122 } |
| 124 | 123 |
| 125 if (is_win || !use_aura) { | 124 if (is_win || !use_aura) { |
| 126 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 125 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
| 127 } | 126 } |
| 128 } | 127 } |
| OLD | NEW |