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

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: Drop source_set dep from :test_support 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/gpu/ipc/media_ipc.gyp:media_gpu_ipc_common', 30 '../media/gpu/ipc/media_ipc.gyp:media_gpu_ipc_common',
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 'common/gamepad_param_traits.cc', 338 'common/gamepad_param_traits.cc',
334 'common/gamepad_param_traits.h', 339 'common/gamepad_param_traits.h',
335 'common/gamepad_user_gesture.cc', 340 'common/gamepad_user_gesture.cc',
336 'common/gamepad_user_gesture.h', 341 'common/gamepad_user_gesture.h',
337 'common/generic_shared_memory_id_generator.cc', 342 'common/generic_shared_memory_id_generator.cc',
338 'common/generic_shared_memory_id_generator.h', 343 'common/generic_shared_memory_id_generator.h',
339 'common/geofencing_messages.h', 344 'common/geofencing_messages.h',
340 'common/geofencing_types.cc', 345 'common/geofencing_types.cc',
341 'common/geofencing_types.h', 346 'common/geofencing_types.h',
342 'common/gin_java_bridge_messages.h', 347 'common/gin_java_bridge_messages.h',
343 'common/gpu/ca_layer_partial_damage_tree_mac.h',
344 'common/gpu/ca_layer_partial_damage_tree_mac.mm',
345 'common/gpu/ca_layer_tree_mac.h',
346 'common/gpu/ca_layer_tree_mac.mm',
347 'common/gpu/child_window_surface_win.cc',
348 'common/gpu/child_window_surface_win.h',
349 'common/gpu/client/command_buffer_metrics.cc', 348 'common/gpu/client/command_buffer_metrics.cc',
350 'common/gpu/client/command_buffer_metrics.h', 349 'common/gpu/client/command_buffer_metrics.h',
351 'common/gpu/client/context_provider_command_buffer.cc', 350 'common/gpu/client/context_provider_command_buffer.cc',
352 'common/gpu/client/context_provider_command_buffer.h', 351 'common/gpu/client/context_provider_command_buffer.h',
353 'common/gpu/client/gpu_jpeg_decode_accelerator_host.cc', 352 'common/gpu/client/gpu_jpeg_decode_accelerator_host.cc',
354 'common/gpu/client/gpu_jpeg_decode_accelerator_host.h', 353 'common/gpu/client/gpu_jpeg_decode_accelerator_host.h',
355 'common/gpu/client/gpu_video_decode_accelerator_host.cc', 354 'common/gpu/client/gpu_video_decode_accelerator_host.cc',
356 'common/gpu/client/gpu_video_decode_accelerator_host.h', 355 'common/gpu/client/gpu_video_decode_accelerator_host.h',
357 'common/gpu/client/gpu_video_encode_accelerator_host.cc', 356 'common/gpu/client/gpu_video_encode_accelerator_host.cc',
358 'common/gpu/client/gpu_video_encode_accelerator_host.h', 357 'common/gpu/client/gpu_video_encode_accelerator_host.h',
359 'common/gpu/client/grcontext_for_webgraphicscontext3d.cc', 358 'common/gpu/client/grcontext_for_webgraphicscontext3d.cc',
360 'common/gpu/client/grcontext_for_webgraphicscontext3d.h', 359 'common/gpu/client/grcontext_for_webgraphicscontext3d.h',
361 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc', 360 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
362 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h', 361 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
363 'common/gpu/gpu_channel.cc',
364 'common/gpu/gpu_channel.h',
365 'common/gpu/gpu_channel_manager.cc',
366 'common/gpu/gpu_channel_manager.h',
367 'common/gpu/gpu_channel_manager_delegate.h',
368 'common/gpu/gpu_command_buffer_stub.cc',
369 'common/gpu/gpu_command_buffer_stub.h',
370 'common/gpu/gpu_config.h',
371 'common/gpu/gpu_memory_buffer_factory.cc',
372 'common/gpu/gpu_memory_buffer_factory.h',
373 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
374 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',
375 'common/gpu/gpu_memory_manager.cc',
376 'common/gpu/gpu_memory_manager.h',
377 'common/gpu/gpu_memory_tracking.cc',
378 'common/gpu/gpu_memory_tracking.h',
379 'common/gpu/gpu_watchdog.h',
380 'common/gpu/image_transport_surface.h',
381 'common/gpu/image_transport_surface_android.cc',
382 'common/gpu/image_transport_surface_linux.cc',
383 'common/gpu/image_transport_surface_mac.mm',
384 'common/gpu/image_transport_surface_overlay_mac.h',
385 'common/gpu/image_transport_surface_overlay_mac.mm',
386 'common/gpu/image_transport_surface_win.cc',
387 'common/gpu/media/fake_video_decode_accelerator.cc', 362 'common/gpu/media/fake_video_decode_accelerator.cc',
388 'common/gpu/media/fake_video_decode_accelerator.h', 363 'common/gpu/media/fake_video_decode_accelerator.h',
389 'common/gpu/media/gpu_jpeg_decode_accelerator.cc', 364 'common/gpu/media/gpu_jpeg_decode_accelerator.cc',
390 'common/gpu/media/gpu_jpeg_decode_accelerator.h', 365 'common/gpu/media/gpu_jpeg_decode_accelerator.h',
391 'common/gpu/media/gpu_video_accelerator_util.cc', 366 'common/gpu/media/gpu_video_accelerator_util.cc',
392 'common/gpu/media/gpu_video_accelerator_util.h', 367 'common/gpu/media/gpu_video_accelerator_util.h',
393 'common/gpu/media/gpu_video_decode_accelerator.cc', 368 'common/gpu/media/gpu_video_decode_accelerator.cc',
394 'common/gpu/media/gpu_video_decode_accelerator.h', 369 'common/gpu/media/gpu_video_decode_accelerator.h',
395 'common/gpu/media/gpu_video_encode_accelerator.cc', 370 'common/gpu/media/gpu_video_encode_accelerator.cc',
396 'common/gpu/media/gpu_video_encode_accelerator.h', 371 'common/gpu/media/gpu_video_encode_accelerator.h',
397 'common/gpu/media/media_channel.cc', 372 'common/gpu/media/media_channel.cc',
398 'common/gpu/media/media_channel.h', 373 'common/gpu/media/media_channel.h',
399 'common/gpu/media/media_service.cc', 374 'common/gpu/media/media_service.cc',
400 'common/gpu/media/media_service.h', 375 'common/gpu/media/media_service.h',
401 'common/gpu/media/shared_memory_region.cc', 376 'common/gpu/media/shared_memory_region.cc',
402 'common/gpu/media/shared_memory_region.h', 377 'common/gpu/media/shared_memory_region.h',
403 'common/gpu/pass_through_image_transport_surface.cc',
404 'common/gpu/pass_through_image_transport_surface.h',
405 'common/gpu/stream_texture_android.cc',
406 'common/gpu/stream_texture_android.h',
407 'common/gpu_host_messages.h', 378 'common/gpu_host_messages.h',
408 'common/gpu_process_launch_causes.h', 379 'common/gpu_process_launch_causes.h',
409 'common/host_discardable_shared_memory_manager.cc', 380 'common/host_discardable_shared_memory_manager.cc',
410 'common/host_discardable_shared_memory_manager.h', 381 'common/host_discardable_shared_memory_manager.h',
411 'common/host_shared_bitmap_manager.cc', 382 'common/host_shared_bitmap_manager.cc',
412 'common/host_shared_bitmap_manager.h', 383 'common/host_shared_bitmap_manager.h',
413 'common/in_process_child_thread_params.cc', 384 'common/in_process_child_thread_params.cc',
414 'common/in_process_child_thread_params.h', 385 'common/in_process_child_thread_params.h',
415 'common/indexed_db/indexed_db_constants.h', 386 'common/indexed_db/indexed_db_constants.h',
416 'common/indexed_db/indexed_db_key.cc', 387 'common/indexed_db/indexed_db_key.cc',
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 }], 611 }],
641 ], 612 ],
642 'conditions': [ 613 'conditions': [
643 ['OS=="mac"', { 614 ['OS=="mac"', {
644 'dependencies': [ 615 'dependencies': [
645 '../media/media.gyp:media', 616 '../media/media.gyp:media',
646 'app/resources/content_resources.gyp:content_resources', 617 'app/resources/content_resources.gyp:content_resources',
647 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid get_mac' 618 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid get_mac'
648 ], 619 ],
649 'sources': [ 620 'sources': [
650 'common/gpu/gpu_memory_buffer_factory_io_surface.cc',
651 'common/gpu/gpu_memory_buffer_factory_io_surface.h',
652 'common/gpu/media/vt_mac.h', 621 'common/gpu/media/vt_mac.h',
653 'common/gpu/media/vt_video_decode_accelerator_mac.cc', 622 'common/gpu/media/vt_video_decode_accelerator_mac.cc',
654 'common/gpu/media/vt_video_decode_accelerator_mac.h', 623 'common/gpu/media/vt_video_decode_accelerator_mac.h',
655 'common/gpu/media/vt_video_encode_accelerator_mac.cc', 624 'common/gpu/media/vt_video_encode_accelerator_mac.cc',
656 'common/gpu/media/vt_video_encode_accelerator_mac.h', 625 'common/gpu/media/vt_video_encode_accelerator_mac.h',
657 ], 626 ],
658 'sources!': [ 627 'sources!': [
659 'common/plugin_list_posix.cc', 628 'common/plugin_list_posix.cc',
660 ], 629 ],
661 'link_settings': { 630 'link_settings': {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 '-s', '<(stubs_filename_root)', 671 '-s', '<(stubs_filename_root)',
703 '-p', '<(project_path)', 672 '-p', '<(project_path)',
704 '<@(_inputs)', 673 '<@(_inputs)',
705 ], 674 ],
706 'process_outputs_as_sources': 1, 675 'process_outputs_as_sources': 1,
707 'message': 'Generating VideoToolbox stubs for dynamic loading', 676 'message': 'Generating VideoToolbox stubs for dynamic loading',
708 }, 677 },
709 ], 678 ],
710 }], 679 }],
711 ['OS=="android"',{ 680 ['OS=="android"',{
712 'sources': [
713 'common/gpu/gpu_memory_buffer_factory_surface_texture.cc',
714 'common/gpu/gpu_memory_buffer_factory_surface_texture.h',
715 ],
716 'link_settings': { 681 'link_settings': {
717 'libraries': [ 682 'libraries': [
718 '-landroid', # ANativeWindow 683 '-landroid', # ANativeWindow
719 ], 684 ],
720 }, 685 },
721 'dependencies': [ 686 'dependencies': [
722 'content.gyp:content_jni_headers', 687 'content.gyp:content_jni_headers',
723 'content.gyp:common_aidl', 688 'content.gyp:common_aidl',
724 ], 689 ],
725 }], 690 }],
726 ['use_pango == 1', { 691 ['use_pango == 1', {
727 'dependencies': [ 692 'dependencies': [
728 '../build/linux/system.gyp:pangocairo', 693 '../build/linux/system.gyp:pangocairo',
729 ], 694 ],
730 'sources!': [ 695 'sources!': [
731 'common/font_list_ozone.cc', 696 'common/font_list_ozone.cc',
732 ], 697 ],
733 }], 698 }],
734 ['use_x11 == 1', { 699 ['use_x11 == 1', {
735 'include_dirs': [ 700 'include_dirs': [
736 '<(DEPTH)/third_party/khronos', 701 '<(DEPTH)/third_party/khronos',
737 ], 702 ],
738 'dependencies': [ 703 'dependencies': [
739 '<(DEPTH)/build/linux/system.gyp:xcomposite', 704 '<(DEPTH)/build/linux/system.gyp:xcomposite',
740 ], 705 ],
741 }], 706 }],
742 ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
743 'sources': [
744 'common/gpu/x_util.h',
745 ],
746 }],
747 ['enable_plugins==1', { 707 ['enable_plugins==1', {
748 'dependencies': [ 708 'dependencies': [
749 '../ppapi/ppapi_internal.gyp:ppapi_shared', 709 '../ppapi/ppapi_internal.gyp:ppapi_shared',
750 ], 710 ],
751 }, { # enable_plugins == 0 711 }, { # enable_plugins == 0
752 'sources!': [ 712 'sources!': [
753 'common/pepper_file_util.cc', 713 'common/pepper_file_util.cc',
754 'common/pepper_file_util.h', 714 'common/pepper_file_util.h',
755 'common/pepper_messages.h', 715 'common/pepper_messages.h',
756 'common/pepper_plugin_list.cc', 716 'common/pepper_plugin_list.cc',
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 'sources!': [ 1015 'sources!': [
1056 'common/cursors/webcursor_ozone.cc', 1016 'common/cursors/webcursor_ozone.cc',
1057 'common/font_list_ozone.cc', 1017 'common/font_list_ozone.cc',
1058 'common/gpu/gpu_memory_buffer_factory_ozone.cc', 1018 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
1059 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc', 1019 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
1060 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h', 1020 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',
1061 ], 1021 ],
1062 }], 1022 }],
1063 ], 1023 ],
1064 } 1024 }
OLDNEW
« no previous file with comments | « content/common/gpu/x_util.h ('k') | content/content_gpu.gypi » ('j') | gpu/ipc/service/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698