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