Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: content/content_common.gypi

Issue 1845563005: Refactor content/common/gpu into gpu/ipc/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn libs defs Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 'dependencies': [ 6 'dependencies': [
7 '../base/base.gyp:base', 7 '../base/base.gyp:base',
8 '../cc/cc.gyp:cc', 8 '../cc/cc.gyp:cc',
9 '../components/tracing.gyp:tracing', 9 '../components/tracing.gyp:tracing',
10 '../device/bluetooth/bluetooth.gyp:device_bluetooth', 10 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
11 '../gpu/blink/gpu_blink.gyp:gpu_blink', 11 '../gpu/blink/gpu_blink.gyp:gpu_blink',
12 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', 12 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
13 '../gpu/gpu.gyp:command_buffer_service', 13 '../gpu/gpu.gyp:command_buffer_service',
14 '../gpu/gpu.gyp:gles2_c_lib', 14 '../gpu/gpu.gyp:gles2_c_lib',
15 '../gpu/gpu.gyp:gles2_implementation', 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
16 # TODO: the dependency on gl_in_process_context should be decoupled from 21 # TODO: the dependency on gl_in_process_context should be decoupled from
17 # content and moved to android_webview. See crbug.com/365797. 22 # content and moved to android_webview. See crbug.com/365797.
18 '../gpu/gpu.gyp:gl_in_process_context', 23 '../gpu/gpu.gyp:gl_in_process_context',
19 '../gpu/gpu.gyp:gpu', 24 '../gpu/gpu.gyp:gpu',
20 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings', 25 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
21 '../ipc/ipc.gyp:ipc', 26 '../ipc/ipc.gyp:ipc',
22 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo', 27 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo',
23 '../media/media.gyp:media', 28 '../media/media.gyp:media',
24 '../media/media.gyp:shared_memory_support', 29 '../media/media.gyp:shared_memory_support',
25 '../media/midi/midi.gyp:midi', 30 '../media/midi/midi.gyp:midi',
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 'common/gamepad_param_traits.cc', 340 'common/gamepad_param_traits.cc',
336 'common/gamepad_param_traits.h', 341 'common/gamepad_param_traits.h',
337 'common/gamepad_user_gesture.cc', 342 'common/gamepad_user_gesture.cc',
338 'common/gamepad_user_gesture.h', 343 'common/gamepad_user_gesture.h',
339 'common/generic_shared_memory_id_generator.cc', 344 'common/generic_shared_memory_id_generator.cc',
340 'common/generic_shared_memory_id_generator.h', 345 'common/generic_shared_memory_id_generator.h',
341 'common/geofencing_messages.h', 346 'common/geofencing_messages.h',
342 'common/geofencing_types.cc', 347 'common/geofencing_types.cc',
343 'common/geofencing_types.h', 348 'common/geofencing_types.h',
344 'common/gin_java_bridge_messages.h', 349 'common/gin_java_bridge_messages.h',
345 'common/gpu/ca_layer_partial_damage_tree_mac.h',
346 'common/gpu/ca_layer_partial_damage_tree_mac.mm',
347 'common/gpu/ca_layer_tree_mac.h',
348 'common/gpu/ca_layer_tree_mac.mm',
349 'common/gpu/child_window_surface_win.cc',
350 'common/gpu/child_window_surface_win.h',
351 'common/gpu/client/command_buffer_metrics.cc', 350 'common/gpu/client/command_buffer_metrics.cc',
352 'common/gpu/client/command_buffer_metrics.h', 351 'common/gpu/client/command_buffer_metrics.h',
353 'common/gpu/client/command_buffer_proxy_impl.cc', 352 'common/gpu/client/command_buffer_proxy_impl.cc',
354 'common/gpu/client/command_buffer_proxy_impl.h', 353 'common/gpu/client/command_buffer_proxy_impl.h',
355 'common/gpu/client/context_provider_command_buffer.cc', 354 'common/gpu/client/context_provider_command_buffer.cc',
356 'common/gpu/client/context_provider_command_buffer.h', 355 'common/gpu/client/context_provider_command_buffer.h',
357 'common/gpu/client/gpu_channel_host.cc', 356 'common/gpu/client/gpu_channel_host.cc',
358 'common/gpu/client/gpu_channel_host.h', 357 'common/gpu/client/gpu_channel_host.h',
359 'common/gpu/client/gpu_jpeg_decode_accelerator_host.cc', 358 'common/gpu/client/gpu_jpeg_decode_accelerator_host.cc',
360 'common/gpu/client/gpu_jpeg_decode_accelerator_host.h', 359 'common/gpu/client/gpu_jpeg_decode_accelerator_host.h',
361 'common/gpu/client/gpu_memory_buffer_impl.cc', 360 'common/gpu/client/gpu_memory_buffer_impl.cc',
362 'common/gpu/client/gpu_memory_buffer_impl.h', 361 'common/gpu/client/gpu_memory_buffer_impl.h',
363 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc', 362 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc',
364 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h', 363 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h',
365 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc', 364 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc',
366 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.h', 365 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.h',
367 'common/gpu/client/gpu_video_decode_accelerator_host.cc', 366 'common/gpu/client/gpu_video_decode_accelerator_host.cc',
368 'common/gpu/client/gpu_video_decode_accelerator_host.h', 367 'common/gpu/client/gpu_video_decode_accelerator_host.h',
369 'common/gpu/client/gpu_video_encode_accelerator_host.cc', 368 'common/gpu/client/gpu_video_encode_accelerator_host.cc',
370 'common/gpu/client/gpu_video_encode_accelerator_host.h', 369 'common/gpu/client/gpu_video_encode_accelerator_host.h',
371 'common/gpu/client/grcontext_for_webgraphicscontext3d.cc', 370 'common/gpu/client/grcontext_for_webgraphicscontext3d.cc',
372 'common/gpu/client/grcontext_for_webgraphicscontext3d.h', 371 'common/gpu/client/grcontext_for_webgraphicscontext3d.h',
373 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc', 372 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
374 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h', 373 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
375 'common/gpu/gpu_channel.cc',
376 'common/gpu/gpu_channel.h',
377 'common/gpu/gpu_channel_manager.cc',
378 'common/gpu/gpu_channel_manager.h',
379 'common/gpu/gpu_channel_manager_delegate.h',
380 'common/gpu/gpu_command_buffer_stub.cc',
381 'common/gpu/gpu_command_buffer_stub.h',
382 'common/gpu/gpu_config.h',
383 'common/gpu/gpu_memory_buffer_factory.cc',
384 'common/gpu/gpu_memory_buffer_factory.h',
385 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
386 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',
387 'common/gpu/gpu_memory_manager.cc',
388 'common/gpu/gpu_memory_manager.h',
389 'common/gpu/gpu_memory_tracking.cc',
390 'common/gpu/gpu_memory_tracking.h',
391 'common/gpu/gpu_watchdog.h',
392 'common/gpu/image_transport_surface.h',
393 'common/gpu/image_transport_surface_android.cc',
394 'common/gpu/image_transport_surface_linux.cc',
395 'common/gpu/image_transport_surface_mac.mm',
396 'common/gpu/image_transport_surface_overlay_mac.h',
397 'common/gpu/image_transport_surface_overlay_mac.mm',
398 'common/gpu/image_transport_surface_win.cc',
399 'common/gpu/media/create_video_encoder_params.cc', 374 'common/gpu/media/create_video_encoder_params.cc',
400 'common/gpu/media/create_video_encoder_params.h', 375 'common/gpu/media/create_video_encoder_params.h',
401 'common/gpu/media/fake_video_decode_accelerator.cc', 376 'common/gpu/media/fake_video_decode_accelerator.cc',
402 'common/gpu/media/fake_video_decode_accelerator.h', 377 'common/gpu/media/fake_video_decode_accelerator.h',
403 'common/gpu/media/gpu_jpeg_decode_accelerator.cc', 378 'common/gpu/media/gpu_jpeg_decode_accelerator.cc',
404 'common/gpu/media/gpu_jpeg_decode_accelerator.h', 379 'common/gpu/media/gpu_jpeg_decode_accelerator.h',
405 'common/gpu/media/gpu_video_accelerator_util.cc', 380 'common/gpu/media/gpu_video_accelerator_util.cc',
406 'common/gpu/media/gpu_video_accelerator_util.h', 381 'common/gpu/media/gpu_video_accelerator_util.h',
407 'common/gpu/media/gpu_video_decode_accelerator.cc', 382 'common/gpu/media/gpu_video_decode_accelerator.cc',
408 'common/gpu/media/gpu_video_decode_accelerator.h', 383 'common/gpu/media/gpu_video_decode_accelerator.h',
409 'common/gpu/media/gpu_video_encode_accelerator.cc', 384 'common/gpu/media/gpu_video_encode_accelerator.cc',
410 'common/gpu/media/gpu_video_encode_accelerator.h', 385 'common/gpu/media/gpu_video_encode_accelerator.h',
411 'common/gpu/media/media_channel.cc', 386 'common/gpu/media/media_channel.cc',
412 'common/gpu/media/media_channel.h', 387 'common/gpu/media/media_channel.h',
413 'common/gpu/media/media_messages.cc', 388 'common/gpu/media/media_messages.cc',
414 'common/gpu/media/media_messages.h', 389 'common/gpu/media/media_messages.h',
415 'common/gpu/media/media_service.cc', 390 'common/gpu/media/media_service.cc',
416 'common/gpu/media/media_service.h', 391 'common/gpu/media/media_service.h',
417 'common/gpu/media/shared_memory_region.cc', 392 'common/gpu/media/shared_memory_region.cc',
418 'common/gpu/media/shared_memory_region.h', 393 'common/gpu/media/shared_memory_region.h',
419 'common/gpu/pass_through_image_transport_surface.cc',
420 'common/gpu/pass_through_image_transport_surface.h',
421 'common/gpu/stream_texture_android.cc',
422 'common/gpu/stream_texture_android.h',
423 'common/gpu_host_messages.h', 394 'common/gpu_host_messages.h',
424 'common/gpu_process_launch_causes.h', 395 'common/gpu_process_launch_causes.h',
425 'common/host_discardable_shared_memory_manager.cc', 396 'common/host_discardable_shared_memory_manager.cc',
426 'common/host_discardable_shared_memory_manager.h', 397 'common/host_discardable_shared_memory_manager.h',
427 'common/host_shared_bitmap_manager.cc', 398 'common/host_shared_bitmap_manager.cc',
428 'common/host_shared_bitmap_manager.h', 399 'common/host_shared_bitmap_manager.h',
429 'common/in_process_child_thread_params.cc', 400 'common/in_process_child_thread_params.cc',
430 'common/in_process_child_thread_params.h', 401 'common/in_process_child_thread_params.h',
431 'common/indexed_db/indexed_db_constants.h', 402 'common/indexed_db/indexed_db_constants.h',
432 'common/indexed_db/indexed_db_key.cc', 403 'common/indexed_db/indexed_db_key.cc',
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 'conditions': [ 629 'conditions': [
659 ['OS=="mac"', { 630 ['OS=="mac"', {
660 'dependencies': [ 631 'dependencies': [
661 '../media/media.gyp:media', 632 '../media/media.gyp:media',
662 'app/resources/content_resources.gyp:content_resources', 633 'app/resources/content_resources.gyp:content_resources',
663 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid get_mac' 634 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid get_mac'
664 ], 635 ],
665 'sources': [ 636 'sources': [
666 'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc', 637 'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc',
667 'common/gpu/client/gpu_memory_buffer_impl_io_surface.h', 638 'common/gpu/client/gpu_memory_buffer_impl_io_surface.h',
668 'common/gpu/gpu_memory_buffer_factory_io_surface.cc',
669 'common/gpu/gpu_memory_buffer_factory_io_surface.h',
670 'common/gpu/media/vt_mac.h', 639 'common/gpu/media/vt_mac.h',
671 'common/gpu/media/vt_video_decode_accelerator_mac.cc', 640 'common/gpu/media/vt_video_decode_accelerator_mac.cc',
672 'common/gpu/media/vt_video_decode_accelerator_mac.h', 641 'common/gpu/media/vt_video_decode_accelerator_mac.h',
673 'common/gpu/media/vt_video_encode_accelerator_mac.cc', 642 'common/gpu/media/vt_video_encode_accelerator_mac.cc',
674 'common/gpu/media/vt_video_encode_accelerator_mac.h', 643 'common/gpu/media/vt_video_encode_accelerator_mac.h',
675 ], 644 ],
676 'sources!': [ 645 'sources!': [
677 'common/plugin_list_posix.cc', 646 'common/plugin_list_posix.cc',
678 ], 647 ],
679 'link_settings': { 648 'link_settings': {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 ], 692 ],
724 'process_outputs_as_sources': 1, 693 'process_outputs_as_sources': 1,
725 'message': 'Generating VideoToolbox stubs for dynamic loading', 694 'message': 'Generating VideoToolbox stubs for dynamic loading',
726 }, 695 },
727 ], 696 ],
728 }], 697 }],
729 ['OS=="android"',{ 698 ['OS=="android"',{
730 'sources': [ 699 'sources': [
731 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc', 700 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc',
732 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h', 701 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h',
733 'common/gpu/gpu_memory_buffer_factory_surface_texture.cc',
734 'common/gpu/gpu_memory_buffer_factory_surface_texture.h',
735 ], 702 ],
736 'link_settings': { 703 'link_settings': {
737 'libraries': [ 704 'libraries': [
738 '-landroid', # ANativeWindow 705 '-landroid', # ANativeWindow
739 ], 706 ],
740 }, 707 },
741 'dependencies': [ 708 'dependencies': [
742 'content.gyp:content_jni_headers', 709 'content.gyp:content_jni_headers',
743 'content.gyp:common_aidl', 710 'content.gyp:common_aidl',
744 ], 711 ],
745 }], 712 }],
746 ['use_pango == 1', { 713 ['use_pango == 1', {
747 'dependencies': [ 714 'dependencies': [
748 '../build/linux/system.gyp:pangocairo', 715 '../build/linux/system.gyp:pangocairo',
749 ], 716 ],
750 'sources!': [ 717 'sources!': [
751 'common/font_list_ozone.cc', 718 'common/font_list_ozone.cc',
752 ], 719 ],
753 }], 720 }],
754 ['use_x11 == 1', { 721 ['use_x11 == 1', {
755 'include_dirs': [ 722 'include_dirs': [
756 '<(DEPTH)/third_party/khronos', 723 '<(DEPTH)/third_party/khronos',
757 ], 724 ],
758 'dependencies': [ 725 'dependencies': [
759 '<(DEPTH)/build/linux/system.gyp:xcomposite', 726 '<(DEPTH)/build/linux/system.gyp:xcomposite',
760 ], 727 ],
761 }], 728 }],
762 ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
763 'sources': [
764 'common/gpu/x_util.h',
765 ],
766 }],
767 ['enable_plugins==1', { 729 ['enable_plugins==1', {
768 'dependencies': [ 730 'dependencies': [
769 '../ppapi/ppapi_internal.gyp:ppapi_shared', 731 '../ppapi/ppapi_internal.gyp:ppapi_shared',
770 ], 732 ],
771 }, { # enable_plugins == 0 733 }, { # enable_plugins == 0
772 'sources!': [ 734 'sources!': [
773 'common/pepper_file_util.cc', 735 'common/pepper_file_util.cc',
774 'common/pepper_file_util.h', 736 'common/pepper_file_util.h',
775 'common/pepper_messages.h', 737 'common/pepper_messages.h',
776 'common/pepper_plugin_list.cc', 738 'common/pepper_plugin_list.cc',
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', 1065 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
1104 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc', 1066 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc',
1105 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h', 1067 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h',
1106 'common/gpu/gpu_memory_buffer_factory_ozone.cc', 1068 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
1107 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc', 1069 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
1108 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h', 1070 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',
1109 ], 1071 ],
1110 }], 1072 }],
1111 ], 1073 ],
1112 } 1074 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698