| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/features.gni") | |
| 6 | |
| 7 # This is the NPAPI plugin process. It isn't used on Linux. | |
| 8 if (enable_plugins && !is_linux) { | |
| 9 source_set("plugin") { | |
| 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 | |
| 14 sources = [ | |
| 15 "plugin_channel.cc", | |
| 16 "plugin_channel.h", | |
| 17 "plugin_interpose_util_mac.h", | |
| 18 "plugin_interpose_util_mac.mm", | |
| 19 "plugin_main.cc", | |
| 20 "plugin_main_mac.mm", | |
| 21 "plugin_thread.cc", | |
| 22 "plugin_thread.h", | |
| 23 "webplugin_accelerated_surface_proxy_mac.cc", | |
| 24 "webplugin_accelerated_surface_proxy_mac.h", | |
| 25 "webplugin_delegate_stub.cc", | |
| 26 "webplugin_delegate_stub.h", | |
| 27 "webplugin_proxy.cc", | |
| 28 "webplugin_proxy.h", | |
| 29 ] | |
| 30 | |
| 31 configs += [ "//content:content_implementation" ] | |
| 32 | |
| 33 deps = [ | |
| 34 "//content:export", | |
| 35 "//content/child", | |
| 36 "//content/public/common:common_sources", | |
| 37 "//mojo/shell/public/interfaces", | |
| 38 "//skia", | |
| 39 "//third_party/WebKit/public:blink", | |
| 40 "//third_party/npapi", | |
| 41 "//ui/gfx", | |
| 42 "//ui/surface", | |
| 43 ] | |
| 44 | |
| 45 if (is_win) { | |
| 46 deps += [ "//sandbox" ] | |
| 47 } | |
| 48 } | |
| 49 } else { | |
| 50 # This way it can be unconditionally depended on. | |
| 51 group("plugin") { | |
| 52 } | |
| 53 } | |
| OLD | NEW |