| 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 # Only the public target should depend on this. All other targets (even | 10 # Only the public target should depend on this. All other targets (even |
| 11 # internal content ones) should depend on the public one. | 11 # internal content ones) should depend on the public one. |
| 12 visibility = [ "//content/public/plugin:plugin_sources" ] | 12 visibility = [ "//content/public/plugin:plugin_sources" ] |
| 13 | 13 |
| 14 sources = [ | 14 sources = [ |
| 15 "plugin_channel.cc", | 15 "plugin_channel.cc", |
| 16 "plugin_channel.h", | 16 "plugin_channel.h", |
| 17 "plugin_interpose_util_mac.h", |
| 17 "plugin_interpose_util_mac.mm", | 18 "plugin_interpose_util_mac.mm", |
| 18 "plugin_interpose_util_mac.h", | |
| 19 "plugin_main.cc", | 19 "plugin_main.cc", |
| 20 "plugin_main_mac.mm", | 20 "plugin_main_mac.mm", |
| 21 "plugin_thread.cc", | 21 "plugin_thread.cc", |
| 22 "plugin_thread.h", | 22 "plugin_thread.h", |
| 23 "webplugin_accelerated_surface_proxy_mac.cc", | 23 "webplugin_accelerated_surface_proxy_mac.cc", |
| 24 "webplugin_accelerated_surface_proxy_mac.h", | 24 "webplugin_accelerated_surface_proxy_mac.h", |
| 25 "webplugin_delegate_stub.cc", | 25 "webplugin_delegate_stub.cc", |
| 26 "webplugin_delegate_stub.h", | 26 "webplugin_delegate_stub.h", |
| 27 "webplugin_proxy.cc", | 27 "webplugin_proxy.cc", |
| 28 "webplugin_proxy.h", | 28 "webplugin_proxy.h", |
| 29 ] | 29 ] |
| 30 | 30 |
| 31 configs += [ "//content:content_implementation" ] | 31 configs += [ "//content:content_implementation" ] |
| 32 | 32 |
| 33 deps = [ | 33 deps = [ |
| 34 "//content:export", | 34 "//content:export", |
| 35 "//skia", | 35 "//skia", |
| 36 "//third_party/mojo/src/mojo/public/interfaces/application", | 36 "//third_party/mojo/src/mojo/public/interfaces/application", |
| 37 "//third_party/npapi", | 37 "//third_party/npapi", |
| 38 "//third_party/WebKit/public:blink", | 38 "//third_party/WebKit/public:blink", |
| 39 ] | 39 ] |
| 40 } | 40 } |
| 41 } else { | 41 } else { |
| 42 # This way it can be unconditionally depended on. | 42 # This way it can be unconditionally depended on. |
| 43 group("plugin") { | 43 group("plugin") { |
| 44 } | 44 } |
| 45 } | 45 } |
| OLD | NEW |