Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(783)

Side by Side Diff: content/content_common.gypi

Issue 490233002: VaapiVideoAccelerator: make Vaapi accelerator work with ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable vaapi_h264_decoder_unittest on Ozone Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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', {
vignatti (out of this project) 2014/10/31 19:07:58 here we need to opt out also platforms that don't
llandwerlin-old 2014/11/03 09:30:11 Acknowledged.
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_provider.cc',
787 'common/gpu/media/vaapi_picture_provider.h',
786 'common/gpu/media/vaapi_video_decode_accelerator.cc', 788 'common/gpu/media/vaapi_video_decode_accelerator.cc',
787 'common/gpu/media/vaapi_video_decode_accelerator.h', 789 'common/gpu/media/vaapi_video_decode_accelerator.h',
788 'common/gpu/media/vaapi_video_encode_accelerator.cc', 790 'common/gpu/media/vaapi_video_encode_accelerator.cc',
789 'common/gpu/media/vaapi_video_encode_accelerator.h', 791 'common/gpu/media/vaapi_video_encode_accelerator.h',
790 'common/gpu/media/vaapi_wrapper.cc', 792 'common/gpu/media/vaapi_wrapper.cc',
791 'common/gpu/media/vaapi_wrapper.h', 793 'common/gpu/media/vaapi_wrapper.h',
792 ], 794 ],
795 'conditions': [
796 ['use_x11 == 1', {
797 'variables': {
798 'sig_files': [
799 'common/gpu/media/va.sigs',
800 'common/gpu/media/va_x11.sigs',
801 ],
802 },
803 'sources': [
804 'common/gpu/media/vaapi_picture_provider_x11.cc',
805 'common/gpu/media/vaapi_picture_provider_x11.h',
806 ],
807 }],
808 ['ozone_platform_gbm == 1', {
809 'variables': {
810 'sig_files': [
811 'common/gpu/media/va.sigs',
812 'common/gpu/media/va_drm.sigs',
813 ],
814 },
815 'sources': [
816 'common/gpu/media/vaapi_picture_provider_drm.cc',
817 'common/gpu/media/vaapi_picture_provider_drm.h',
818 ],
819 }],
820 ],
793 'variables': { 821 'variables': {
794 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', 822 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
795 'extra_header': 'common/gpu/media/va_stub_header.fragment', 823 'extra_header': 'common/gpu/media/va_stub_header.fragment',
796 'sig_files': ['common/gpu/media/va.sigs'],
797 'outfile_type': 'posix_stubs', 824 'outfile_type': 'posix_stubs',
798 'stubs_filename_root': 'va_stubs', 825 'stubs_filename_root': 'va_stubs',
799 'project_path': 'content/common/gpu/media', 826 'project_path': 'content/common/gpu/media',
800 'intermediate_dir': '<(INTERMEDIATE_DIR)', 827 'intermediate_dir': '<(INTERMEDIATE_DIR)',
801 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', 828 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va',
802 }, 829 },
803 'include_dirs': [ 830 'include_dirs': [
804 '<(DEPTH)/third_party/libva', 831 '<(DEPTH)/third_party/libva',
805 '<(DEPTH)/third_party/libyuv', 832 '<(DEPTH)/third_party/libyuv',
806 '<(output_root)', 833 '<(output_root)',
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 ], 943 ],
917 'sources': [ 944 'sources': [
918 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', 945 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
919 ], 946 ],
920 'sources!': [ 947 'sources!': [
921 'common/gpu/client/gpu_memory_buffer_impl_linux.cc', 948 'common/gpu/client/gpu_memory_buffer_impl_linux.cc',
922 ], 949 ],
923 }], 950 }],
924 ], 951 ],
925 } 952 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698