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 '../components/tracing.gyp:tracing', | 8 '../components/tracing.gyp:tracing', |
9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', | 9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', |
10 '../net/net.gyp:net', | 10 '../net/net.gyp:net', |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 'common/gpu/media/v4l2_video_decode_accelerator.h', | 755 'common/gpu/media/v4l2_video_decode_accelerator.h', |
756 'common/gpu/media/v4l2_video_device.cc', | 756 'common/gpu/media/v4l2_video_device.cc', |
757 'common/gpu/media/v4l2_video_device.h', | 757 'common/gpu/media/v4l2_video_device.h', |
758 'common/gpu/media/v4l2_video_encode_accelerator.cc', | 758 'common/gpu/media/v4l2_video_encode_accelerator.cc', |
759 'common/gpu/media/v4l2_video_encode_accelerator.h', | 759 'common/gpu/media/v4l2_video_encode_accelerator.h', |
760 ], | 760 ], |
761 'include_dirs': [ | 761 'include_dirs': [ |
762 '<(DEPTH)/third_party/khronos', | 762 '<(DEPTH)/third_party/khronos', |
763 ], | 763 ], |
764 }], | 764 }], |
765 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { | 765 ['target_arch != "arm" and chromeos == 1', { |
766 'dependencies': [ | 766 'dependencies': [ |
767 '../media/media.gyp:media', | 767 '../media/media.gyp:media', |
768 '../third_party/libyuv/libyuv.gyp:libyuv', | 768 '../third_party/libyuv/libyuv.gyp:libyuv', |
769 ], | 769 ], |
770 'sources': [ | 770 'sources': [ |
771 'common/gpu/media/h264_dpb.cc', | 771 'common/gpu/media/h264_dpb.cc', |
772 'common/gpu/media/h264_dpb.h', | 772 'common/gpu/media/h264_dpb.h', |
773 'common/gpu/media/va_surface.h', | 773 'common/gpu/media/va_surface.h', |
774 'common/gpu/media/vaapi_h264_decoder.cc', | 774 'common/gpu/media/vaapi_h264_decoder.cc', |
775 'common/gpu/media/vaapi_h264_decoder.h', | 775 'common/gpu/media/vaapi_h264_decoder.h', |
| 776 'common/gpu/media/vaapi_picture_provider.cc', |
| 777 'common/gpu/media/vaapi_picture_provider.h', |
776 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 778 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
777 'common/gpu/media/vaapi_video_decode_accelerator.h', | 779 'common/gpu/media/vaapi_video_decode_accelerator.h', |
778 'common/gpu/media/vaapi_video_encode_accelerator.cc', | 780 'common/gpu/media/vaapi_video_encode_accelerator.cc', |
779 'common/gpu/media/vaapi_video_encode_accelerator.h', | 781 'common/gpu/media/vaapi_video_encode_accelerator.h', |
780 'common/gpu/media/vaapi_wrapper.cc', | 782 'common/gpu/media/vaapi_wrapper.cc', |
781 'common/gpu/media/vaapi_wrapper.h', | 783 'common/gpu/media/vaapi_wrapper.h', |
782 ], | 784 ], |
| 785 'conditions': [ |
| 786 ['use_x11 == 1', { |
| 787 'variables': { |
| 788 'sig_files': [ |
| 789 'common/gpu/media/va.sigs', |
| 790 'common/gpu/media/va_x11.sigs', |
| 791 ], |
| 792 }, |
| 793 }], |
| 794 ['ozone_platform_gbm == 1', { |
| 795 'variables': { |
| 796 'sig_files': [ |
| 797 'common/gpu/media/va.sigs', |
| 798 'common/gpu/media/va_drm.sigs', |
| 799 ], |
| 800 }, |
| 801 }], |
| 802 ], |
783 'variables': { | 803 'variables': { |
784 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 804 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
785 'extra_header': 'common/gpu/media/va_stub_header.fragment', | 805 'extra_header': 'common/gpu/media/va_stub_header.fragment', |
786 'sig_files': ['common/gpu/media/va.sigs'], | |
787 'outfile_type': 'posix_stubs', | 806 'outfile_type': 'posix_stubs', |
788 'stubs_filename_root': 'va_stubs', | 807 'stubs_filename_root': 'va_stubs', |
789 'project_path': 'content/common/gpu/media', | 808 'project_path': 'content/common/gpu/media', |
790 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 809 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
791 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', | 810 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
792 }, | 811 }, |
793 'include_dirs': [ | 812 'include_dirs': [ |
794 '<(DEPTH)/third_party/libva', | 813 '<(DEPTH)/third_party/libva', |
795 '<(DEPTH)/third_party/libyuv', | 814 '<(DEPTH)/third_party/libyuv', |
796 '<(output_root)', | 815 '<(output_root)', |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 ], | 925 ], |
907 'sources': [ | 926 'sources': [ |
908 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', | 927 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', |
909 ], | 928 ], |
910 'sources!': [ | 929 'sources!': [ |
911 'common/gpu/client/gpu_memory_buffer_impl_linux.cc', | 930 'common/gpu/client/gpu_memory_buffer_impl_linux.cc', |
912 ], | 931 ], |
913 }], | 932 }], |
914 ], | 933 ], |
915 } | 934 } |
OLD | NEW |