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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 'common/gpu/media/v4l2_video_decode_accelerator.h', | 772 'common/gpu/media/v4l2_video_decode_accelerator.h', |
773 'common/gpu/media/v4l2_video_device.cc', | 773 'common/gpu/media/v4l2_video_device.cc', |
774 'common/gpu/media/v4l2_video_device.h', | 774 'common/gpu/media/v4l2_video_device.h', |
775 'common/gpu/media/v4l2_video_encode_accelerator.cc', | 775 'common/gpu/media/v4l2_video_encode_accelerator.cc', |
776 'common/gpu/media/v4l2_video_encode_accelerator.h', | 776 'common/gpu/media/v4l2_video_encode_accelerator.h', |
777 ], | 777 ], |
778 'include_dirs': [ | 778 'include_dirs': [ |
779 '<(DEPTH)/third_party/khronos', | 779 '<(DEPTH)/third_party/khronos', |
780 ], | 780 ], |
781 }], | 781 }], |
782 ['target_arch != "arm" and chromeos == 1', { | 782 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { |
783 'dependencies': [ | 783 'dependencies': [ |
784 '../media/media.gyp:media', | 784 '../media/media.gyp:media', |
785 '../third_party/libyuv/libyuv.gyp:libyuv', | 785 '../third_party/libyuv/libyuv.gyp:libyuv', |
786 ], | 786 ], |
787 'sources': [ | 787 'sources': [ |
788 'common/gpu/media/h264_dpb.cc', | 788 'common/gpu/media/h264_dpb.cc', |
789 'common/gpu/media/h264_dpb.h', | 789 'common/gpu/media/h264_dpb.h', |
790 'common/gpu/media/va_surface.h', | 790 'common/gpu/media/va_surface.h', |
791 'common/gpu/media/vaapi_h264_decoder.cc', | 791 'common/gpu/media/vaapi_h264_decoder.cc', |
792 'common/gpu/media/vaapi_h264_decoder.h', | 792 'common/gpu/media/vaapi_h264_decoder.h', |
793 'common/gpu/media/vaapi_picture.cc', | |
794 'common/gpu/media/vaapi_picture.h', | |
795 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 793 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
796 'common/gpu/media/vaapi_video_decode_accelerator.h', | 794 'common/gpu/media/vaapi_video_decode_accelerator.h', |
797 'common/gpu/media/vaapi_video_encode_accelerator.cc', | 795 'common/gpu/media/vaapi_video_encode_accelerator.cc', |
798 'common/gpu/media/vaapi_video_encode_accelerator.h', | 796 'common/gpu/media/vaapi_video_encode_accelerator.h', |
799 'common/gpu/media/vaapi_wrapper.cc', | 797 'common/gpu/media/vaapi_wrapper.cc', |
800 'common/gpu/media/vaapi_wrapper.h', | 798 'common/gpu/media/vaapi_wrapper.h', |
801 ], | 799 ], |
802 'conditions': [ | |
803 ['use_x11 == 1', { | |
804 'variables': { | |
805 'sig_files': [ | |
806 'common/gpu/media/va.sigs', | |
807 'common/gpu/media/va_x11.sigs', | |
808 ], | |
809 }, | |
810 'sources': [ | |
811 'common/gpu/media/vaapi_tfp_picture.cc', | |
812 'common/gpu/media/vaapi_tfp_picture.h', | |
813 ], | |
814 }, { | |
815 'variables': { | |
816 'sig_files': [ | |
817 'common/gpu/media/va.sigs', | |
818 ], | |
819 }, | |
820 }], | |
821 ], | |
822 'variables': { | 800 'variables': { |
823 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 801 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
824 'extra_header': 'common/gpu/media/va_stub_header.fragment', | 802 'extra_header': 'common/gpu/media/va_stub_header.fragment', |
| 803 'sig_files': ['common/gpu/media/va.sigs'], |
825 'outfile_type': 'posix_stubs', | 804 'outfile_type': 'posix_stubs', |
826 'stubs_filename_root': 'va_stubs', | 805 'stubs_filename_root': 'va_stubs', |
827 'project_path': 'content/common/gpu/media', | 806 'project_path': 'content/common/gpu/media', |
828 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 807 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
829 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', | 808 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
830 }, | 809 }, |
831 'include_dirs': [ | 810 'include_dirs': [ |
832 '<(DEPTH)/third_party/libva', | 811 '<(DEPTH)/third_party/libva', |
833 '<(DEPTH)/third_party/libyuv', | 812 '<(DEPTH)/third_party/libyuv', |
834 '<(output_root)', | 813 '<(output_root)', |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', | 932 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', |
954 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', | 933 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', |
955 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', | 934 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', |
956 'common/gpu/gpu_memory_buffer_factory_ozone.cc', | 935 'common/gpu/gpu_memory_buffer_factory_ozone.cc', |
957 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc', | 936 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc', |
958 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h', | 937 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h', |
959 ], | 938 ], |
960 }], | 939 }], |
961 ], | 940 ], |
962 } | 941 } |
OLD | NEW |