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