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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 'common/gpu/media/v4l2_video_decode_accelerator.h', | 765 'common/gpu/media/v4l2_video_decode_accelerator.h', |
766 'common/gpu/media/v4l2_video_device.cc', | 766 'common/gpu/media/v4l2_video_device.cc', |
767 'common/gpu/media/v4l2_video_device.h', | 767 'common/gpu/media/v4l2_video_device.h', |
768 'common/gpu/media/v4l2_video_encode_accelerator.cc', | 768 'common/gpu/media/v4l2_video_encode_accelerator.cc', |
769 'common/gpu/media/v4l2_video_encode_accelerator.h', | 769 'common/gpu/media/v4l2_video_encode_accelerator.h', |
770 ], | 770 ], |
771 'include_dirs': [ | 771 'include_dirs': [ |
772 '<(DEPTH)/third_party/khronos', | 772 '<(DEPTH)/third_party/khronos', |
773 ], | 773 ], |
774 }], | 774 }], |
775 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { | 775 ['target_arch != "arm" and chromeos == 1', { |
776 'dependencies': [ | 776 'dependencies': [ |
777 '../media/media.gyp:media', | 777 '../media/media.gyp:media', |
778 '../third_party/libyuv/libyuv.gyp:libyuv', | 778 '../third_party/libyuv/libyuv.gyp:libyuv', |
779 ], | 779 ], |
780 'sources': [ | 780 'sources': [ |
781 'common/gpu/media/h264_dpb.cc', | 781 'common/gpu/media/h264_dpb.cc', |
782 'common/gpu/media/h264_dpb.h', | 782 'common/gpu/media/h264_dpb.h', |
783 'common/gpu/media/va_surface.h', | 783 'common/gpu/media/va_surface.h', |
784 'common/gpu/media/vaapi_h264_decoder.cc', | 784 'common/gpu/media/vaapi_h264_decoder.cc', |
785 'common/gpu/media/vaapi_h264_decoder.h', | 785 'common/gpu/media/vaapi_h264_decoder.h', |
| 786 'common/gpu/media/vaapi_picture.h', |
786 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 787 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
787 'common/gpu/media/vaapi_video_decode_accelerator.h', | 788 'common/gpu/media/vaapi_video_decode_accelerator.h', |
788 'common/gpu/media/vaapi_video_encode_accelerator.cc', | 789 'common/gpu/media/vaapi_video_encode_accelerator.cc', |
789 'common/gpu/media/vaapi_video_encode_accelerator.h', | 790 'common/gpu/media/vaapi_video_encode_accelerator.h', |
790 'common/gpu/media/vaapi_wrapper.cc', | 791 'common/gpu/media/vaapi_wrapper.cc', |
791 'common/gpu/media/vaapi_wrapper.h', | 792 'common/gpu/media/vaapi_wrapper.h', |
792 ], | 793 ], |
| 794 'conditions': [ |
| 795 ['use_x11 == 1', { |
| 796 'variables': { |
| 797 'sig_files': [ |
| 798 'common/gpu/media/va.sigs', |
| 799 'common/gpu/media/va_x11.sigs', |
| 800 ], |
| 801 }, |
| 802 'sources': [ |
| 803 'common/gpu/media/vaapi_tfp_picture.cc', |
| 804 'common/gpu/media/vaapi_tfp_picture.h', |
| 805 ], |
| 806 }, { |
| 807 'variables': { |
| 808 'sig_files': [ |
| 809 'common/gpu/media/va.sigs', |
| 810 'common/gpu/media/va_drm.sigs', |
| 811 ], |
| 812 }, |
| 813 'sources': [ |
| 814 'common/gpu/media/vaapi_drm_picture.cc', |
| 815 'common/gpu/media/vaapi_drm_picture.h', |
| 816 ], |
| 817 }], |
| 818 ], |
793 'variables': { | 819 'variables': { |
794 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 820 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
795 'extra_header': 'common/gpu/media/va_stub_header.fragment', | 821 'extra_header': 'common/gpu/media/va_stub_header.fragment', |
796 'sig_files': ['common/gpu/media/va.sigs'], | |
797 'outfile_type': 'posix_stubs', | 822 'outfile_type': 'posix_stubs', |
798 'stubs_filename_root': 'va_stubs', | 823 'stubs_filename_root': 'va_stubs', |
799 'project_path': 'content/common/gpu/media', | 824 'project_path': 'content/common/gpu/media', |
800 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 825 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
801 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', | 826 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
802 }, | 827 }, |
803 'include_dirs': [ | 828 'include_dirs': [ |
804 '<(DEPTH)/third_party/libva', | 829 '<(DEPTH)/third_party/libva', |
805 '<(DEPTH)/third_party/libyuv', | 830 '<(DEPTH)/third_party/libyuv', |
806 '<(output_root)', | 831 '<(output_root)', |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 ], | 941 ], |
917 'sources': [ | 942 'sources': [ |
918 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', | 943 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', |
919 ], | 944 ], |
920 'sources!': [ | 945 'sources!': [ |
921 'common/gpu/client/gpu_memory_buffer_impl_linux.cc', | 946 'common/gpu/client/gpu_memory_buffer_impl_linux.cc', |
922 ], | 947 ], |
923 }], | 948 }], |
924 ], | 949 ], |
925 } | 950 } |
OLD | NEW |