OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //components/plugins/common | 8 # GN version: //components/plugins/common |
9 'target_name': 'plugins_common', | 9 'target_name': 'plugins_common', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 18 matching lines...) Expand all Loading... |
29 '../skia/skia.gyp:skia', | 29 '../skia/skia.gyp:skia', |
30 '../third_party/WebKit/public/blink.gyp:blink', | 30 '../third_party/WebKit/public/blink.gyp:blink', |
31 '../third_party/re2/re2.gyp:re2', | 31 '../third_party/re2/re2.gyp:re2', |
32 '../v8/tools/gyp/v8.gyp:v8', | 32 '../v8/tools/gyp/v8.gyp:v8', |
33 ], | 33 ], |
34 'include_dirs': [ | 34 'include_dirs': [ |
35 '..', | 35 '..', |
36 ], | 36 ], |
37 'sources': [ | 37 'sources': [ |
38 # Note: sources list duplicated in GN build. | 38 # Note: sources list duplicated in GN build. |
39 'plugins/renderer/loadable_plugin_placeholder.cc', | |
40 'plugins/renderer/loadable_plugin_placeholder.h', | |
41 'plugins/renderer/plugin_placeholder.cc', | 39 'plugins/renderer/plugin_placeholder.cc', |
42 'plugins/renderer/plugin_placeholder.h', | 40 'plugins/renderer/plugin_placeholder.h', |
43 'plugins/renderer/webview_plugin.cc', | 41 'plugins/renderer/webview_plugin.cc', |
44 'plugins/renderer/webview_plugin.h', | 42 'plugins/renderer/webview_plugin.h', |
45 ], | 43 ], |
46 'conditions' : [ | 44 'conditions' : [ |
| 45 ['enable_plugins==1', { |
| 46 'sources': [ |
| 47 # Note: sources list duplicated in GN build. |
| 48 'plugins/renderer/loadable_plugin_placeholder.cc', |
| 49 'plugins/renderer/loadable_plugin_placeholder.h', |
| 50 ] |
| 51 }], |
47 ['OS=="android"', { | 52 ['OS=="android"', { |
48 'sources': [ | 53 'sources': [ |
49 # Note: sources list duplicated in GN build. | 54 # Note: sources list duplicated in GN build. |
50 'plugins/renderer/mobile_youtube_plugin.cc', | 55 'plugins/renderer/mobile_youtube_plugin.cc', |
51 'plugins/renderer/mobile_youtube_plugin.h', | 56 'plugins/renderer/mobile_youtube_plugin.h', |
52 ] | 57 ] |
53 }], | 58 }], |
54 ], | 59 ], |
55 }, | 60 }, |
56 ], | 61 ], |
57 }], | 62 }], |
58 ], | 63 ], |
59 } | 64 } |
OLD | NEW |