| OLD | NEW |
| 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 | 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 | 17 # TODO: the dependency on gl_in_process_context should be decoupled from |
| 22 # content and moved to android_webview. See crbug.com/365797. | 18 # content and moved to android_webview. See crbug.com/365797. |
| 23 '../gpu/gpu.gyp:gl_in_process_context', | 19 '../gpu/gpu.gyp:gl_in_process_context', |
| 24 '../gpu/gpu.gyp:gpu', | 20 '../gpu/gpu.gyp:gpu', |
| 25 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings', | 21 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings', |
| 26 '../ipc/ipc.gyp:ipc', | 22 '../ipc/ipc.gyp:ipc', |
| 27 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo', | 23 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo', |
| 28 '../media/media.gyp:media', | 24 '../media/media.gyp:media', |
| 29 '../media/media.gyp:shared_memory_support', | 25 '../media/media.gyp:shared_memory_support', |
| 30 '../media/gpu/ipc/media_ipc.gyp:media_gpu_ipc_client', | 26 '../media/gpu/ipc/media_ipc.gyp:media_gpu_ipc_client', |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 '../base/base.gyp:base', | 84 '../base/base.gyp:base', |
| 89 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | 85 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 90 '../services/shell/shell.gyp:shell_public', | 86 '../services/shell/shell.gyp:shell_public', |
| 91 # The public content API headers directly include Blink API headers, so we | 87 # 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 | 88 # have to export the blink header settings so that relative paths in these |
| 93 # headers resolve correctly. | 89 # headers resolve correctly. |
| 94 '../third_party/WebKit/public/blink_headers.gyp:blink_headers', | 90 '../third_party/WebKit/public/blink_headers.gyp:blink_headers', |
| 95 '../ui/accessibility/accessibility.gyp:ax_gen', | 91 '../ui/accessibility/accessibility.gyp:ax_gen', |
| 96 ], | 92 ], |
| 97 'variables': { | 93 'variables': { |
| 98 'use_v4lplugin%': 0, | |
| 99 'use_v4l2_codec%': 0, | |
| 100 'public_common_sources': [ | 94 'public_common_sources': [ |
| 101 'public/common/appcache_info.h', | 95 'public/common/appcache_info.h', |
| 102 'public/common/bindings_policy.h', | 96 'public/common/bindings_policy.h', |
| 103 'public/common/browser_plugin_guest_mode.cc', | 97 'public/common/browser_plugin_guest_mode.cc', |
| 104 'public/common/browser_plugin_guest_mode.h', | 98 'public/common/browser_plugin_guest_mode.h', |
| 105 'public/common/browser_side_navigation_policy.cc', | 99 'public/common/browser_side_navigation_policy.cc', |
| 106 'public/common/browser_side_navigation_policy.h', | 100 'public/common/browser_side_navigation_policy.h', |
| 107 'public/common/child_process_host.h', | 101 'public/common/child_process_host.h', |
| 108 'public/common/child_process_host_delegate.cc', | 102 'public/common/child_process_host_delegate.cc', |
| 109 'public/common/child_process_host_delegate.h', | 103 'public/common/child_process_host_delegate.h', |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 'common/geofencing_messages.h', | 339 'common/geofencing_messages.h', |
| 346 'common/geofencing_types.cc', | 340 'common/geofencing_types.cc', |
| 347 'common/geofencing_types.h', | 341 'common/geofencing_types.h', |
| 348 'common/gin_java_bridge_messages.h', | 342 'common/gin_java_bridge_messages.h', |
| 349 'common/gpu/client/command_buffer_metrics.cc', | 343 'common/gpu/client/command_buffer_metrics.cc', |
| 350 'common/gpu/client/command_buffer_metrics.h', | 344 'common/gpu/client/command_buffer_metrics.h', |
| 351 'common/gpu/client/context_provider_command_buffer.cc', | 345 'common/gpu/client/context_provider_command_buffer.cc', |
| 352 'common/gpu/client/context_provider_command_buffer.h', | 346 'common/gpu/client/context_provider_command_buffer.h', |
| 353 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc', | 347 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc', |
| 354 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h', | 348 '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', | 349 'common/gpu_host_messages.h', |
| 373 'common/gpu_process_launch_causes.h', | 350 'common/gpu_process_launch_causes.h', |
| 374 'common/host_discardable_shared_memory_manager.cc', | 351 'common/host_discardable_shared_memory_manager.cc', |
| 375 'common/host_discardable_shared_memory_manager.h', | 352 'common/host_discardable_shared_memory_manager.h', |
| 376 'common/host_shared_bitmap_manager.cc', | 353 'common/host_shared_bitmap_manager.cc', |
| 377 'common/host_shared_bitmap_manager.h', | 354 'common/host_shared_bitmap_manager.h', |
| 378 'common/in_process_child_thread_params.cc', | 355 'common/in_process_child_thread_params.cc', |
| 379 'common/in_process_child_thread_params.h', | 356 'common/in_process_child_thread_params.h', |
| 380 'common/indexed_db/indexed_db_constants.h', | 357 'common/indexed_db/indexed_db_constants.h', |
| 381 'common/indexed_db/indexed_db_key.cc', | 358 'common/indexed_db/indexed_db_key.cc', |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 'target_conditions': [ | 564 'target_conditions': [ |
| 588 ['OS=="android" and <(use_seccomp_bpf)==1', { | 565 ['OS=="android" and <(use_seccomp_bpf)==1', { |
| 589 'sources/': [ | 566 'sources/': [ |
| 590 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$']
, | 567 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$']
, |
| 591 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'], | 568 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'], |
| 592 ], | 569 ], |
| 593 }], | 570 }], |
| 594 ], | 571 ], |
| 595 'conditions': [ | 572 'conditions': [ |
| 596 ['OS=="mac"', { | 573 ['OS=="mac"', { |
| 597 'dependencies': [ | 574 'dependencies': [ '../sandbox/sandbox.gyp:seatbelt' ], |
| 598 '../media/media.gyp:media', | 575 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/vt_stubs' ], |
| 599 '../sandbox/sandbox.gyp:seatbelt', | |
| 600 'app/resources/content_resources.gyp:content_resources', | |
| 601 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid
get_mac' | |
| 602 ], | |
| 603 'sources': [ | |
| 604 'common/gpu/media/vt_mac.h', | |
| 605 'common/gpu/media/vt_video_decode_accelerator_mac.cc', | |
| 606 'common/gpu/media/vt_video_decode_accelerator_mac.h', | |
| 607 'common/gpu/media/vt_video_encode_accelerator_mac.cc', | |
| 608 'common/gpu/media/vt_video_encode_accelerator_mac.h', | |
| 609 ], | |
| 610 'link_settings': { | |
| 611 'libraries': [ | |
| 612 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', | |
| 613 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework', | |
| 614 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', | |
| 615 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', | |
| 616 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
| 617 '$(SDKROOT)/usr/lib/libsandbox.dylib', | |
| 618 ], | |
| 619 }, | |
| 620 'variables': { | |
| 621 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | |
| 622 'extra_header': 'common/gpu/media/vt_stubs_header.fragment', | |
| 623 'sig_files': ['common/gpu/media/vt.sig'], | |
| 624 'outfile_type': 'posix_stubs', | |
| 625 'stubs_filename_root': 'vt_stubs', | |
| 626 'project_path': 'content/common/gpu/media', | |
| 627 'intermediate_dir': '<(INTERMEDIATE_DIR)', | |
| 628 'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs', | |
| 629 }, | |
| 630 'include_dirs': [ | |
| 631 '<(output_root)', | |
| 632 ], | |
| 633 'actions': [ | |
| 634 { | |
| 635 'action_name': 'generate_stubs', | |
| 636 'inputs': [ | |
| 637 '<(generate_stubs_script)', | |
| 638 '<(extra_header)', | |
| 639 '<@(sig_files)', | |
| 640 ], | |
| 641 'outputs': [ | |
| 642 '<(intermediate_dir)/<(stubs_filename_root).cc', | |
| 643 '<(output_root)/<(project_path)/<(stubs_filename_root).h', | |
| 644 ], | |
| 645 'action': ['python', | |
| 646 '<(generate_stubs_script)', | |
| 647 '-i', '<(intermediate_dir)', | |
| 648 '-o', '<(output_root)/<(project_path)', | |
| 649 '-t', '<(outfile_type)', | |
| 650 '-e', '<(extra_header)', | |
| 651 '-s', '<(stubs_filename_root)', | |
| 652 '-p', '<(project_path)', | |
| 653 '<@(_inputs)', | |
| 654 ], | |
| 655 'process_outputs_as_sources': 1, | |
| 656 'message': 'Generating VideoToolbox stubs for dynamic loading', | |
| 657 }, | |
| 658 ], | |
| 659 }], | 576 }], |
| 660 ['OS=="android"',{ | 577 ['OS=="android"',{ |
| 661 'link_settings': { | 578 'link_settings': { |
| 662 'libraries': [ | 579 'libraries': [ |
| 663 '-landroid', # ANativeWindow | 580 '-landroid', # ANativeWindow |
| 664 ], | 581 ], |
| 665 }, | 582 }, |
| 666 'dependencies': [ | 583 'dependencies': [ |
| 667 'content.gyp:content_jni_headers', | 584 'content.gyp:content_jni_headers', |
| 668 'content.gyp:common_aidl', | 585 'content.gyp:common_aidl', |
| (...skipping 27 matching lines...) Expand all Loading... |
| 696 'common/pepper_plugin_list.cc', | 613 'common/pepper_plugin_list.cc', |
| 697 'common/pepper_plugin_list.h', | 614 'common/pepper_plugin_list.h', |
| 698 'common/pepper_renderer_instance_data.cc', | 615 'common/pepper_renderer_instance_data.cc', |
| 699 'common/pepper_renderer_instance_data.h', | 616 'common/pepper_renderer_instance_data.h', |
| 700 'common/plugin_list.cc', | 617 'common/plugin_list.cc', |
| 701 'common/plugin_list.h', | 618 'common/plugin_list.h', |
| 702 'public/common/pepper_plugin_info.cc', | 619 'public/common/pepper_plugin_info.cc', |
| 703 'public/common/pepper_plugin_info.h', | 620 'public/common/pepper_plugin_info.h', |
| 704 ], | 621 ], |
| 705 }], | 622 }], |
| 706 ['OS=="android"', { | |
| 707 'dependencies': [ | |
| 708 '../media/media.gyp:media', | |
| 709 ], | |
| 710 'sources': [ | |
| 711 'common/gpu/media/android_copying_backing_strategy.cc', | |
| 712 'common/gpu/media/android_copying_backing_strategy.h', | |
| 713 'common/gpu/media/android_deferred_rendering_backing_strategy.cc', | |
| 714 'common/gpu/media/android_deferred_rendering_backing_strategy.h', | |
| 715 'common/gpu/media/android_video_decode_accelerator.cc', | |
| 716 'common/gpu/media/android_video_decode_accelerator.h', | |
| 717 'common/gpu/media/avda_codec_image.cc', | |
| 718 'common/gpu/media/avda_codec_image.h', | |
| 719 'common/gpu/media/avda_return_on_failure.h', | |
| 720 'common/gpu/media/avda_shared_state.cc', | |
| 721 'common/gpu/media/avda_shared_state.h', | |
| 722 'common/gpu/media/avda_state_provider.h', | |
| 723 ], | |
| 724 }], | |
| 725 ['OS=="android" and enable_webrtc==1', { | |
| 726 'dependencies': [ | |
| 727 '../third_party/libyuv/libyuv.gyp:libyuv', | |
| 728 ], | |
| 729 'sources': [ | |
| 730 'common/gpu/media/android_video_encode_accelerator.cc', | |
| 731 'common/gpu/media/android_video_encode_accelerator.h', | |
| 732 ], | |
| 733 }], | |
| 734 ['enable_webrtc==1', { | 623 ['enable_webrtc==1', { |
| 735 'dependencies': [ | 624 'dependencies': [ |
| 736 '../third_party/libjingle/libjingle.gyp:libjingle', | 625 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 737 ], | 626 ], |
| 738 'sources': [ | 627 'sources': [ |
| 739 'public/common/webrtc_ip_handling_policy.cc', | 628 'public/common/webrtc_ip_handling_policy.cc', |
| 740 'public/common/webrtc_ip_handling_policy.h', | 629 'public/common/webrtc_ip_handling_policy.h', |
| 741 ], | 630 ], |
| 742 }], | 631 }], |
| 743 ['use_v4lplugin==1 and chromeos==1', { | |
| 744 'defines': [ | |
| 745 'USE_LIBV4L2' | |
| 746 ], | |
| 747 'variables': { | |
| 748 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | |
| 749 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment', | |
| 750 'sig_files': ['common/gpu/media/v4l2.sig'], | |
| 751 'outfile_type': 'posix_stubs', | |
| 752 'stubs_filename_root': 'v4l2_stubs', | |
| 753 'project_path': 'content/common/gpu/media', | |
| 754 'intermediate_dir': '<(INTERMEDIATE_DIR)', | |
| 755 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2', | |
| 756 }, | |
| 757 'include_dirs': [ | |
| 758 '<(output_root)', | |
| 759 ], | |
| 760 'actions': [ | |
| 761 { | |
| 762 'action_name': 'generate_stubs', | |
| 763 'inputs': [ | |
| 764 '<(generate_stubs_script)', | |
| 765 '<(extra_header)', | |
| 766 '<@(sig_files)', | |
| 767 ], | |
| 768 'outputs': [ | |
| 769 '<(intermediate_dir)/<(stubs_filename_root).cc', | |
| 770 '<(output_root)/<(project_path)/<(stubs_filename_root).h', | |
| 771 ], | |
| 772 'action': ['python', | |
| 773 '<(generate_stubs_script)', | |
| 774 '-i', '<(intermediate_dir)', | |
| 775 '-o', '<(output_root)/<(project_path)', | |
| 776 '-t', '<(outfile_type)', | |
| 777 '-e', '<(extra_header)', | |
| 778 '-s', '<(stubs_filename_root)', | |
| 779 '-p', '<(project_path)', | |
| 780 '<@(_inputs)', | |
| 781 ], | |
| 782 'process_outputs_as_sources': 1, | |
| 783 'message': 'Generating libv4l2 stubs for dynamic loading', | |
| 784 }, | |
| 785 ], | |
| 786 }], | |
| 787 ['chromeos==1', { | |
| 788 'sources': [ | |
| 789 'common/gpu/media/accelerated_video_decoder.h', | |
| 790 'common/gpu/media/h264_decoder.cc', | |
| 791 'common/gpu/media/h264_decoder.h', | |
| 792 'common/gpu/media/h264_dpb.cc', | |
| 793 'common/gpu/media/h264_dpb.h', | |
| 794 'common/gpu/media/vp8_decoder.cc', | |
| 795 'common/gpu/media/vp8_decoder.h', | |
| 796 'common/gpu/media/vp8_picture.cc', | |
| 797 'common/gpu/media/vp8_picture.h', | |
| 798 'common/gpu/media/vp9_decoder.cc', | |
| 799 'common/gpu/media/vp9_decoder.h', | |
| 800 'common/gpu/media/vp9_picture.cc', | |
| 801 'common/gpu/media/vp9_picture.h', | |
| 802 ], | |
| 803 }], | |
| 804 ['chromeos==1 and use_v4l2_codec==1', { | |
| 805 'direct_dependent_settings': { | |
| 806 'defines': [ | |
| 807 'USE_V4L2_CODEC' | |
| 808 ], | |
| 809 }, | |
| 810 'defines': [ | |
| 811 'USE_V4L2_CODEC' | |
| 812 ], | |
| 813 'dependencies': [ | |
| 814 '../media/media.gyp:media', | |
| 815 '../third_party/libyuv/libyuv.gyp:libyuv', | |
| 816 ], | |
| 817 'sources': [ | |
| 818 'common/gpu/media/generic_v4l2_device.cc', | |
| 819 'common/gpu/media/generic_v4l2_device.h', | |
| 820 'common/gpu/media/v4l2_device.cc', | |
| 821 'common/gpu/media/v4l2_device.h', | |
| 822 'common/gpu/media/v4l2_image_processor.cc', | |
| 823 'common/gpu/media/v4l2_image_processor.h', | |
| 824 'common/gpu/media/v4l2_jpeg_decode_accelerator.cc', | |
| 825 'common/gpu/media/v4l2_jpeg_decode_accelerator.h', | |
| 826 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc', | |
| 827 'common/gpu/media/v4l2_slice_video_decode_accelerator.h', | |
| 828 'common/gpu/media/v4l2_video_decode_accelerator.cc', | |
| 829 'common/gpu/media/v4l2_video_decode_accelerator.h', | |
| 830 'common/gpu/media/v4l2_video_encode_accelerator.cc', | |
| 831 'common/gpu/media/v4l2_video_encode_accelerator.h', | |
| 832 ], | |
| 833 'include_dirs': [ | |
| 834 '<(DEPTH)/third_party/khronos', | |
| 835 ], | |
| 836 }], | |
| 837 ['target_arch == "arm" and chromeos == 1', { | |
| 838 'sources': [ | |
| 839 'common/gpu/media/tegra_v4l2_device.cc', | |
| 840 'common/gpu/media/tegra_v4l2_device.h', | |
| 841 ], | |
| 842 }], | |
| 843 ['target_arch != "arm" and chromeos == 1', { | |
| 844 'dependencies': [ | |
| 845 '../media/media.gyp:media', | |
| 846 '../third_party/libyuv/libyuv.gyp:libyuv', | |
| 847 ], | |
| 848 'sources': [ | |
| 849 'common/gpu/media/va_surface.h', | |
| 850 'common/gpu/media/vaapi_jpeg_decode_accelerator.cc', | |
| 851 'common/gpu/media/vaapi_jpeg_decode_accelerator.h', | |
| 852 'common/gpu/media/vaapi_jpeg_decoder.cc', | |
| 853 'common/gpu/media/vaapi_jpeg_decoder.h', | |
| 854 'common/gpu/media/vaapi_picture.cc', | |
| 855 'common/gpu/media/vaapi_picture.h', | |
| 856 'common/gpu/media/vaapi_video_decode_accelerator.cc', | |
| 857 'common/gpu/media/vaapi_video_decode_accelerator.h', | |
| 858 'common/gpu/media/vaapi_video_encode_accelerator.cc', | |
| 859 'common/gpu/media/vaapi_video_encode_accelerator.h', | |
| 860 'common/gpu/media/vaapi_wrapper.cc', | |
| 861 'common/gpu/media/vaapi_wrapper.h', | |
| 862 ], | |
| 863 'conditions': [ | |
| 864 ['use_x11 == 1', { | |
| 865 'variables': { | |
| 866 'sig_files': [ | |
| 867 'common/gpu/media/va.sigs', | |
| 868 'common/gpu/media/va_x11.sigs', | |
| 869 ], | |
| 870 }, | |
| 871 'sources': [ | |
| 872 'common/gpu/media/vaapi_tfp_picture.cc', | |
| 873 'common/gpu/media/vaapi_tfp_picture.h', | |
| 874 ], | |
| 875 }, { | |
| 876 'variables': { | |
| 877 'sig_files': [ | |
| 878 'common/gpu/media/va.sigs', | |
| 879 'common/gpu/media/va_drm.sigs', | |
| 880 ], | |
| 881 }, | |
| 882 'sources': [ | |
| 883 'common/gpu/media/vaapi_drm_picture.cc', | |
| 884 'common/gpu/media/vaapi_drm_picture.h', | |
| 885 ], | |
| 886 }], | |
| 887 ], | |
| 888 'variables': { | |
| 889 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | |
| 890 'extra_header': 'common/gpu/media/va_stub_header.fragment', | |
| 891 'outfile_type': 'posix_stubs', | |
| 892 'stubs_filename_root': 'va_stubs', | |
| 893 'project_path': 'content/common/gpu/media', | |
| 894 'intermediate_dir': '<(INTERMEDIATE_DIR)', | |
| 895 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', | |
| 896 }, | |
| 897 'include_dirs': [ | |
| 898 '<(DEPTH)/third_party/libva', | |
| 899 '<(DEPTH)/third_party/libyuv', | |
| 900 '<(output_root)', | |
| 901 ], | |
| 902 'actions': [ | |
| 903 { | |
| 904 'action_name': 'generate_stubs', | |
| 905 'inputs': [ | |
| 906 '<(generate_stubs_script)', | |
| 907 '<(extra_header)', | |
| 908 '<@(sig_files)', | |
| 909 ], | |
| 910 'outputs': [ | |
| 911 '<(intermediate_dir)/<(stubs_filename_root).cc', | |
| 912 '<(output_root)/<(project_path)/<(stubs_filename_root).h', | |
| 913 ], | |
| 914 'action': ['python', | |
| 915 '<(generate_stubs_script)', | |
| 916 '-i', '<(intermediate_dir)', | |
| 917 '-o', '<(output_root)/<(project_path)', | |
| 918 '-t', '<(outfile_type)', | |
| 919 '-e', '<(extra_header)', | |
| 920 '-s', '<(stubs_filename_root)', | |
| 921 '-p', '<(project_path)', | |
| 922 '<@(_inputs)', | |
| 923 ], | |
| 924 'process_outputs_as_sources': 1, | |
| 925 'message': 'Generating libva stubs for dynamic loading', | |
| 926 }, | |
| 927 ] | |
| 928 }], | |
| 929 ['OS=="win"', { | |
| 930 'dependencies': [ | |
| 931 '../media/media.gyp:media', | |
| 932 '../ui/gl/gl.gyp:gl', | |
| 933 ], | |
| 934 'link_settings': { | |
| 935 'libraries': [ | |
| 936 '-ld3d9.lib', | |
| 937 '-ld3d11.lib', | |
| 938 '-ldxva2.lib', | |
| 939 '-lstrmiids.lib', | |
| 940 '-lmf.lib', | |
| 941 '-lmfplat.lib', | |
| 942 '-lmfuuid.lib', | |
| 943 ], | |
| 944 'msvs_settings': { | |
| 945 'VCLinkerTool': { | |
| 946 'DelayLoadDLLs': [ | |
| 947 'd3d9.dll', | |
| 948 'd3d11.dll', | |
| 949 'dxva2.dll', | |
| 950 'mf.dll', | |
| 951 'mfplat.dll', | |
| 952 ], | |
| 953 }, | |
| 954 }, | |
| 955 }, | |
| 956 'sources': [ | |
| 957 'common/gpu/media/dxva_video_decode_accelerator_win.cc', | |
| 958 'common/gpu/media/dxva_video_decode_accelerator_win.h', | |
| 959 ], | |
| 960 'include_dirs': [ | |
| 961 '<(DEPTH)/third_party/khronos', | |
| 962 ], | |
| 963 }], | |
| 964 ['use_seccomp_bpf==0', { | 632 ['use_seccomp_bpf==0', { |
| 965 'sources!': [ | 633 'sources!': [ |
| 966 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc', | 634 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc', |
| 967 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h', | 635 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h', |
| 968 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc', | 636 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc', |
| 969 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h', | 637 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h', |
| 970 'common/sandbox_linux/bpf_gpu_policy_linux.cc', | 638 'common/sandbox_linux/bpf_gpu_policy_linux.cc', |
| 971 'common/sandbox_linux/bpf_gpu_policy_linux.h', | 639 'common/sandbox_linux/bpf_gpu_policy_linux.h', |
| 972 'common/sandbox_linux/bpf_ppapi_policy_linux.cc', | 640 'common/sandbox_linux/bpf_ppapi_policy_linux.cc', |
| 973 'common/sandbox_linux/bpf_ppapi_policy_linux.h', | 641 'common/sandbox_linux/bpf_ppapi_policy_linux.h', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 993 'sources!': [ | 661 'sources!': [ |
| 994 'common/cursors/webcursor_ozone.cc', | 662 'common/cursors/webcursor_ozone.cc', |
| 995 'common/font_list_ozone.cc', | 663 'common/font_list_ozone.cc', |
| 996 'common/gpu/gpu_memory_buffer_factory_ozone.cc', | 664 'common/gpu/gpu_memory_buffer_factory_ozone.cc', |
| 997 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc', | 665 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc', |
| 998 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h', | 666 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h', |
| 999 ], | 667 ], |
| 1000 }], | 668 }], |
| 1001 ], | 669 ], |
| 1002 } | 670 } |
| OLD | NEW |