Start not emphasing http and https for light theme
[chromium-blink-merge.git] / content / plugin / BUILD.gn
blobfec2ab79ffd801eb72fee5863d534c9a5da6c9bb
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.mm",
18       "plugin_interpose_util_mac.h",
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       "//skia",
36       "//third_party/mojo/src/mojo/public/interfaces/application",
37       "//third_party/npapi",
38       "//third_party/WebKit/public:blink",
39     ]
40   }
41 } else {
42   # This way it can be unconditionally depended on.
43   group("plugin") {
44   }