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 |
(...skipping 14 matching lines...) Expand all Loading... |
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 "//content/child", |
35 "//content/public/common:common_sources", | 36 "//content/public/common:common_sources", |
36 "//mojo/shell/public/interfaces", | 37 "//mojo/shell/public/interfaces", |
37 "//skia", | 38 "//skia", |
38 "//third_party/WebKit/public:blink", | 39 "//third_party/WebKit/public:blink", |
39 "//third_party/npapi", | 40 "//third_party/npapi", |
| 41 "//ui/gfx", |
| 42 "//ui/surface", |
40 ] | 43 ] |
| 44 |
| 45 if (is_win) { |
| 46 deps += [ "//sandbox" ] |
| 47 } |
41 } | 48 } |
42 } else { | 49 } else { |
43 # This way it can be unconditionally depended on. | 50 # This way it can be unconditionally depended on. |
44 group("plugin") { | 51 group("plugin") { |
45 } | 52 } |
46 } | 53 } |
OLD | NEW |