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

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: rebase 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_client', 30 '../media/gpu/ipc/media_ipc.gyp:media_gpu_ipc_client',
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 'common/gamepad_param_traits.cc', 339 'common/gamepad_param_traits.cc',
335 'common/gamepad_param_traits.h', 340 'common/gamepad_param_traits.h',
336 'common/gamepad_user_gesture.cc', 341 'common/gamepad_user_gesture.cc',
337 'common/gamepad_user_gesture.h', 342 'common/gamepad_user_gesture.h',
338 'common/generic_shared_memory_id_generator.cc', 343 'common/generic_shared_memory_id_generator.cc',
339 'common/generic_shared_memory_id_generator.h', 344 'common/generic_shared_memory_id_generator.h',
340 'common/geofencing_messages.h', 345 'common/geofencing_messages.h',
341 'common/geofencing_types.cc', 346 'common/geofencing_types.cc',
342 'common/geofencing_types.h', 347 'common/geofencing_types.h',
343 'common/gin_java_bridge_messages.h', 348 'common/gin_java_bridge_messages.h',
344 'common/gpu/ca_layer_partial_damage_tree_mac.h',
345 'common/gpu/ca_layer_partial_damage_tree_mac.mm',
346 'common/gpu/ca_layer_tree_mac.h',
347 'common/gpu/ca_layer_tree_mac.mm',
348 'common/gpu/child_window_surface_win.cc',
349 'common/gpu/child_window_surface_win.h',
350 'common/gpu/client/command_buffer_metrics.cc', 349 'common/gpu/client/command_buffer_metrics.cc',
351 'common/gpu/client/command_buffer_metrics.h', 350 'common/gpu/client/command_buffer_metrics.h',
352 'common/gpu/client/context_provider_command_buffer.cc', 351 'common/gpu/client/context_provider_command_buffer.cc',
353 'common/gpu/client/context_provider_command_buffer.h', 352 'common/gpu/client/context_provider_command_buffer.h',
354 'common/gpu/client/grcontext_for_gles2_interface.cc', 353 'common/gpu/client/grcontext_for_gles2_interface.cc',
355 'common/gpu/client/grcontext_for_gles2_interface.h', 354 'common/gpu/client/grcontext_for_gles2_interface.h',
356 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc', 355 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
357 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h', 356 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
358 'common/gpu/gpu_channel.cc',
359 'common/gpu/gpu_channel.h',
360 'common/gpu/gpu_channel_manager.cc',
361 'common/gpu/gpu_channel_manager.h',
362 'common/gpu/gpu_channel_manager_delegate.h',
363 'common/gpu/gpu_command_buffer_stub.cc',
364 'common/gpu/gpu_command_buffer_stub.h',
365 'common/gpu/gpu_config.h',
366 'common/gpu/gpu_memory_buffer_factory.cc',
367 'common/gpu/gpu_memory_buffer_factory.h',
368 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
369 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',
370 'common/gpu/gpu_memory_manager.cc',
371 'common/gpu/gpu_memory_manager.h',
372 'common/gpu/gpu_memory_tracking.cc',
373 'common/gpu/gpu_memory_tracking.h',
374 'common/gpu/gpu_watchdog.h',
375 'common/gpu/image_transport_surface.h',
376 'common/gpu/image_transport_surface_android.cc',
377 'common/gpu/image_transport_surface_linux.cc',
378 'common/gpu/image_transport_surface_mac.mm',
379 'common/gpu/image_transport_surface_overlay_mac.h',
380 'common/gpu/image_transport_surface_overlay_mac.mm',
381 'common/gpu/image_transport_surface_win.cc',
382 'common/gpu/media/fake_video_decode_accelerator.cc', 357 'common/gpu/media/fake_video_decode_accelerator.cc',
383 'common/gpu/media/fake_video_decode_accelerator.h', 358 'common/gpu/media/fake_video_decode_accelerator.h',
384 'common/gpu/media/gpu_jpeg_decode_accelerator.cc', 359 'common/gpu/media/gpu_jpeg_decode_accelerator.cc',
385 'common/gpu/media/gpu_jpeg_decode_accelerator.h', 360 'common/gpu/media/gpu_jpeg_decode_accelerator.h',
386 'common/gpu/media/gpu_video_decode_accelerator.cc', 361 'common/gpu/media/gpu_video_decode_accelerator.cc',
387 'common/gpu/media/gpu_video_decode_accelerator.h', 362 'common/gpu/media/gpu_video_decode_accelerator.h',
388 'common/gpu/media/gpu_video_decode_accelerator_factory_impl.cc', 363 'common/gpu/media/gpu_video_decode_accelerator_factory_impl.cc',
389 'common/gpu/media/gpu_video_decode_accelerator_factory_impl.h', 364 'common/gpu/media/gpu_video_decode_accelerator_factory_impl.h',
390 'common/gpu/media/gpu_video_decode_accelerator_helpers.h', 365 'common/gpu/media/gpu_video_decode_accelerator_helpers.h',
391 'common/gpu/media/gpu_video_encode_accelerator.cc', 366 'common/gpu/media/gpu_video_encode_accelerator.cc',
392 'common/gpu/media/gpu_video_encode_accelerator.h', 367 'common/gpu/media/gpu_video_encode_accelerator.h',
393 'common/gpu/media/media_channel.cc', 368 'common/gpu/media/media_channel.cc',
394 'common/gpu/media/media_channel.h', 369 'common/gpu/media/media_channel.h',
395 'common/gpu/media/media_service.cc', 370 'common/gpu/media/media_service.cc',
396 'common/gpu/media/media_service.h', 371 'common/gpu/media/media_service.h',
397 'common/gpu/media/shared_memory_region.cc', 372 'common/gpu/media/shared_memory_region.cc',
398 'common/gpu/media/shared_memory_region.h', 373 'common/gpu/media/shared_memory_region.h',
399 'common/gpu/pass_through_image_transport_surface.cc',
400 'common/gpu/pass_through_image_transport_surface.h',
401 'common/gpu/stream_texture_android.cc',
402 'common/gpu/stream_texture_android.h',
403 'common/gpu_host_messages.h', 374 'common/gpu_host_messages.h',
404 'common/gpu_process_launch_causes.h', 375 'common/gpu_process_launch_causes.h',
405 'common/host_discardable_shared_memory_manager.cc', 376 'common/host_discardable_shared_memory_manager.cc',
406 'common/host_discardable_shared_memory_manager.h', 377 'common/host_discardable_shared_memory_manager.h',
407 'common/host_shared_bitmap_manager.cc', 378 'common/host_shared_bitmap_manager.cc',
408 'common/host_shared_bitmap_manager.h', 379 'common/host_shared_bitmap_manager.h',
409 'common/in_process_child_thread_params.cc', 380 'common/in_process_child_thread_params.cc',
410 'common/in_process_child_thread_params.h', 381 'common/in_process_child_thread_params.h',
411 'common/indexed_db/indexed_db_constants.h', 382 'common/indexed_db/indexed_db_constants.h',
412 'common/indexed_db/indexed_db_key.cc', 383 'common/indexed_db/indexed_db_key.cc',
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 }], 601 }],
631 ], 602 ],
632 'conditions': [ 603 'conditions': [
633 ['OS=="mac"', { 604 ['OS=="mac"', {
634 'dependencies': [ 605 'dependencies': [
635 '../media/media.gyp:media', 606 '../media/media.gyp:media',
636 'app/resources/content_resources.gyp:content_resources', 607 'app/resources/content_resources.gyp:content_resources',
637 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid get_mac' 608 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid get_mac'
638 ], 609 ],
639 'sources': [ 610 'sources': [
640 'common/gpu/gpu_memory_buffer_factory_io_surface.cc',
641 'common/gpu/gpu_memory_buffer_factory_io_surface.h',
642 'common/gpu/media/vt_mac.h', 611 'common/gpu/media/vt_mac.h',
643 'common/gpu/media/vt_video_decode_accelerator_mac.cc', 612 'common/gpu/media/vt_video_decode_accelerator_mac.cc',
644 'common/gpu/media/vt_video_decode_accelerator_mac.h', 613 'common/gpu/media/vt_video_decode_accelerator_mac.h',
645 'common/gpu/media/vt_video_encode_accelerator_mac.cc', 614 'common/gpu/media/vt_video_encode_accelerator_mac.cc',
646 'common/gpu/media/vt_video_encode_accelerator_mac.h', 615 'common/gpu/media/vt_video_encode_accelerator_mac.h',
647 ], 616 ],
648 'link_settings': { 617 'link_settings': {
649 'libraries': [ 618 'libraries': [
650 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', 619 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework',
651 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework', 620 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 '-s', '<(stubs_filename_root)', 658 '-s', '<(stubs_filename_root)',
690 '-p', '<(project_path)', 659 '-p', '<(project_path)',
691 '<@(_inputs)', 660 '<@(_inputs)',
692 ], 661 ],
693 'process_outputs_as_sources': 1, 662 'process_outputs_as_sources': 1,
694 'message': 'Generating VideoToolbox stubs for dynamic loading', 663 'message': 'Generating VideoToolbox stubs for dynamic loading',
695 }, 664 },
696 ], 665 ],
697 }], 666 }],
698 ['OS=="android"',{ 667 ['OS=="android"',{
699 'sources': [
700 'common/gpu/gpu_memory_buffer_factory_surface_texture.cc',
701 'common/gpu/gpu_memory_buffer_factory_surface_texture.h',
702 ],
703 'link_settings': { 668 'link_settings': {
704 'libraries': [ 669 'libraries': [
705 '-landroid', # ANativeWindow 670 '-landroid', # ANativeWindow
706 ], 671 ],
707 }, 672 },
708 'dependencies': [ 673 'dependencies': [
709 'content.gyp:content_jni_headers', 674 'content.gyp:content_jni_headers',
710 'content.gyp:common_aidl', 675 'content.gyp:common_aidl',
711 ], 676 ],
712 }], 677 }],
713 ['use_pango == 1', { 678 ['use_pango == 1', {
714 'dependencies': [ 679 'dependencies': [
715 '../build/linux/system.gyp:pangocairo', 680 '../build/linux/system.gyp:pangocairo',
716 ], 681 ],
717 'sources!': [ 682 'sources!': [
718 'common/font_list_ozone.cc', 683 'common/font_list_ozone.cc',
719 ], 684 ],
720 }], 685 }],
721 ['use_x11 == 1', { 686 ['use_x11 == 1', {
722 'include_dirs': [ 687 'include_dirs': [
723 '<(DEPTH)/third_party/khronos', 688 '<(DEPTH)/third_party/khronos',
724 ], 689 ],
725 'dependencies': [ 690 'dependencies': [
726 '<(DEPTH)/build/linux/system.gyp:xcomposite', 691 '<(DEPTH)/build/linux/system.gyp:xcomposite',
727 ], 692 ],
728 }], 693 }],
729 ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
730 'sources': [
731 'common/gpu/x_util.h',
732 ],
733 }],
734 ['enable_plugins==1', { 694 ['enable_plugins==1', {
735 'dependencies': [ 695 'dependencies': [
736 '../ppapi/ppapi_internal.gyp:ppapi_shared', 696 '../ppapi/ppapi_internal.gyp:ppapi_shared',
737 ], 697 ],
738 }, { # enable_plugins == 0 698 }, { # enable_plugins == 0
739 'sources!': [ 699 'sources!': [
740 'common/pepper_file_util.cc', 700 'common/pepper_file_util.cc',
741 'common/pepper_file_util.h', 701 'common/pepper_file_util.h',
742 'common/pepper_messages.h', 702 'common/pepper_messages.h',
743 'common/pepper_plugin_list.cc', 703 'common/pepper_plugin_list.cc',
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 'sources!': [ 1001 'sources!': [
1042 'common/cursors/webcursor_ozone.cc', 1002 'common/cursors/webcursor_ozone.cc',
1043 'common/font_list_ozone.cc', 1003 'common/font_list_ozone.cc',
1044 'common/gpu/gpu_memory_buffer_factory_ozone.cc', 1004 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
1045 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc', 1005 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
1046 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h', 1006 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',
1047 ], 1007 ],
1048 }], 1008 }],
1049 ], 1009 ],
1050 } 1010 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698