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_picture_provider.cc', |
| 768 'common/gpu/media/vaapi_picture_provider.h', |
767 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 769 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
768 'common/gpu/media/vaapi_video_decode_accelerator.h', | 770 'common/gpu/media/vaapi_video_decode_accelerator.h', |
769 'common/gpu/media/vaapi_video_encode_accelerator.cc', | 771 'common/gpu/media/vaapi_video_encode_accelerator.cc', |
770 'common/gpu/media/vaapi_video_encode_accelerator.h', | 772 'common/gpu/media/vaapi_video_encode_accelerator.h', |
771 'common/gpu/media/vaapi_wrapper.cc', | 773 'common/gpu/media/vaapi_wrapper.cc', |
772 'common/gpu/media/vaapi_wrapper.h', | 774 'common/gpu/media/vaapi_wrapper.h', |
773 ], | 775 ], |
| 776 'conditions': [ |
| 777 ['use_x11 == 1', { |
| 778 'variables': { |
| 779 'sig_files': [ |
| 780 'common/gpu/media/va.sigs', |
| 781 'common/gpu/media/va_x11.sigs', |
| 782 ], |
| 783 }, |
| 784 }], |
| 785 ['ozone_platform_gbm == 1', { |
| 786 'variables': { |
| 787 'sig_files': [ |
| 788 'common/gpu/media/va.sigs', |
| 789 'common/gpu/media/va_drm.sigs', |
| 790 ], |
| 791 }, |
| 792 }], |
| 793 ], |
774 'variables': { | 794 'variables': { |
775 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 795 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
776 'extra_header': 'common/gpu/media/va_stub_header.fragment', | 796 'extra_header': 'common/gpu/media/va_stub_header.fragment', |
777 'sig_files': ['common/gpu/media/va.sigs'], | |
778 'outfile_type': 'posix_stubs', | 797 'outfile_type': 'posix_stubs', |
779 'stubs_filename_root': 'va_stubs', | 798 'stubs_filename_root': 'va_stubs', |
780 'project_path': 'content/common/gpu/media', | 799 'project_path': 'content/common/gpu/media', |
781 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 800 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
782 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', | 801 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
783 }, | 802 }, |
784 'include_dirs': [ | 803 'include_dirs': [ |
785 '<(DEPTH)/third_party/libva', | 804 '<(DEPTH)/third_party/libva', |
786 '<(DEPTH)/third_party/libyuv', | 805 '<(DEPTH)/third_party/libyuv', |
787 '<(output_root)', | 806 '<(output_root)', |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 ], | 916 ], |
898 'sources': [ | 917 'sources': [ |
899 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', | 918 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', |
900 ], | 919 ], |
901 'sources!': [ | 920 'sources!': [ |
902 'common/gpu/client/gpu_memory_buffer_impl_linux.cc', | 921 'common/gpu/client/gpu_memory_buffer_impl_linux.cc', |
903 ], | 922 ], |
904 }], | 923 }], |
905 ], | 924 ], |
906 } | 925 } |
OLD | NEW |