Refactor WebsiteSettings to operate on a SecurityInfo
[chromium-blink-merge.git] / content / plugin / BUILD.gn
blob32b6e03ef49605cb135d104337ad55bb4c63a6c6
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.
5 import("//build/config/features.gni")
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" ]
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     ]
31     configs += [ "//content:content_implementation" ]
33     deps = [
34       "//content:export",
35       "//content/public/common:common_sources",
36       "//mojo/application/public/interfaces",
37       "//skia",
38       "//third_party/npapi",
39       "//third_party/WebKit/public:blink",
40     ]
41   }
42 } else {
43   # This way it can be unconditionally depended on.
44   group("plugin") {
45   }