Call ChildThread::Shutdown in PpapiThread::Shutdown.
[chromium-blink-merge.git] / content / plugin / BUILD.gn
blob80c429589abd3d2f2e8ce516ea8da105781085ab
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     visibility = "//content/*"
11     sources = [
12       "plugin_channel.cc",
13       "plugin_channel.h",
14       "plugin_interpose_util_mac.mm",
15       "plugin_interpose_util_mac.h",
16       "plugin_main.cc",
17       "plugin_main_mac.mm",
18       "plugin_thread.cc",
19       "plugin_thread.h",
20       "webplugin_accelerated_surface_proxy_mac.cc",
21       "webplugin_accelerated_surface_proxy_mac.h",
22       "webplugin_delegate_stub.cc",
23       "webplugin_delegate_stub.h",
24       "webplugin_proxy.cc",
25       "webplugin_proxy.h",
26     ]
28     configs += [ "//content:content_implementation" ]
30     deps = [
31       "//content:export",
32       "//mojo/public/interfaces/application",
33       "//skia",
34       "//third_party/npapi",
35       "//third_party/WebKit/public:blink",
36     ]
37   }
38 } else {
39   # This way it can be unconditionally depended on.
40   group("plugin") {
41   }