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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
746 'common/gpu/media/v4l2_video_decode_accelerator.h', | 746 'common/gpu/media/v4l2_video_decode_accelerator.h', |
747 'common/gpu/media/v4l2_video_device.cc', | 747 'common/gpu/media/v4l2_video_device.cc', |
748 'common/gpu/media/v4l2_video_device.h', | 748 'common/gpu/media/v4l2_video_device.h', |
749 'common/gpu/media/v4l2_video_encode_accelerator.cc', | 749 'common/gpu/media/v4l2_video_encode_accelerator.cc', |
750 'common/gpu/media/v4l2_video_encode_accelerator.h', | 750 'common/gpu/media/v4l2_video_encode_accelerator.h', |
751 ], | 751 ], |
752 'include_dirs': [ | 752 'include_dirs': [ |
753 '<(DEPTH)/third_party/khronos', | 753 '<(DEPTH)/third_party/khronos', |
754 ], | 754 ], |
755 }], | 755 }], |
756 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { | 756 ['target_arch != "arm" and chromeos == 1', { |
757 'dependencies': [ | 757 'dependencies': [ |
758 '../media/media.gyp:media', | 758 '../media/media.gyp:media', |
759 '../third_party/libyuv/libyuv.gyp:libyuv', | 759 '../third_party/libyuv/libyuv.gyp:libyuv', |
760 ], | 760 ], |
761 'sources': [ | 761 'sources': [ |
762 'common/gpu/media/h264_dpb.cc', | 762 'common/gpu/media/h264_dpb.cc', |
763 'common/gpu/media/h264_dpb.h', | 763 'common/gpu/media/h264_dpb.h', |
764 'common/gpu/media/va_surface.h', | 764 'common/gpu/media/va_surface.h', |
765 'common/gpu/media/vaapi_h264_decoder.cc', | 765 'common/gpu/media/vaapi_h264_decoder.cc', |
766 'common/gpu/media/vaapi_h264_decoder.h', | 766 'common/gpu/media/vaapi_h264_decoder.h', |
767 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 767 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
768 'common/gpu/media/vaapi_video_decode_accelerator.h', | 768 'common/gpu/media/vaapi_video_decode_accelerator.h', |
769 'common/gpu/media/vaapi_video_encode_accelerator.cc', | 769 'common/gpu/media/vaapi_video_encode_accelerator.cc', |
770 'common/gpu/media/vaapi_video_encode_accelerator.h', | 770 'common/gpu/media/vaapi_video_encode_accelerator.h', |
771 'common/gpu/media/vaapi_wrapper.cc', | 771 'common/gpu/media/vaapi_wrapper.cc', |
772 'common/gpu/media/vaapi_wrapper.h', | 772 'common/gpu/media/vaapi_wrapper.h', |
773 ], | 773 ], |
774 'conditions': [ | |
775 ['use_x11 == 1', { | |
776 'variables': { | |
777 'sig_files': [ | |
778 'common/gpu/media/va.sigs', | |
779 'common/gpu/media/va_x11.sigs', | |
780 ], | |
781 }, | |
782 }], | |
783 ['ozone_platform_gbm == 1', { | |
784 'variables': { | |
785 'sig_files': [ | |
786 'common/gpu/media/va.sigs', | |
787 'common/gpu/media/va_ozone.sigs', | |
spang
2014/08/22 17:20:23
call this va_drm.sigs
| |
788 ], | |
789 }, | |
790 }], | |
791 ], | |
774 'variables': { | 792 'variables': { |
775 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 793 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
776 'extra_header': 'common/gpu/media/va_stub_header.fragment', | 794 'extra_header': 'common/gpu/media/va_stub_header.fragment', |
777 'sig_files': ['common/gpu/media/va.sigs'], | |
778 'outfile_type': 'posix_stubs', | 795 'outfile_type': 'posix_stubs', |
779 'stubs_filename_root': 'va_stubs', | 796 'stubs_filename_root': 'va_stubs', |
780 'project_path': 'content/common/gpu/media', | 797 'project_path': 'content/common/gpu/media', |
781 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 798 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
782 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', | 799 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
783 }, | 800 }, |
784 'include_dirs': [ | 801 'include_dirs': [ |
785 '<(DEPTH)/third_party/libva', | 802 '<(DEPTH)/third_party/libva', |
786 '<(DEPTH)/third_party/libyuv', | 803 '<(DEPTH)/third_party/libyuv', |
787 '<(output_root)', | 804 '<(output_root)', |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
897 ], | 914 ], |
898 'sources': [ | 915 'sources': [ |
899 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', | 916 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', |
900 ], | 917 ], |
901 'sources!': [ | 918 'sources!': [ |
902 'common/gpu/client/gpu_memory_buffer_impl_linux.cc', | 919 'common/gpu/client/gpu_memory_buffer_impl_linux.cc', |
903 ], | 920 ], |
904 }], | 921 }], |
905 ], | 922 ], |
906 } | 923 } |
OLD | NEW |