| 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 | 6 |
| 7 # This is the NPAPI plugin process. It isn't used on Linux. | 7 # This is the NPAPI plugin process. It isn't used on Linux. |
| 8 if (enable_plugins && !is_linux) { | 8 if (enable_plugins && !is_linux) { |
| 9 source_set("plugin") { | 9 source_set("plugin") { |
| 10 visibility = [ "//content/*" ] | 10 # Only the public target should depend on this. All other targets (even |
| 11 # internal content ones) should depend on the public one. |
| 12 visibility = [ "//content/public/plugin:plugin_sources" ] |
| 13 |
| 11 sources = [ | 14 sources = [ |
| 12 "plugin_channel.cc", | 15 "plugin_channel.cc", |
| 13 "plugin_channel.h", | 16 "plugin_channel.h", |
| 14 "plugin_interpose_util_mac.mm", | 17 "plugin_interpose_util_mac.mm", |
| 15 "plugin_interpose_util_mac.h", | 18 "plugin_interpose_util_mac.h", |
| 16 "plugin_main.cc", | 19 "plugin_main.cc", |
| 17 "plugin_main_mac.mm", | 20 "plugin_main_mac.mm", |
| 18 "plugin_thread.cc", | 21 "plugin_thread.cc", |
| 19 "plugin_thread.h", | 22 "plugin_thread.h", |
| 20 "webplugin_accelerated_surface_proxy_mac.cc", | 23 "webplugin_accelerated_surface_proxy_mac.cc", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 "//skia", | 36 "//skia", |
| 34 "//third_party/npapi", | 37 "//third_party/npapi", |
| 35 "//third_party/WebKit/public:blink", | 38 "//third_party/WebKit/public:blink", |
| 36 ] | 39 ] |
| 37 } | 40 } |
| 38 } else { | 41 } else { |
| 39 # This way it can be unconditionally depended on. | 42 # This way it can be unconditionally depended on. |
| 40 group("plugin") { | 43 group("plugin") { |
| 41 } | 44 } |
| 42 } | 45 } |
| OLD | NEW |