OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 'target_name': 'plugins', | 8 'target_name': 'plugins', |
9 'type': '<(component)', | 9 'type': '<(component)', |
10 'defines': [ | 10 'defines': [ |
(...skipping 28 matching lines...) Expand all Loading... |
39 '<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common', | 39 '<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common', |
40 '<(DEPTH)/webkit/glue/webkit_glue_common.gyp:glue_common', | 40 '<(DEPTH)/webkit/glue/webkit_glue_common.gyp:glue_common', |
41 '<(DEPTH)/webkit/plugins/webkit_plugins.gyp:plugins_common', | 41 '<(DEPTH)/webkit/plugins/webkit_plugins.gyp:plugins_common', |
42 '<(DEPTH)/webkit/renderer/compositor_bindings/compositor_bindings.gyp:we
bkit_compositor_support', | 42 '<(DEPTH)/webkit/renderer/compositor_bindings/compositor_bindings.gyp:we
bkit_compositor_support', |
43 '<(DEPTH)/webkit/storage_common.gyp:webkit_storage_common', | 43 '<(DEPTH)/webkit/storage_common.gyp:webkit_storage_common', |
44 ], | 44 ], |
45 'sources': [ | 45 'sources': [ |
46 # This list contains all .h, .cc, and .mm files in glue except for | 46 # This list contains all .h, .cc, and .mm files in glue except for |
47 # those in the test subdirectory and those with unittest in in their | 47 # those in the test subdirectory and those with unittest in in their |
48 # names. | 48 # names. |
49 '../plugins/npapi/gtk_plugin_container.cc', | |
50 '../plugins/npapi/gtk_plugin_container.h', | |
51 '../plugins/npapi/gtk_plugin_container_manager.cc', | |
52 '../plugins/npapi/gtk_plugin_container_manager.h', | |
53 '../plugins/npapi/plugin_host.cc', | |
54 '../plugins/npapi/plugin_host.h', | |
55 '../plugins/npapi/plugin_instance.cc', | |
56 '../plugins/npapi/plugin_instance.h', | |
57 '../plugins/npapi/plugin_instance_mac.mm', | |
58 '../plugins/npapi/plugin_lib.cc', | |
59 '../plugins/npapi/plugin_lib.h', | |
60 '../plugins/npapi/plugin_stream.cc', | |
61 '../plugins/npapi/plugin_stream.h', | |
62 '../plugins/npapi/plugin_stream_posix.cc', | |
63 '../plugins/npapi/plugin_stream_url.cc', | |
64 '../plugins/npapi/plugin_stream_url.h', | |
65 '../plugins/npapi/plugin_stream_win.cc', | |
66 '../plugins/npapi/plugin_string_stream.cc', | |
67 '../plugins/npapi/plugin_string_stream.h', | |
68 '../plugins/npapi/plugin_web_event_converter_mac.h', | |
69 '../plugins/npapi/plugin_web_event_converter_mac.mm', | |
70 '../plugins/npapi/webplugin.cc', | |
71 '../plugins/npapi/webplugin.h', | |
72 '../plugins/npapi/webplugin_accelerated_surface_mac.h', | |
73 '../plugins/npapi/webplugin_delegate.h', | |
74 '../plugins/npapi/webplugin_delegate_impl.cc', | |
75 '../plugins/npapi/webplugin_delegate_impl.h', | |
76 '../plugins/npapi/webplugin_delegate_impl_android.cc', | |
77 '../plugins/npapi/webplugin_delegate_impl_aura.cc', | |
78 '../plugins/npapi/webplugin_delegate_impl_gtk.cc', | |
79 '../plugins/npapi/webplugin_delegate_impl_mac.mm', | |
80 '../plugins/npapi/webplugin_delegate_impl_win.cc', | |
81 '../plugins/npapi/webplugin_ime_win.cc', | |
82 '../plugins/npapi/webplugin_ime_win.h', | |
83 '../plugins/npapi/webplugin_impl.cc', | |
84 '../plugins/npapi/webplugin_impl.h', | |
85 '../plugins/ppapi/audio_helper.cc', | 49 '../plugins/ppapi/audio_helper.cc', |
86 '../plugins/ppapi/audio_helper.h', | 50 '../plugins/ppapi/audio_helper.h', |
87 '../plugins/ppapi/common.h', | 51 '../plugins/ppapi/common.h', |
88 '../plugins/ppapi/content_decryptor_delegate.cc', | 52 '../plugins/ppapi/content_decryptor_delegate.cc', |
89 '../plugins/ppapi/content_decryptor_delegate.h', | 53 '../plugins/ppapi/content_decryptor_delegate.h', |
90 '../plugins/ppapi/event_conversion.cc', | 54 '../plugins/ppapi/event_conversion.cc', |
91 '../plugins/ppapi/event_conversion.h', | 55 '../plugins/ppapi/event_conversion.h', |
92 '../plugins/ppapi/fullscreen_container.h', | 56 '../plugins/ppapi/fullscreen_container.h', |
93 '../plugins/ppapi/gfx_conversion.h', | 57 '../plugins/ppapi/gfx_conversion.h', |
94 '../plugins/ppapi/host_array_buffer_var.cc', | 58 '../plugins/ppapi/host_array_buffer_var.cc', |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 '../plugins/ppapi/usb_key_code_conversion_linux.cc', | 127 '../plugins/ppapi/usb_key_code_conversion_linux.cc', |
164 '../plugins/ppapi/usb_key_code_conversion_mac.cc', | 128 '../plugins/ppapi/usb_key_code_conversion_mac.cc', |
165 '../plugins/ppapi/usb_key_code_conversion_win.cc', | 129 '../plugins/ppapi/usb_key_code_conversion_win.cc', |
166 '../plugins/ppapi/v8_var_converter.cc', | 130 '../plugins/ppapi/v8_var_converter.cc', |
167 '../plugins/ppapi/v8_var_converter.h', | 131 '../plugins/ppapi/v8_var_converter.h', |
168 '../plugins/sad_plugin.cc', | 132 '../plugins/sad_plugin.cc', |
169 '../plugins/sad_plugin.h', | 133 '../plugins/sad_plugin.h', |
170 '../plugins/webkit_plugins_export.h', | 134 '../plugins/webkit_plugins_export.h', |
171 ], | 135 ], |
172 'conditions': [ | 136 'conditions': [ |
173 ['toolkit_uses_gtk == 1', { | |
174 'dependencies': [ | |
175 '<(DEPTH)/build/linux/system.gyp:gtk', | |
176 ], | |
177 'sources/': [['exclude', '_x11\\.cc$']], | |
178 }], | |
179 ['use_aura==1', { | |
180 'sources/': [ | |
181 ['exclude', '^\\.\\./plugins/npapi/webplugin_delegate_impl_mac.mm'], | |
182 ], | |
183 }], | |
184 ['use_aura==1 and OS=="win"', { | |
185 'sources/': [ | |
186 ['exclude', '^\\.\\./plugins/npapi/webplugin_delegate_impl_aura'], | |
187 ], | |
188 }], | |
189 ['OS!="mac"', { | |
190 'sources/': [['exclude', '_mac\\.(cc|mm)$']], | |
191 }, { # else: OS=="mac" | |
192 'link_settings': { | |
193 'libraries': [ | |
194 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
195 ], | |
196 }, | |
197 }], | |
198 ['enable_gpu!=1', { | 137 ['enable_gpu!=1', { |
199 'sources!': [ | 138 'sources!': [ |
200 '../plugins/ppapi/ppb_graphics_3d_impl.cc', | 139 '../plugins/ppapi/ppb_graphics_3d_impl.cc', |
201 '../plugins/ppapi/ppb_graphics_3d_impl.h', | 140 '../plugins/ppapi/ppb_graphics_3d_impl.h', |
202 '../plugins/ppapi/ppb_open_gl_es_impl.cc', | 141 '../plugins/ppapi/ppb_open_gl_es_impl.cc', |
203 ], | 142 ], |
204 }], | 143 }], |
205 ['OS!="win"', { | 144 ['OS!="win"', { |
206 'sources/': [['exclude', '_win\\.cc$']], | 145 'sources/': [['exclude', '_win\\.cc$']], |
207 }, { # else: OS=="win" | 146 }, { # else: OS=="win" |
208 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 147 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
209 'msvs_disabled_warnings': [ 4800, 4267 ], | 148 'msvs_disabled_warnings': [ 4800, 4267 ], |
210 'sources/': [['exclude', '_posix\\.cc$']], | 149 'sources/': [['exclude', '_posix\\.cc$']], |
211 'include_dirs': [ | 150 'include_dirs': [ |
212 '<(DEPTH)/third_party/wtl/include', | 151 '<(DEPTH)/third_party/wtl/include', |
213 ], | 152 ], |
214 }], | 153 }], |
215 ], | 154 ], |
216 }, | 155 }, |
217 ] | 156 ] |
218 } | 157 } |
OLD | NEW |