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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/grcontext_for_gles2_interface.cc', | 347 'common/gpu/client/grcontext_for_gles2_interface.cc', |
354 'common/gpu/client/grcontext_for_gles2_interface.h', | 348 'common/gpu/client/grcontext_for_gles2_interface.h', |
355 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc', | 349 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc', |
356 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h', | 350 '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', | 351 'common/gpu_host_messages.h', |
375 'common/gpu_process_launch_causes.h', | 352 'common/gpu_process_launch_causes.h', |
376 'common/host_discardable_shared_memory_manager.cc', | 353 'common/host_discardable_shared_memory_manager.cc', |
377 'common/host_discardable_shared_memory_manager.h', | 354 'common/host_discardable_shared_memory_manager.h', |
378 'common/host_shared_bitmap_manager.cc', | 355 'common/host_shared_bitmap_manager.cc', |
379 'common/host_shared_bitmap_manager.h', | 356 'common/host_shared_bitmap_manager.h', |
380 'common/in_process_child_thread_params.cc', | 357 'common/in_process_child_thread_params.cc', |
381 'common/in_process_child_thread_params.h', | 358 'common/in_process_child_thread_params.h', |
382 'common/indexed_db/indexed_db_constants.h', | 359 'common/indexed_db/indexed_db_constants.h', |
383 'common/indexed_db/indexed_db_key.cc', | 360 'common/indexed_db/indexed_db_key.cc', |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 ], | 566 ], |
590 'target_conditions': [ | 567 'target_conditions': [ |
591 ['OS=="android" and <(use_seccomp_bpf)==1', { | 568 ['OS=="android" and <(use_seccomp_bpf)==1', { |
592 'sources/': [ | 569 'sources/': [ |
593 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$']
, | 570 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$']
, |
594 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'], | 571 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'], |
595 ], | 572 ], |
596 }], | 573 }], |
597 ], | 574 ], |
598 'conditions': [ | 575 'conditions': [ |
599 ['OS=="mac"', { | |
600 'dependencies': [ | |
601 '../media/media.gyp:media', | |
602 '../sandbox/sandbox.gyp:seatbelt', | |
603 'app/resources/content_resources.gyp:content_resources', | |
604 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid
get_mac' | |
605 ], | |
606 'sources': [ | |
607 'common/gpu/media/vt_mac.h', | |
608 'common/gpu/media/vt_video_decode_accelerator_mac.cc', | |
609 'common/gpu/media/vt_video_decode_accelerator_mac.h', | |
610 'common/gpu/media/vt_video_encode_accelerator_mac.cc', | |
611 'common/gpu/media/vt_video_encode_accelerator_mac.h', | |
612 ], | |
613 'link_settings': { | |
614 'libraries': [ | |
615 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', | |
616 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework', | |
617 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', | |
618 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', | |
619 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
620 '$(SDKROOT)/usr/lib/libsandbox.dylib', | |
621 ], | |
622 }, | |
623 'variables': { | |
624 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | |
625 'extra_header': 'common/gpu/media/vt_stubs_header.fragment', | |
626 'sig_files': ['common/gpu/media/vt.sig'], | |
627 'outfile_type': 'posix_stubs', | |
628 'stubs_filename_root': 'vt_stubs', | |
629 'project_path': 'content/common/gpu/media', | |
630 'intermediate_dir': '<(INTERMEDIATE_DIR)', | |
631 'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs', | |
632 }, | |
633 'include_dirs': [ | |
634 '<(output_root)', | |
635 ], | |
636 'actions': [ | |
637 { | |
638 'action_name': 'generate_stubs', | |
639 'inputs': [ | |
640 '<(generate_stubs_script)', | |
641 '<(extra_header)', | |
642 '<@(sig_files)', | |
643 ], | |
644 'outputs': [ | |
645 '<(intermediate_dir)/<(stubs_filename_root).cc', | |
646 '<(output_root)/<(project_path)/<(stubs_filename_root).h', | |
647 ], | |
648 'action': ['python', | |
649 '<(generate_stubs_script)', | |
650 '-i', '<(intermediate_dir)', | |
651 '-o', '<(output_root)/<(project_path)', | |
652 '-t', '<(outfile_type)', | |
653 '-e', '<(extra_header)', | |
654 '-s', '<(stubs_filename_root)', | |
655 '-p', '<(project_path)', | |
656 '<@(_inputs)', | |
657 ], | |
658 'process_outputs_as_sources': 1, | |
659 'message': 'Generating VideoToolbox stubs for dynamic loading', | |
660 }, | |
661 ], | |
662 }], | |
663 ['OS=="android"',{ | 576 ['OS=="android"',{ |
664 'link_settings': { | 577 'link_settings': { |
665 'libraries': [ | 578 'libraries': [ |
666 '-landroid', # ANativeWindow | 579 '-landroid', # ANativeWindow |
667 ], | 580 ], |
668 }, | 581 }, |
669 'dependencies': [ | 582 'dependencies': [ |
670 'content.gyp:content_jni_headers', | 583 'content.gyp:content_jni_headers', |
671 'content.gyp:common_aidl', | 584 'content.gyp:common_aidl', |
672 ], | 585 ], |
(...skipping 26 matching lines...) Expand all Loading... |
699 'common/pepper_plugin_list.cc', | 612 'common/pepper_plugin_list.cc', |
700 'common/pepper_plugin_list.h', | 613 'common/pepper_plugin_list.h', |
701 'common/pepper_renderer_instance_data.cc', | 614 'common/pepper_renderer_instance_data.cc', |
702 'common/pepper_renderer_instance_data.h', | 615 'common/pepper_renderer_instance_data.h', |
703 'common/plugin_list.cc', | 616 'common/plugin_list.cc', |
704 'common/plugin_list.h', | 617 'common/plugin_list.h', |
705 'public/common/pepper_plugin_info.cc', | 618 'public/common/pepper_plugin_info.cc', |
706 'public/common/pepper_plugin_info.h', | 619 'public/common/pepper_plugin_info.h', |
707 ], | 620 ], |
708 }], | 621 }], |
709 ['OS=="android"', { | |
710 'dependencies': [ | |
711 '../media/media.gyp:media', | |
712 ], | |
713 'sources': [ | |
714 'common/gpu/media/android_copying_backing_strategy.cc', | |
715 'common/gpu/media/android_copying_backing_strategy.h', | |
716 'common/gpu/media/android_deferred_rendering_backing_strategy.cc', | |
717 'common/gpu/media/android_deferred_rendering_backing_strategy.h', | |
718 'common/gpu/media/android_video_decode_accelerator.cc', | |
719 'common/gpu/media/android_video_decode_accelerator.h', | |
720 'common/gpu/media/avda_codec_image.cc', | |
721 'common/gpu/media/avda_codec_image.h', | |
722 'common/gpu/media/avda_return_on_failure.h', | |
723 'common/gpu/media/avda_shared_state.cc', | |
724 'common/gpu/media/avda_shared_state.h', | |
725 'common/gpu/media/avda_state_provider.h', | |
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', { | 622 ['enable_webrtc==1', { |
738 'dependencies': [ | 623 'dependencies': [ |
739 '../third_party/libjingle/libjingle.gyp:libjingle', | 624 '../third_party/libjingle/libjingle.gyp:libjingle', |
740 ], | 625 ], |
741 'sources': [ | 626 'sources': [ |
742 'public/common/webrtc_ip_handling_policy.cc', | 627 'public/common/webrtc_ip_handling_policy.cc', |
743 'public/common/webrtc_ip_handling_policy.h', | 628 'public/common/webrtc_ip_handling_policy.h', |
744 ], | 629 ], |
745 }], | 630 }], |
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', { | 631 ['use_seccomp_bpf==0', { |
968 'sources!': [ | 632 'sources!': [ |
969 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc', | 633 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc', |
970 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h', | 634 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h', |
971 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc', | 635 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc', |
972 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h', | 636 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h', |
973 'common/sandbox_linux/bpf_gpu_policy_linux.cc', | 637 'common/sandbox_linux/bpf_gpu_policy_linux.cc', |
974 'common/sandbox_linux/bpf_gpu_policy_linux.h', | 638 'common/sandbox_linux/bpf_gpu_policy_linux.h', |
975 'common/sandbox_linux/bpf_ppapi_policy_linux.cc', | 639 'common/sandbox_linux/bpf_ppapi_policy_linux.cc', |
976 'common/sandbox_linux/bpf_ppapi_policy_linux.h', | 640 'common/sandbox_linux/bpf_ppapi_policy_linux.h', |
(...skipping 19 matching lines...) Expand all Loading... |
996 'sources!': [ | 660 'sources!': [ |
997 'common/cursors/webcursor_ozone.cc', | 661 'common/cursors/webcursor_ozone.cc', |
998 'common/font_list_ozone.cc', | 662 'common/font_list_ozone.cc', |
999 'common/gpu/gpu_memory_buffer_factory_ozone.cc', | 663 'common/gpu/gpu_memory_buffer_factory_ozone.cc', |
1000 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc', | 664 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc', |
1001 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h', | 665 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h', |
1002 ], | 666 ], |
1003 }], | 667 }], |
1004 ], | 668 ], |
1005 } | 669 } |
OLD | NEW |