OLD | NEW |
1 # Copyright (c) 2012 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. | |
4 | |
5 { | 1 { |
| 2 'variables': { |
| 3 'use_v4lplugin%': 0, |
| 4 'use_v4l2_codec%': 0, |
| 5 }, |
| 6 'defines': [ |
| 7 'MEDIA_GPU_IMPLEMENTATION' |
| 8 ], |
6 'dependencies': [ | 9 'dependencies': [ |
7 '../base/base.gyp:base', | 10 '../base/base.gyp:base', |
8 '../cc/cc.gyp:cc', | |
9 '../components/tracing.gyp:tracing', | |
10 '../device/bluetooth/bluetooth.gyp:device_bluetooth', | |
11 '../gpu/blink/gpu_blink.gyp:gpu_blink', | |
12 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', | |
13 '../gpu/gpu.gyp:command_buffer_service', | |
14 '../gpu/gpu.gyp:gles2_c_lib', | |
15 '../gpu/gpu.gyp:gles2_implementation', | |
16 | |
17 # TODO(markdittmer): This should be removed once content/common/gpu/media | |
18 # is refactored into media/ipc. | |
19 '../gpu/gpu.gyp:gpu_ipc_service', | |
20 | |
21 # TODO: the dependency on gl_in_process_context should be decoupled from | |
22 # content and moved to android_webview. See crbug.com/365797. | |
23 '../gpu/gpu.gyp:gl_in_process_context', | |
24 '../gpu/gpu.gyp:gpu', | 11 '../gpu/gpu.gyp:gpu', |
25 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings', | |
26 '../ipc/ipc.gyp:ipc', | |
27 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo', | |
28 '../media/media.gyp:media', | 12 '../media/media.gyp:media', |
29 '../media/media.gyp:shared_memory_support', | 13 '../ui/display/display.gyp:display_types', |
30 '../media/gpu/ipc/media_ipc.gyp:media_gpu_ipc_client', | |
31 '../media/gpu/ipc/media_ipc.gyp:media_gpu_ipc_common', | |
32 '../media/midi/midi.gyp:midi', | |
33 '../mojo/mojo_edk.gyp:mojo_system_impl', | |
34 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
35 '../net/net.gyp:net', | |
36 '../services/shell/shell.gyp:shell_public', | |
37 '../services/shell/shell.gyp:shell_runner_common_lib', | |
38 '../skia/skia.gyp:skia', | |
39 '../storage/storage_common.gyp:storage_common', | |
40 '../third_party/WebKit/public/blink.gyp:blink', | |
41 '../third_party/WebKit/public/blink_headers.gyp:blink_headers', | |
42 '../third_party/boringssl/boringssl.gyp:boringssl', | |
43 '../third_party/icu/icu.gyp:icuuc', | |
44 '../ui/accessibility/accessibility.gyp:accessibility', | |
45 '../ui/accessibility/accessibility.gyp:ax_gen', | |
46 '../ui/base/ime/ui_base_ime.gyp:ui_base_ime', | |
47 '../ui/base/ui_base.gyp:ui_base', | |
48 '../ui/latency_info/latency_info.gyp:latency_info_ipc', | |
49 '../ui/gfx/gfx.gyp:gfx', | |
50 '../ui/gfx/gfx.gyp:gfx_geometry', | 14 '../ui/gfx/gfx.gyp:gfx_geometry', |
51 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | |
52 '../ui/gfx/ipc/skia/gfx_ipc_skia.gyp:gfx_ipc_skia', | |
53 '../ui/gl/gl.gyp:gl', | 15 '../ui/gl/gl.gyp:gl', |
54 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', | 16 '../ui/platform_window/platform_window.gyp:platform_window', |
55 '../url/url.gyp:url_lib', | 17 ], |
56 '../url/ipc/url_ipc.gyp:url_ipc', | 18 'sources': [ |
57 'content.gyp:common_features', | 19 'gpu/fake_video_decode_accelerator.cc', |
58 'content_common_mojo_bindings.gyp:content_common_mojo_bindings', | 20 'gpu/fake_video_decode_accelerator.h', |
| 21 'gpu/gpu_video_decode_accelerator_helpers.h', |
| 22 'gpu/shared_memory_region.cc', |
| 23 'gpu/shared_memory_region.h', |
59 ], | 24 ], |
60 'include_dirs': [ | 25 'include_dirs': [ |
61 '..', | 26 '..', |
62 ], | 27 ], |
63 'actions': [ | |
64 { | |
65 'action_name': 'generate_webkit_version', | |
66 'inputs': [ | |
67 '<(script)', | |
68 '<(lastchange)', | |
69 '<(template)', | |
70 ], | |
71 'outputs': [ | |
72 '<(SHARED_INTERMEDIATE_DIR)/build/util/webkit_version.h', | |
73 ], | |
74 'action': ['python', | |
75 '<(script)', | |
76 '-f', '<(lastchange)', | |
77 '<(template)', | |
78 '<@(_outputs)', | |
79 ], | |
80 'variables': { | |
81 'script': '<(DEPTH)/build/util/version.py', | |
82 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink', | |
83 'template': '<(DEPTH)/build/util/webkit_version.h.in', | |
84 }, | |
85 }, | |
86 ], | |
87 'export_dependent_settings': [ | |
88 '../base/base.gyp:base', | |
89 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
90 '../services/shell/shell.gyp:shell_public', | |
91 # The public content API headers directly include Blink API headers, so we | |
92 # have to export the blink header settings so that relative paths in these | |
93 # headers resolve correctly. | |
94 '../third_party/WebKit/public/blink_headers.gyp:blink_headers', | |
95 '../ui/accessibility/accessibility.gyp:ax_gen', | |
96 ], | |
97 'variables': { | |
98 'use_v4lplugin%': 0, | |
99 'use_v4l2_codec%': 0, | |
100 'public_common_sources': [ | |
101 'public/common/appcache_info.h', | |
102 'public/common/bindings_policy.h', | |
103 'public/common/browser_plugin_guest_mode.cc', | |
104 'public/common/browser_plugin_guest_mode.h', | |
105 'public/common/browser_side_navigation_policy.cc', | |
106 'public/common/browser_side_navigation_policy.h', | |
107 'public/common/child_process_host.h', | |
108 'public/common/child_process_host_delegate.cc', | |
109 'public/common/child_process_host_delegate.h', | |
110 'public/common/child_process_sandbox_support_linux.h', | |
111 'public/common/color_suggestion.cc', | |
112 'public/common/color_suggestion.h', | |
113 'public/common/common_param_traits.cc', | |
114 'public/common/common_param_traits.h', | |
115 'public/common/common_param_traits_macros.h', | |
116 'public/common/console_message_level.h', | |
117 'public/common/content_client.cc', | |
118 'public/common/content_client.h', | |
119 'public/common/content_constants.cc', | |
120 'public/common/content_constants.h', | |
121 'public/common/content_descriptors.h', | |
122 'public/common/content_features.cc', | |
123 'public/common/content_features.h', | |
124 'public/common/content_ipc_logging.h', | |
125 'public/common/content_paths.h', | |
126 'public/common/content_switches.cc', | |
127 'public/common/content_switches.h', | |
128 'public/common/context_menu_params.cc', | |
129 'public/common/context_menu_params.h', | |
130 'public/common/drop_data.cc', | |
131 'public/common/drop_data.h', | |
132 'public/common/favicon_url.cc', | |
133 'public/common/favicon_url.h', | |
134 'public/common/file_chooser_file_info.cc', | |
135 'public/common/file_chooser_file_info.h', | |
136 'public/common/file_chooser_params.cc', | |
137 'public/common/file_chooser_params.h', | |
138 'public/common/frame_navigate_params.cc', | |
139 'public/common/frame_navigate_params.h', | |
140 'public/common/geoposition.cc', | |
141 'public/common/geoposition.h', | |
142 'public/common/injection_test_mac.h', | |
143 'public/common/injection_test_win.h', | |
144 'public/common/javascript_message_type.h', | |
145 'public/common/main_function_params.h', | |
146 'public/common/manifest.cc', | |
147 'public/common/manifest.h', | |
148 'public/common/media_metadata.cc', | |
149 'public/common/media_metadata.h', | |
150 'public/common/media_stream_request.cc', | |
151 'public/common/media_stream_request.h', | |
152 'public/common/menu_item.cc', | |
153 'public/common/menu_item.h', | |
154 'public/common/message_port_types.cc', | |
155 'public/common/message_port_types.h', | |
156 'public/common/mojo_channel_switches.cc', | |
157 'public/common/mojo_channel_switches.h', | |
158 'public/common/mojo_shell_connection.h', | |
159 'public/common/notification_resources.cc', | |
160 'public/common/notification_resources.h', | |
161 'public/common/origin_util.h', | |
162 'public/common/page_state.cc', | |
163 'public/common/page_state.h', | |
164 'public/common/page_type.h', | |
165 'public/common/page_zoom.h', | |
166 'public/common/pepper_plugin_info.cc', | |
167 'public/common/pepper_plugin_info.h', | |
168 'public/common/persistent_notification_status.h', | |
169 'public/common/platform_notification_data.cc', | |
170 'public/common/platform_notification_data.h', | |
171 'public/common/presentation_constants.cc', | |
172 'public/common/presentation_constants.h', | |
173 'public/common/process_type.h', | |
174 'public/common/push_messaging_status.cc', | |
175 'public/common/push_messaging_status.h', | |
176 'public/common/referrer.cc', | |
177 'public/common/referrer.h', | |
178 'public/common/renderer_preferences.cc', | |
179 'public/common/renderer_preferences.h', | |
180 'public/common/request_context_frame_type.h', | |
181 'public/common/request_context_type.h', | |
182 'public/common/resource_devtools_info.cc', | |
183 'public/common/resource_devtools_info.h', | |
184 'public/common/resource_response.cc', | |
185 'public/common/resource_response.h', | |
186 'public/common/resource_response_info.cc', | |
187 'public/common/resource_response_info.h', | |
188 'public/common/resource_type.cc', | |
189 'public/common/resource_type.h', | |
190 'public/common/result_codes.h', | |
191 'public/common/sandbox_init.h', | |
192 'public/common/sandbox_linux.h', | |
193 'public/common/sandbox_type.h', | |
194 'public/common/sandboxed_process_launcher_delegate.cc', | |
195 'public/common/sandboxed_process_launcher_delegate.h', | |
196 'public/common/security_style.h', | |
197 'public/common/send_zygote_child_ping_linux.h', | |
198 'public/common/service_registry.h', | |
199 'public/common/signed_certificate_timestamp_id_and_status.cc', | |
200 'public/common/signed_certificate_timestamp_id_and_status.h', | |
201 'public/common/speech_recognition_error.h', | |
202 'public/common/speech_recognition_grammar.h', | |
203 'public/common/speech_recognition_result.cc', | |
204 'public/common/speech_recognition_result.h', | |
205 'public/common/ssl_status.cc', | |
206 'public/common/ssl_status.h', | |
207 'public/common/stop_find_action.h', | |
208 'public/common/storage_quota_params.h', | |
209 'public/common/three_d_api_types.h', | |
210 'public/common/top_controls_state.h', | |
211 'public/common/transition_element.h', | |
212 'public/common/url_constants.cc', | |
213 'public/common/url_constants.h', | |
214 'public/common/url_fetcher.h', | |
215 'public/common/url_utils.cc', | |
216 'public/common/url_utils.h', | |
217 'public/common/user_agent.h', | |
218 'public/common/web_preferences.cc', | |
219 'public/common/web_preferences.h', | |
220 'public/common/webplugininfo.cc', | |
221 'public/common/webplugininfo.h', | |
222 'public/common/window_container_type.cc', | |
223 'public/common/window_container_type.h', | |
224 'public/common/zygote_fork_delegate_linux.h', | |
225 'public/common/zygote_handle.h', | |
226 ], | |
227 'private_common_sources': [ | |
228 'common/accelerated_surface_buffers_swapped_params_mac.cc', | |
229 'common/accelerated_surface_buffers_swapped_params_mac.h', | |
230 'common/accessibility_messages.h', | |
231 'common/all_messages.h', | |
232 'common/android/address_parser.cc', | |
233 'common/android/address_parser.h', | |
234 'common/android/address_parser_internal.cc', | |
235 'common/android/address_parser_internal.h', | |
236 'common/android/common_jni_registrar.cc', | |
237 'common/android/common_jni_registrar.h', | |
238 'common/android/gin_java_bridge_errors.cc', | |
239 'common/android/gin_java_bridge_errors.h', | |
240 'common/android/gin_java_bridge_value.cc', | |
241 'common/android/gin_java_bridge_value.h', | |
242 'common/android/hash_set.cc', | |
243 'common/android/hash_set.h', | |
244 'common/android/media_metadata_android.cc', | |
245 'common/android/media_metadata_android.h', | |
246 'common/android/sync_compositor_messages.cc', | |
247 'common/android/sync_compositor_messages.h', | |
248 'common/appcache_interfaces.cc', | |
249 'common/appcache_interfaces.h', | |
250 'common/appcache_messages.h', | |
251 'common/ax_content_node_data.cc', | |
252 'common/ax_content_node_data.h', | |
253 'common/bluetooth/bluetooth_device.cc', | |
254 'common/bluetooth/bluetooth_device.h', | |
255 'common/bluetooth/bluetooth_messages.h', | |
256 'common/bluetooth/bluetooth_scan_filter.cc', | |
257 'common/bluetooth/bluetooth_scan_filter.h', | |
258 'common/browser_plugin/browser_plugin_constants.cc', | |
259 'common/browser_plugin/browser_plugin_constants.h', | |
260 'common/browser_plugin/browser_plugin_messages.h', | |
261 'common/buffer_presented_params_mac.cc', | |
262 'common/buffer_presented_params_mac.h', | |
263 'common/cache_storage/cache_storage_messages.h', | |
264 'common/cache_storage/cache_storage_types.cc', | |
265 'common/cache_storage/cache_storage_types.h', | |
266 'common/cc_messages.cc', | |
267 'common/cc_messages.h', | |
268 'common/child_process_host_impl.cc', | |
269 'common/child_process_host_impl.h', | |
270 'common/child_process_messages.h', | |
271 'common/child_process_sandbox_support_impl_linux.cc', | |
272 'common/child_process_sandbox_support_impl_linux.h', | |
273 'common/child_process_sandbox_support_impl_shm_linux.cc', | |
274 'common/clipboard_format.h', | |
275 'common/clipboard_messages.h', | |
276 'common/content_constants_internal.cc', | |
277 'common/content_constants_internal.h', | |
278 'common/content_export.h', | |
279 'common/content_ipc_logging.cc', | |
280 'common/content_message_generator.cc', | |
281 'common/content_message_generator.h', | |
282 'common/content_param_traits.cc', | |
283 'common/content_param_traits.h', | |
284 'common/content_param_traits_macros.h', | |
285 'common/content_paths.cc', | |
286 'common/content_switches_internal.cc', | |
287 'common/content_switches_internal.h', | |
288 'common/cross_site_document_classifier.cc', | |
289 'common/cross_site_document_classifier.h', | |
290 'common/cursors/webcursor.cc', | |
291 'common/cursors/webcursor.h', | |
292 'common/cursors/webcursor_android.cc', | |
293 'common/cursors/webcursor_aura.cc', | |
294 'common/cursors/webcursor_aurawin.cc', | |
295 'common/cursors/webcursor_aurax11.cc', | |
296 'common/cursors/webcursor_mac.mm', | |
297 'common/cursors/webcursor_ozone.cc', | |
298 'common/database_messages.h', | |
299 'common/date_time_suggestion.h', | |
300 'common/device_sensors/device_light_data.h', | |
301 'common/device_sensors/device_light_hardware_buffer.h', | |
302 'common/device_sensors/device_light_messages.h', | |
303 'common/device_sensors/device_motion_hardware_buffer.h', | |
304 'common/device_sensors/device_motion_messages.h', | |
305 'common/device_sensors/device_orientation_hardware_buffer.h', | |
306 'common/device_sensors/device_orientation_messages.h', | |
307 'common/devtools_messages.h', | |
308 'common/discardable_shared_memory_heap.cc', | |
309 'common/discardable_shared_memory_heap.h', | |
310 'common/dom_storage/dom_storage_map.cc', | |
311 'common/dom_storage/dom_storage_map.h', | |
312 'common/dom_storage/dom_storage_messages.h', | |
313 'common/drag_event_source_info.h', | |
314 'common/drag_messages.h', | |
315 'common/drag_traits.h', | |
316 'common/dwrite_font_proxy_messages.h', | |
317 'common/edit_command.h', | |
318 'common/establish_channel_params.cc', | |
319 'common/establish_channel_params.h', | |
320 'common/file_utilities_messages.h', | |
321 'common/fileapi/file_system_messages.h', | |
322 'common/font_cache_dispatcher_win.cc', | |
323 'common/font_cache_dispatcher_win.h', | |
324 'common/font_config_ipc_linux.cc', | |
325 'common/font_config_ipc_linux.h', | |
326 'common/font_list.cc', | |
327 'common/font_list.h', | |
328 'common/font_list_android.cc', | |
329 'common/font_list_mac.mm', | |
330 'common/font_list_ozone.cc', | |
331 'common/font_list_pango.cc', | |
332 'common/font_list_win.cc', | |
333 'common/frame_message_enums.h', | |
334 'common/frame_messages.h', | |
335 'common/frame_replication_state.cc', | |
336 'common/frame_replication_state.h', | |
337 'common/gamepad_hardware_buffer.h', | |
338 'common/gamepad_messages.h', | |
339 'common/gamepad_param_traits.cc', | |
340 'common/gamepad_param_traits.h', | |
341 'common/gamepad_user_gesture.cc', | |
342 'common/gamepad_user_gesture.h', | |
343 'common/generic_shared_memory_id_generator.cc', | |
344 'common/generic_shared_memory_id_generator.h', | |
345 'common/geofencing_messages.h', | |
346 'common/geofencing_types.cc', | |
347 'common/geofencing_types.h', | |
348 'common/gin_java_bridge_messages.h', | |
349 'common/gpu/client/command_buffer_metrics.cc', | |
350 'common/gpu/client/command_buffer_metrics.h', | |
351 'common/gpu/client/context_provider_command_buffer.cc', | |
352 'common/gpu/client/context_provider_command_buffer.h', | |
353 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc', | |
354 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h', | |
355 'common/gpu/media/fake_video_decode_accelerator.cc', | |
356 'common/gpu/media/fake_video_decode_accelerator.h', | |
357 'common/gpu/media/gpu_jpeg_decode_accelerator.cc', | |
358 'common/gpu/media/gpu_jpeg_decode_accelerator.h', | |
359 'common/gpu/media/gpu_video_decode_accelerator.cc', | |
360 'common/gpu/media/gpu_video_decode_accelerator.h', | |
361 'common/gpu/media/gpu_video_decode_accelerator_factory_impl.cc', | |
362 'common/gpu/media/gpu_video_decode_accelerator_factory_impl.h', | |
363 'common/gpu/media/gpu_video_decode_accelerator_helpers.h', | |
364 'common/gpu/media/gpu_video_encode_accelerator.cc', | |
365 'common/gpu/media/gpu_video_encode_accelerator.h', | |
366 'common/gpu/media/media_channel.cc', | |
367 'common/gpu/media/media_channel.h', | |
368 'common/gpu/media/media_service.cc', | |
369 'common/gpu/media/media_service.h', | |
370 'common/gpu/media/shared_memory_region.cc', | |
371 'common/gpu/media/shared_memory_region.h', | |
372 'common/gpu_host_messages.h', | |
373 'common/gpu_process_launch_causes.h', | |
374 'common/host_discardable_shared_memory_manager.cc', | |
375 'common/host_discardable_shared_memory_manager.h', | |
376 'common/host_shared_bitmap_manager.cc', | |
377 'common/host_shared_bitmap_manager.h', | |
378 'common/in_process_child_thread_params.cc', | |
379 'common/in_process_child_thread_params.h', | |
380 'common/indexed_db/indexed_db_constants.h', | |
381 'common/indexed_db/indexed_db_key.cc', | |
382 'common/indexed_db/indexed_db_key.h', | |
383 'common/indexed_db/indexed_db_key_path.cc', | |
384 'common/indexed_db/indexed_db_key_path.h', | |
385 'common/indexed_db/indexed_db_key_range.cc', | |
386 'common/indexed_db/indexed_db_key_range.h', | |
387 'common/indexed_db/indexed_db_messages.h', | |
388 'common/indexed_db/indexed_db_param_traits.cc', | |
389 'common/indexed_db/indexed_db_param_traits.h', | |
390 'common/input/did_overscroll_params.cc', | |
391 'common/input/did_overscroll_params.h', | |
392 'common/input/event_with_latency_info.h', | |
393 'common/input/gesture_event_stream_validator.cc', | |
394 'common/input/gesture_event_stream_validator.h', | |
395 'common/input/input_event.cc', | |
396 'common/input/input_event.h', | |
397 'common/input/input_event_ack.cc', | |
398 'common/input/input_event_ack.h', | |
399 'common/input/input_event_dispatch_type.h', | |
400 'common/input/input_event_stream_validator.cc', | |
401 'common/input/input_event_stream_validator.h', | |
402 'common/input/input_event_utils.cc', | |
403 'common/input/input_event_utils.h', | |
404 'common/input/input_param_traits.cc', | |
405 'common/input/input_param_traits.h', | |
406 'common/input/scoped_web_input_event.cc', | |
407 'common/input/scoped_web_input_event.h', | |
408 'common/input/synthetic_gesture_packet.cc', | |
409 'common/input/synthetic_gesture_packet.h', | |
410 'common/input/synthetic_gesture_params.cc', | |
411 'common/input/synthetic_gesture_params.h', | |
412 'common/input/synthetic_pinch_gesture_params.cc', | |
413 'common/input/synthetic_pinch_gesture_params.h', | |
414 'common/input/synthetic_pointer_action_params.cc', | |
415 'common/input/synthetic_pointer_action_params.h', | |
416 'common/input/synthetic_smooth_drag_gesture_params.cc', | |
417 'common/input/synthetic_smooth_drag_gesture_params.h', | |
418 'common/input/synthetic_smooth_scroll_gesture_params.cc', | |
419 'common/input/synthetic_smooth_scroll_gesture_params.h', | |
420 'common/input/synthetic_tap_gesture_params.cc', | |
421 'common/input/synthetic_tap_gesture_params.h', | |
422 'common/input/synthetic_web_input_event_builders.cc', | |
423 'common/input/synthetic_web_input_event_builders.h', | |
424 'common/input/touch_event_stream_validator.cc', | |
425 'common/input/touch_event_stream_validator.h', | |
426 'common/input/web_input_event_queue.h', | |
427 'common/input/web_input_event_traits.cc', | |
428 'common/input/web_input_event_traits.h', | |
429 'common/input/web_touch_event_traits.cc', | |
430 'common/input/web_touch_event_traits.h', | |
431 'common/input_messages.h', | |
432 'common/inter_process_time_ticks_converter.cc', | |
433 'common/inter_process_time_ticks_converter.h', | |
434 'common/mac/attributed_string_coder.h', | |
435 'common/mac/attributed_string_coder.mm', | |
436 'common/mac/font_descriptor.h', | |
437 'common/mac/font_descriptor.mm', | |
438 'common/mac/font_loader.h', | |
439 'common/mac/font_loader.mm', | |
440 'common/manifest_manager_messages.h', | |
441 'common/media/aec_dump_messages.h', | |
442 'common/media/audio_messages.h', | |
443 'common/media/cdm_messages.h', | |
444 'common/media/cdm_messages_enums.h', | |
445 'common/media/media_param_traits.cc', | |
446 'common/media/media_param_traits.h', | |
447 'common/media/media_player_delegate_messages.h', | |
448 'common/media/media_player_messages_android.h', | |
449 'common/media/media_session_messages_android.h', | |
450 'common/media/media_stream_messages.h', | |
451 'common/media/media_stream_options.cc', | |
452 'common/media/media_stream_options.h', | |
453 'common/media/media_stream_track_metrics_host_messages.h', | |
454 'common/media/midi_messages.h', | |
455 'common/media/surface_view_manager_messages_android.h', | |
456 'common/media/video_capture.h', | |
457 'common/media/video_capture_messages.h', | |
458 'common/media/webrtc_identity_messages.h', | |
459 'common/memory_messages.h', | |
460 'common/message_port_messages.h', | |
461 'common/mime_registry_messages.h', | |
462 'common/mojo/channel_init.cc', | |
463 'common/mojo/channel_init.h', | |
464 'common/mojo/embedded_application_runner.cc', | |
465 'common/mojo/embedded_application_runner.h', | |
466 'common/mojo/mojo_messages.h', | |
467 'common/mojo/mojo_shell_connection_impl.cc', | |
468 'common/mojo/mojo_shell_connection_impl.h', | |
469 'common/mojo/service_registry_impl.cc', | |
470 'common/mojo/service_registry_impl.h', | |
471 'common/navigation_gesture.h', | |
472 'common/navigation_params.cc', | |
473 'common/navigation_params.h', | |
474 'common/net/url_fetcher.cc', | |
475 'common/net/url_request_service_worker_data.cc', | |
476 'common/net/url_request_service_worker_data.h', | |
477 'common/net/url_request_user_data.cc', | |
478 'common/net/url_request_user_data.h', | |
479 'common/notification_constants.h', | |
480 'common/one_writer_seqlock.cc', | |
481 'common/one_writer_seqlock.h', | |
482 'common/origin_trials/trial_token.cc', | |
483 'common/origin_trials/trial_token.h', | |
484 'common/origin_trials/trial_token_validator.cc', | |
485 'common/origin_trials/trial_token_validator.h', | |
486 'common/origin_util.cc', | |
487 'common/p2p_messages.h', | |
488 'common/page_state_serialization.cc', | |
489 'common/page_state_serialization.h', | |
490 'common/page_zoom.cc', | |
491 'common/pepper_file_util.cc', | |
492 'common/pepper_file_util.h', | |
493 'common/pepper_messages.h', | |
494 'common/pepper_plugin_list.cc', | |
495 'common/pepper_plugin_list.h', | |
496 'common/pepper_renderer_instance_data.cc', | |
497 'common/pepper_renderer_instance_data.h', | |
498 'common/platform_notification_messages.h', | |
499 'common/plugin_list.cc', | |
500 'common/plugin_list.h', | |
501 'common/power_monitor_messages.h', | |
502 'common/process_type.cc', | |
503 'common/push_messaging_messages.h', | |
504 'common/quota_messages.h', | |
505 'common/render_process_messages.h', | |
506 'common/resize_params.cc', | |
507 'common/resize_params.h', | |
508 'common/resource_messages.cc', | |
509 'common/resource_messages.h', | |
510 'common/resource_request_body.cc', | |
511 'common/resource_request_body.h', | |
512 'common/sandbox_init_mac.cc', | |
513 'common/sandbox_init_mac.h', | |
514 'common/sandbox_init_win.cc', | |
515 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc', | |
516 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h', | |
517 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc', | |
518 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h', | |
519 'common/sandbox_linux/bpf_gpu_policy_linux.cc', | |
520 'common/sandbox_linux/bpf_gpu_policy_linux.h', | |
521 'common/sandbox_linux/bpf_ppapi_policy_linux.cc', | |
522 'common/sandbox_linux/bpf_ppapi_policy_linux.h', | |
523 'common/sandbox_linux/bpf_renderer_policy_linux.cc', | |
524 'common/sandbox_linux/bpf_renderer_policy_linux.h', | |
525 'common/sandbox_linux/bpf_utility_policy_linux.cc', | |
526 'common/sandbox_linux/bpf_utility_policy_linux.h', | |
527 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', | |
528 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', | |
529 'common/sandbox_linux/sandbox_debug_handling_linux.cc', | |
530 'common/sandbox_linux/sandbox_debug_handling_linux.h', | |
531 'common/sandbox_linux/sandbox_init_linux.cc', | |
532 'common/sandbox_linux/sandbox_linux.cc', | |
533 'common/sandbox_linux/sandbox_linux.h', | |
534 'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc', | |
535 'common/sandbox_linux/sandbox_seccomp_bpf_linux.h', | |
536 'common/sandbox_mac.h', | |
537 'common/sandbox_mac.mm', | |
538 'common/sandbox_win.cc', | |
539 'common/sandbox_win.h', | |
540 'common/savable_subframe.h', | |
541 'common/savable_url_schemes.cc', | |
542 'common/savable_url_schemes.h', | |
543 'common/screen_orientation_messages.h', | |
544 'common/send_zygote_child_ping_linux.cc', | |
545 'common/service_worker/embedded_worker_messages.h', | |
546 'common/service_worker/embedded_worker_settings.h', | |
547 'common/service_worker/service_worker_client_info.cc', | |
548 'common/service_worker/service_worker_client_info.h', | |
549 'common/service_worker/service_worker_messages.h', | |
550 'common/service_worker/service_worker_status_code.cc', | |
551 'common/service_worker/service_worker_status_code.h', | |
552 'common/service_worker/service_worker_type_converters.cc', | |
553 'common/service_worker/service_worker_type_converters.h', | |
554 'common/service_worker/service_worker_types.cc', | |
555 'common/service_worker/service_worker_types.h', | |
556 'common/service_worker/service_worker_utils.cc', | |
557 'common/service_worker/service_worker_utils.h', | |
558 'common/set_process_title.cc', | |
559 'common/set_process_title.h', | |
560 'common/set_process_title_linux.cc', | |
561 'common/set_process_title_linux.h', | |
562 'common/site_isolation_policy.cc', | |
563 'common/site_isolation_policy.h', | |
564 'common/speech_recognition_messages.h', | |
565 'common/ssl_status_serialization.cc', | |
566 'common/ssl_status_serialization.h', | |
567 'common/swapped_out_messages.cc', | |
568 'common/swapped_out_messages.h', | |
569 'common/text_input_client_messages.h', | |
570 'common/url_schemes.cc', | |
571 'common/url_schemes.h', | |
572 'common/user_agent.cc', | |
573 'common/utility_messages.h', | |
574 'common/view_message_enums.h', | |
575 'common/view_messages.h', | |
576 'common/websocket.cc', | |
577 'common/websocket.h', | |
578 'common/websocket_messages.h', | |
579 'common/worker_messages.h', | |
580 'common/zygote_commands_linux.h', | |
581 ], | |
582 }, | |
583 'sources': [ | |
584 '<@(public_common_sources)', | |
585 '<@(private_common_sources)', | |
586 ], | |
587 'target_conditions': [ | |
588 ['OS=="android" and <(use_seccomp_bpf)==1', { | |
589 'sources/': [ | |
590 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$']
, | |
591 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'], | |
592 ], | |
593 }], | |
594 ], | |
595 'conditions': [ | 28 'conditions': [ |
596 ['OS=="mac"', { | 29 ['OS=="mac"', { |
597 'dependencies': [ | 30 'dependencies': [ |
598 '../media/media.gyp:media', | 31 '../media/media.gyp:media', |
599 '../sandbox/sandbox.gyp:seatbelt', | 32 '../content/app/resources/content_resources.gyp:content_resources', |
600 'app/resources/content_resources.gyp:content_resources', | |
601 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid
get_mac' | 33 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid
get_mac' |
602 ], | 34 ], |
603 'sources': [ | 35 'sources': [ |
604 'common/gpu/media/vt_mac.h', | 36 'gpu/vt_mac.h', |
605 'common/gpu/media/vt_video_decode_accelerator_mac.cc', | 37 'gpu/vt_video_decode_accelerator_mac.cc', |
606 'common/gpu/media/vt_video_decode_accelerator_mac.h', | 38 'gpu/vt_video_decode_accelerator_mac.h', |
607 'common/gpu/media/vt_video_encode_accelerator_mac.cc', | 39 'gpu/vt_video_encode_accelerator_mac.cc', |
608 'common/gpu/media/vt_video_encode_accelerator_mac.h', | 40 'gpu/vt_video_encode_accelerator_mac.h', |
609 ], | 41 ], |
610 'link_settings': { | 42 'link_settings': { |
611 'libraries': [ | 43 'libraries': [ |
612 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', | 44 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', |
613 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework', | 45 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework', |
614 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', | 46 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', |
615 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', | 47 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', |
616 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | 48 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
617 '$(SDKROOT)/usr/lib/libsandbox.dylib', | 49 '$(SDKROOT)/usr/lib/libsandbox.dylib', |
618 ], | 50 ], |
619 }, | 51 }, |
620 'variables': { | 52 'variables': { |
621 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 53 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
622 'extra_header': 'common/gpu/media/vt_stubs_header.fragment', | 54 'extra_header': 'gpu/vt_stubs_header.fragment', |
623 'sig_files': ['common/gpu/media/vt.sig'], | 55 'sig_files': ['gpu/vt.sig'], |
624 'outfile_type': 'posix_stubs', | 56 'outfile_type': 'posix_stubs', |
625 'stubs_filename_root': 'vt_stubs', | 57 'stubs_filename_root': 'vt_stubs', |
626 'project_path': 'content/common/gpu/media', | 58 'project_path': 'media/gpu', |
627 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 59 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
628 'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs', | 60 'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs', |
629 }, | 61 }, |
630 'include_dirs': [ | 62 'include_dirs': [ |
631 '<(output_root)', | 63 '<(output_root)', |
632 ], | 64 ], |
633 'actions': [ | 65 'actions': [ |
634 { | 66 { |
635 'action_name': 'generate_stubs', | 67 'action_name': 'generate_stubs', |
636 'inputs': [ | 68 'inputs': [ |
(...skipping 13 matching lines...) Expand all Loading... |
650 '-e', '<(extra_header)', | 82 '-e', '<(extra_header)', |
651 '-s', '<(stubs_filename_root)', | 83 '-s', '<(stubs_filename_root)', |
652 '-p', '<(project_path)', | 84 '-p', '<(project_path)', |
653 '<@(_inputs)', | 85 '<@(_inputs)', |
654 ], | 86 ], |
655 'process_outputs_as_sources': 1, | 87 'process_outputs_as_sources': 1, |
656 'message': 'Generating VideoToolbox stubs for dynamic loading', | 88 'message': 'Generating VideoToolbox stubs for dynamic loading', |
657 }, | 89 }, |
658 ], | 90 ], |
659 }], | 91 }], |
660 ['OS=="android"',{ | |
661 'link_settings': { | |
662 'libraries': [ | |
663 '-landroid', # ANativeWindow | |
664 ], | |
665 }, | |
666 'dependencies': [ | |
667 'content.gyp:content_jni_headers', | |
668 'content.gyp:common_aidl', | |
669 ], | |
670 }], | |
671 ['use_pango == 1', { | |
672 'dependencies': [ | |
673 '../build/linux/system.gyp:pangocairo', | |
674 ], | |
675 'sources!': [ | |
676 'common/font_list_ozone.cc', | |
677 ], | |
678 }], | |
679 ['use_x11 == 1', { | |
680 'include_dirs': [ | |
681 '<(DEPTH)/third_party/khronos', | |
682 ], | |
683 'dependencies': [ | |
684 '<(DEPTH)/build/linux/system.gyp:xcomposite', | |
685 ], | |
686 }], | |
687 ['enable_plugins==1', { | |
688 'dependencies': [ | |
689 '../ppapi/ppapi_internal.gyp:ppapi_shared', | |
690 ], | |
691 }, { # enable_plugins == 0 | |
692 'sources!': [ | |
693 'common/pepper_file_util.cc', | |
694 'common/pepper_file_util.h', | |
695 'common/pepper_messages.h', | |
696 'common/pepper_plugin_list.cc', | |
697 'common/pepper_plugin_list.h', | |
698 'common/pepper_renderer_instance_data.cc', | |
699 'common/pepper_renderer_instance_data.h', | |
700 'common/plugin_list.cc', | |
701 'common/plugin_list.h', | |
702 'public/common/pepper_plugin_info.cc', | |
703 'public/common/pepper_plugin_info.h', | |
704 ], | |
705 }], | |
706 ['OS=="android"', { | 92 ['OS=="android"', { |
707 'dependencies': [ | 93 'dependencies': [ |
708 '../media/media.gyp:media', | 94 '../media/media.gyp:media', |
709 ], | 95 ], |
710 'sources': [ | 96 'sources': [ |
711 'common/gpu/media/android_copying_backing_strategy.cc', | 97 'gpu/android_copying_backing_strategy.cc', |
712 'common/gpu/media/android_copying_backing_strategy.h', | 98 'gpu/android_copying_backing_strategy.h', |
713 'common/gpu/media/android_deferred_rendering_backing_strategy.cc', | 99 'gpu/android_deferred_rendering_backing_strategy.cc', |
714 'common/gpu/media/android_deferred_rendering_backing_strategy.h', | 100 'gpu/android_deferred_rendering_backing_strategy.h', |
715 'common/gpu/media/android_video_decode_accelerator.cc', | 101 'gpu/android_video_decode_accelerator.cc', |
716 'common/gpu/media/android_video_decode_accelerator.h', | 102 'gpu/android_video_decode_accelerator.h', |
717 'common/gpu/media/avda_codec_image.cc', | 103 'gpu/avda_codec_image.cc', |
718 'common/gpu/media/avda_codec_image.h', | 104 'gpu/avda_codec_image.h', |
719 'common/gpu/media/avda_return_on_failure.h', | 105 'gpu/avda_return_on_failure.h', |
720 'common/gpu/media/avda_shared_state.cc', | 106 'gpu/avda_shared_state.cc', |
721 'common/gpu/media/avda_shared_state.h', | 107 'gpu/avda_shared_state.h', |
722 'common/gpu/media/avda_state_provider.h', | 108 'gpu/avda_state_provider.h', |
723 ], | 109 ], |
724 }], | 110 }], |
725 ['OS=="android" and enable_webrtc==1', { | 111 ['OS=="android" and enable_webrtc==1', { |
726 'dependencies': [ | 112 'dependencies': [ |
727 '../third_party/libyuv/libyuv.gyp:libyuv', | 113 '../third_party/libyuv/libyuv.gyp:libyuv', |
728 ], | 114 ], |
729 'sources': [ | 115 'sources': [ |
730 'common/gpu/media/android_video_encode_accelerator.cc', | 116 'gpu/android_video_encode_accelerator.cc', |
731 'common/gpu/media/android_video_encode_accelerator.h', | 117 'gpu/android_video_encode_accelerator.h', |
732 ], | |
733 }], | |
734 ['enable_webrtc==1', { | |
735 'dependencies': [ | |
736 '../third_party/libjingle/libjingle.gyp:libjingle', | |
737 ], | |
738 'sources': [ | |
739 'public/common/webrtc_ip_handling_policy.cc', | |
740 'public/common/webrtc_ip_handling_policy.h', | |
741 ], | 118 ], |
742 }], | 119 }], |
743 ['use_v4lplugin==1 and chromeos==1', { | 120 ['use_v4lplugin==1 and chromeos==1', { |
744 'defines': [ | 121 'defines': [ |
745 'USE_LIBV4L2' | 122 'USE_LIBV4L2' |
746 ], | 123 ], |
747 'variables': { | 124 'variables': { |
748 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 125 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
749 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment', | 126 'extra_header': 'gpu/v4l2_stub_header.fragment', |
750 'sig_files': ['common/gpu/media/v4l2.sig'], | 127 'sig_files': ['gpu/v4l2.sig'], |
751 'outfile_type': 'posix_stubs', | 128 'outfile_type': 'posix_stubs', |
752 'stubs_filename_root': 'v4l2_stubs', | 129 'stubs_filename_root': 'v4l2_stubs', |
753 'project_path': 'content/common/gpu/media', | 130 'project_path': 'media/gpu', |
754 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 131 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
755 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2', | 132 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2', |
756 }, | 133 }, |
757 'include_dirs': [ | 134 'include_dirs': [ |
758 '<(output_root)', | 135 '<(output_root)', |
759 ], | 136 ], |
760 'actions': [ | 137 'actions': [ |
761 { | 138 { |
762 'action_name': 'generate_stubs', | 139 'action_name': 'generate_stubs', |
763 'inputs': [ | 140 'inputs': [ |
(...skipping 15 matching lines...) Expand all Loading... |
779 '-p', '<(project_path)', | 156 '-p', '<(project_path)', |
780 '<@(_inputs)', | 157 '<@(_inputs)', |
781 ], | 158 ], |
782 'process_outputs_as_sources': 1, | 159 'process_outputs_as_sources': 1, |
783 'message': 'Generating libv4l2 stubs for dynamic loading', | 160 'message': 'Generating libv4l2 stubs for dynamic loading', |
784 }, | 161 }, |
785 ], | 162 ], |
786 }], | 163 }], |
787 ['chromeos==1', { | 164 ['chromeos==1', { |
788 'sources': [ | 165 'sources': [ |
789 'common/gpu/media/accelerated_video_decoder.h', | 166 'gpu/accelerated_video_decoder.h', |
790 'common/gpu/media/h264_decoder.cc', | 167 'gpu/h264_decoder.cc', |
791 'common/gpu/media/h264_decoder.h', | 168 'gpu/h264_decoder.h', |
792 'common/gpu/media/h264_dpb.cc', | 169 'gpu/h264_dpb.cc', |
793 'common/gpu/media/h264_dpb.h', | 170 'gpu/h264_dpb.h', |
794 'common/gpu/media/vp8_decoder.cc', | 171 'gpu/vp8_decoder.cc', |
795 'common/gpu/media/vp8_decoder.h', | 172 'gpu/vp8_decoder.h', |
796 'common/gpu/media/vp8_picture.cc', | 173 'gpu/vp8_picture.cc', |
797 'common/gpu/media/vp8_picture.h', | 174 'gpu/vp8_picture.h', |
798 'common/gpu/media/vp9_decoder.cc', | 175 'gpu/vp9_decoder.cc', |
799 'common/gpu/media/vp9_decoder.h', | 176 'gpu/vp9_decoder.h', |
800 'common/gpu/media/vp9_picture.cc', | 177 'gpu/vp9_picture.cc', |
801 'common/gpu/media/vp9_picture.h', | 178 'gpu/vp9_picture.h', |
802 ], | 179 ], |
803 }], | 180 }], |
804 ['chromeos==1 and use_v4l2_codec==1', { | 181 ['chromeos==1 and use_v4l2_codec==1', { |
805 'direct_dependent_settings': { | 182 'direct_dependent_settings': { |
806 'defines': [ | 183 'defines': [ |
807 'USE_V4L2_CODEC' | 184 'USE_V4L2_CODEC' |
808 ], | 185 ], |
809 }, | 186 }, |
810 'defines': [ | 187 'defines': [ |
811 'USE_V4L2_CODEC' | 188 'USE_V4L2_CODEC' |
812 ], | 189 ], |
813 'dependencies': [ | 190 'dependencies': [ |
814 '../media/media.gyp:media', | 191 '../media/media.gyp:media', |
815 '../third_party/libyuv/libyuv.gyp:libyuv', | 192 '../third_party/libyuv/libyuv.gyp:libyuv', |
816 ], | 193 ], |
817 'sources': [ | 194 'sources': [ |
818 'common/gpu/media/generic_v4l2_device.cc', | 195 'gpu/generic_v4l2_device.cc', |
819 'common/gpu/media/generic_v4l2_device.h', | 196 'gpu/generic_v4l2_device.h', |
820 'common/gpu/media/v4l2_device.cc', | 197 'gpu/v4l2_device.cc', |
821 'common/gpu/media/v4l2_device.h', | 198 'gpu/v4l2_device.h', |
822 'common/gpu/media/v4l2_image_processor.cc', | 199 'gpu/v4l2_image_processor.cc', |
823 'common/gpu/media/v4l2_image_processor.h', | 200 'gpu/v4l2_image_processor.h', |
824 'common/gpu/media/v4l2_jpeg_decode_accelerator.cc', | 201 'gpu/v4l2_jpeg_decode_accelerator.cc', |
825 'common/gpu/media/v4l2_jpeg_decode_accelerator.h', | 202 'gpu/v4l2_jpeg_decode_accelerator.h', |
826 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc', | 203 'gpu/v4l2_slice_video_decode_accelerator.cc', |
827 'common/gpu/media/v4l2_slice_video_decode_accelerator.h', | 204 'gpu/v4l2_slice_video_decode_accelerator.h', |
828 'common/gpu/media/v4l2_video_decode_accelerator.cc', | 205 'gpu/v4l2_video_decode_accelerator.cc', |
829 'common/gpu/media/v4l2_video_decode_accelerator.h', | 206 'gpu/v4l2_video_decode_accelerator.h', |
830 'common/gpu/media/v4l2_video_encode_accelerator.cc', | 207 'gpu/v4l2_video_encode_accelerator.cc', |
831 'common/gpu/media/v4l2_video_encode_accelerator.h', | 208 'gpu/v4l2_video_encode_accelerator.h', |
832 ], | 209 ], |
833 'include_dirs': [ | 210 'include_dirs': [ |
834 '<(DEPTH)/third_party/khronos', | 211 '<(DEPTH)/third_party/khronos', |
835 ], | 212 ], |
836 }], | 213 }], |
837 ['target_arch == "arm" and chromeos == 1', { | 214 ['target_arch == "arm" and chromeos == 1', { |
838 'sources': [ | 215 'sources': [ |
839 'common/gpu/media/tegra_v4l2_device.cc', | 216 'gpu/tegra_v4l2_device.cc', |
840 'common/gpu/media/tegra_v4l2_device.h', | 217 'gpu/tegra_v4l2_device.h', |
841 ], | 218 ], |
842 }], | 219 }], |
843 ['target_arch != "arm" and chromeos == 1', { | 220 ['target_arch != "arm" and chromeos == 1', { |
844 'dependencies': [ | 221 'dependencies': [ |
845 '../media/media.gyp:media', | 222 '../media/media.gyp:media', |
846 '../third_party/libyuv/libyuv.gyp:libyuv', | 223 '../third_party/libyuv/libyuv.gyp:libyuv', |
847 ], | 224 ], |
848 'sources': [ | 225 'sources': [ |
849 'common/gpu/media/va_surface.h', | 226 'gpu/va_surface.h', |
850 'common/gpu/media/vaapi_jpeg_decode_accelerator.cc', | 227 'gpu/vaapi_jpeg_decode_accelerator.cc', |
851 'common/gpu/media/vaapi_jpeg_decode_accelerator.h', | 228 'gpu/vaapi_jpeg_decode_accelerator.h', |
852 'common/gpu/media/vaapi_jpeg_decoder.cc', | 229 'gpu/vaapi_jpeg_decoder.cc', |
853 'common/gpu/media/vaapi_jpeg_decoder.h', | 230 'gpu/vaapi_jpeg_decoder.h', |
854 'common/gpu/media/vaapi_picture.cc', | 231 'gpu/vaapi_picture.cc', |
855 'common/gpu/media/vaapi_picture.h', | 232 'gpu/vaapi_picture.h', |
856 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 233 'gpu/vaapi_video_decode_accelerator.cc', |
857 'common/gpu/media/vaapi_video_decode_accelerator.h', | 234 'gpu/vaapi_video_decode_accelerator.h', |
858 'common/gpu/media/vaapi_video_encode_accelerator.cc', | 235 'gpu/vaapi_video_encode_accelerator.cc', |
859 'common/gpu/media/vaapi_video_encode_accelerator.h', | 236 'gpu/vaapi_video_encode_accelerator.h', |
860 'common/gpu/media/vaapi_wrapper.cc', | 237 'gpu/vaapi_wrapper.cc', |
861 'common/gpu/media/vaapi_wrapper.h', | 238 'gpu/vaapi_wrapper.h', |
862 ], | 239 ], |
863 'conditions': [ | 240 'conditions': [ |
864 ['use_x11 == 1', { | 241 ['use_x11 == 1', { |
865 'variables': { | 242 'variables': { |
866 'sig_files': [ | 243 'sig_files': [ |
867 'common/gpu/media/va.sigs', | 244 'gpu/va.sigs', |
868 'common/gpu/media/va_x11.sigs', | 245 'gpu/va_x11.sigs', |
869 ], | 246 ], |
870 }, | 247 }, |
871 'sources': [ | 248 'sources': [ |
872 'common/gpu/media/vaapi_tfp_picture.cc', | 249 'gpu/vaapi_tfp_picture.cc', |
873 'common/gpu/media/vaapi_tfp_picture.h', | 250 'gpu/vaapi_tfp_picture.h', |
874 ], | 251 ], |
875 }, { | 252 }, { |
876 'variables': { | 253 'variables': { |
877 'sig_files': [ | 254 'sig_files': [ |
878 'common/gpu/media/va.sigs', | 255 'gpu/va.sigs', |
879 'common/gpu/media/va_drm.sigs', | 256 'gpu/va_drm.sigs', |
880 ], | 257 ], |
881 }, | 258 }, |
882 'sources': [ | 259 'sources': [ |
883 'common/gpu/media/vaapi_drm_picture.cc', | 260 'gpu/vaapi_drm_picture.cc', |
884 'common/gpu/media/vaapi_drm_picture.h', | 261 'gpu/vaapi_drm_picture.h', |
885 ], | 262 ], |
886 }], | 263 }], |
887 ], | 264 ], |
888 'variables': { | 265 'variables': { |
889 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 266 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
890 'extra_header': 'common/gpu/media/va_stub_header.fragment', | 267 'extra_header': 'gpu/va_stub_header.fragment', |
891 'outfile_type': 'posix_stubs', | 268 'outfile_type': 'posix_stubs', |
892 'stubs_filename_root': 'va_stubs', | 269 'stubs_filename_root': 'va_stubs', |
893 'project_path': 'content/common/gpu/media', | 270 'project_path': 'media/gpu', |
894 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 271 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
895 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', | 272 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
896 }, | 273 }, |
897 'include_dirs': [ | 274 'include_dirs': [ |
898 '<(DEPTH)/third_party/libva', | 275 '<(DEPTH)/third_party/libva', |
899 '<(DEPTH)/third_party/libyuv', | 276 '<(DEPTH)/third_party/libyuv', |
900 '<(output_root)', | 277 '<(output_root)', |
901 ], | 278 ], |
902 'actions': [ | 279 'actions': [ |
903 { | 280 { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
938 '-ldxva2.lib', | 315 '-ldxva2.lib', |
939 '-lstrmiids.lib', | 316 '-lstrmiids.lib', |
940 '-lmf.lib', | 317 '-lmf.lib', |
941 '-lmfplat.lib', | 318 '-lmfplat.lib', |
942 '-lmfuuid.lib', | 319 '-lmfuuid.lib', |
943 ], | 320 ], |
944 'msvs_settings': { | 321 'msvs_settings': { |
945 'VCLinkerTool': { | 322 'VCLinkerTool': { |
946 'DelayLoadDLLs': [ | 323 'DelayLoadDLLs': [ |
947 'd3d9.dll', | 324 'd3d9.dll', |
948 » » » 'd3d11.dll', | 325 'd3d11.dll', |
949 'dxva2.dll', | 326 'dxva2.dll', |
950 'mf.dll', | 327 'mf.dll', |
951 'mfplat.dll', | 328 'mfplat.dll', |
952 ], | 329 ], |
953 }, | 330 }, |
954 }, | 331 }, |
955 }, | 332 }, |
956 'sources': [ | 333 'sources': [ |
957 'common/gpu/media/dxva_video_decode_accelerator_win.cc', | 334 'gpu/dxva_video_decode_accelerator_win.cc', |
958 'common/gpu/media/dxva_video_decode_accelerator_win.h', | 335 'gpu/dxva_video_decode_accelerator_win.h', |
959 ], | 336 ], |
960 'include_dirs': [ | 337 'include_dirs': [ |
961 '<(DEPTH)/third_party/khronos', | 338 '<(DEPTH)/third_party/khronos', |
962 ], | 339 ], |
963 }], | 340 }], |
964 ['use_seccomp_bpf==0', { | 341 ['OS == "win" and target_arch == "x64"', { |
965 'sources!': [ | 342 'msvs_settings': { |
966 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc', | 343 'VCCLCompilerTool': { |
967 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h', | 344 'AdditionalOptions': [ |
968 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc', | 345 '/wd4267', # Conversion from 'size_t' to 'type', possible loss of da
ta |
969 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h', | 346 ], |
970 'common/sandbox_linux/bpf_gpu_policy_linux.cc', | 347 }, |
971 'common/sandbox_linux/bpf_gpu_policy_linux.h', | 348 }, |
972 'common/sandbox_linux/bpf_ppapi_policy_linux.cc', | |
973 'common/sandbox_linux/bpf_ppapi_policy_linux.h', | |
974 'common/sandbox_linux/bpf_renderer_policy_linux.cc', | |
975 'common/sandbox_linux/bpf_renderer_policy_linux.h', | |
976 'common/sandbox_linux/bpf_utility_policy_linux.cc', | |
977 'common/sandbox_linux/bpf_utility_policy_linux.h', | |
978 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', | |
979 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', | |
980 ], | |
981 }, { | |
982 'defines': ['USE_SECCOMP_BPF'], | |
983 }], | |
984 ['use_ozone==1', { | |
985 'dependencies': [ | |
986 '../ui/ozone/ozone.gyp:ozone', | |
987 '../ui/ozone/ozone.gyp:ozone_base', | |
988 ], | |
989 'sources!': [ | |
990 'common/gpu/gpu_memory_buffer_factory_linux.cc', | |
991 ], | |
992 }, { # use_ozone!=1 | |
993 'sources!': [ | |
994 'common/cursors/webcursor_ozone.cc', | |
995 'common/font_list_ozone.cc', | |
996 'common/gpu/gpu_memory_buffer_factory_ozone.cc', | |
997 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc', | |
998 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h', | |
999 ], | |
1000 }], | 349 }], |
1001 ], | 350 ], |
1002 } | 351 } |
OLD | NEW |