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 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 'common/gpu/media/v4l2_video_decode_accelerator.h', | 739 'common/gpu/media/v4l2_video_decode_accelerator.h', |
740 'common/gpu/media/v4l2_video_device.cc', | 740 'common/gpu/media/v4l2_video_device.cc', |
741 'common/gpu/media/v4l2_video_device.h', | 741 'common/gpu/media/v4l2_video_device.h', |
742 'common/gpu/media/v4l2_video_encode_accelerator.cc', | 742 'common/gpu/media/v4l2_video_encode_accelerator.cc', |
743 'common/gpu/media/v4l2_video_encode_accelerator.h', | 743 'common/gpu/media/v4l2_video_encode_accelerator.h', |
744 ], | 744 ], |
745 'include_dirs': [ | 745 'include_dirs': [ |
746 '<(DEPTH)/third_party/khronos', | 746 '<(DEPTH)/third_party/khronos', |
747 ], | 747 ], |
748 }], | 748 }], |
749 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { | 749 ['target_arch != "arm" and chromeos == 1 and (use_x11 == 1 or ozone_platform
_gbm == 1)', { |
750 'dependencies': [ | 750 'dependencies': [ |
751 '../media/media.gyp:media', | 751 '../media/media.gyp:media', |
752 '../third_party/libyuv/libyuv.gyp:libyuv', | 752 '../third_party/libyuv/libyuv.gyp:libyuv', |
753 ], | 753 ], |
754 'sources': [ | 754 'sources': [ |
755 'common/gpu/media/h264_dpb.cc', | 755 'common/gpu/media/h264_dpb.cc', |
756 'common/gpu/media/h264_dpb.h', | 756 'common/gpu/media/h264_dpb.h', |
757 'common/gpu/media/va_surface.h', | 757 'common/gpu/media/va_surface.h', |
758 'common/gpu/media/vaapi_h264_decoder.cc', | 758 'common/gpu/media/vaapi_h264_decoder.cc', |
759 'common/gpu/media/vaapi_h264_decoder.h', | 759 'common/gpu/media/vaapi_h264_decoder.h', |
760 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 760 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
761 'common/gpu/media/vaapi_video_decode_accelerator.h', | 761 'common/gpu/media/vaapi_video_decode_accelerator.h', |
762 'common/gpu/media/vaapi_video_encode_accelerator.cc', | |
763 'common/gpu/media/vaapi_video_encode_accelerator.h', | |
764 'common/gpu/media/vaapi_wrapper.cc', | 762 'common/gpu/media/vaapi_wrapper.cc', |
765 'common/gpu/media/vaapi_wrapper.h', | 763 'common/gpu/media/vaapi_wrapper.h', |
766 ], | 764 ], |
| 765 'conditions': [ |
| 766 ['use_x11 == 1', { |
| 767 'variables': { |
| 768 'extra_header': 'common/gpu/media/va_stub_header.fragment', |
| 769 'sig_files': ['common/gpu/media/va.sigs'], |
| 770 }, |
| 771 'sources': [ |
| 772 'common/gpu/media/vaapi_video_encode_accelerator.cc', |
| 773 'common/gpu/media/vaapi_video_encode_accelerator.h', |
| 774 ] |
| 775 }], |
| 776 ['<(ozone_platform_gbm) == 1', { |
| 777 'variables': { |
| 778 'extra_header': 'common/gpu/media/va_drm_stub_header.fragment', |
| 779 'sig_files': ['common/gpu/media/va_drm.sigs'], |
| 780 }, |
| 781 'sources': [ |
| 782 'common/gpu/media/media_ozone_platform_gbm.cc', |
| 783 'common/gpu/media/media_ozone_platform_gbm.h', |
| 784 ], |
| 785 }], |
| 786 ], |
767 'variables': { | 787 'variables': { |
768 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 788 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
769 'extra_header': 'common/gpu/media/va_stub_header.fragment', | |
770 'sig_files': ['common/gpu/media/va.sigs'], | |
771 'outfile_type': 'posix_stubs', | 789 'outfile_type': 'posix_stubs', |
772 'stubs_filename_root': 'va_stubs', | 790 'stubs_filename_root': 'va_stubs', |
773 'project_path': 'content/common/gpu/media', | 791 'project_path': 'content/common/gpu/media', |
774 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 792 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
775 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', | 793 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
776 }, | 794 }, |
777 'include_dirs': [ | 795 'include_dirs': [ |
778 '<(DEPTH)/third_party/libva', | 796 '<(DEPTH)/third_party/libva', |
779 '<(DEPTH)/third_party/libyuv', | 797 '<(DEPTH)/third_party/libyuv', |
780 '<(output_root)', | 798 '<(output_root)', |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 'defines': ['USE_SECCOMP_BPF'], | 902 'defines': ['USE_SECCOMP_BPF'], |
885 }], | 903 }], |
886 ['use_ozone==1', { | 904 ['use_ozone==1', { |
887 'dependencies': [ | 905 'dependencies': [ |
888 '../ui/ozone/ozone.gyp:ozone', | 906 '../ui/ozone/ozone.gyp:ozone', |
889 '../ui/ozone/gpu/ozone_gpu.gyp:ozone_gpu', | 907 '../ui/ozone/gpu/ozone_gpu.gyp:ozone_gpu', |
890 ], | 908 ], |
891 }], | 909 }], |
892 ], | 910 ], |
893 } | 911 } |
OLD | NEW |