Chromium Code Reviews| Index: content/content_common.gypi |
| diff --git a/content/content_common.gypi b/content/content_common.gypi |
| index 4944e98ea62bd86b8ef9dda5ee4aaf5ef6cac0f6..f62387e47187fa4b5d4080fe039e83045ed00f10 100644 |
| --- a/content/content_common.gypi |
| +++ b/content/content_common.gypi |
| @@ -779,7 +779,7 @@ |
| '<(DEPTH)/third_party/khronos', |
| ], |
| }], |
| - ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { |
| + ['target_arch != "arm" and chromeos == 1', { |
| 'dependencies': [ |
| '../media/media.gyp:media', |
| '../third_party/libyuv/libyuv.gyp:libyuv', |
| @@ -790,6 +790,8 @@ |
| 'common/gpu/media/va_surface.h', |
| 'common/gpu/media/vaapi_h264_decoder.cc', |
| 'common/gpu/media/vaapi_h264_decoder.h', |
| + 'common/gpu/media/vaapi_picture.cc', |
| + 'common/gpu/media/vaapi_picture.h', |
| 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
| 'common/gpu/media/vaapi_video_decode_accelerator.h', |
| 'common/gpu/media/vaapi_video_encode_accelerator.cc', |
| @@ -797,10 +799,29 @@ |
| 'common/gpu/media/vaapi_wrapper.cc', |
| 'common/gpu/media/vaapi_wrapper.h', |
| ], |
| + 'conditions': [ |
| + ['use_x11 == 1', { |
| + 'variables': { |
| + 'sig_files': [ |
| + 'common/gpu/media/va.sigs', |
|
Pawel Osciak
2014/12/20 20:46:51
I think va.sigs should not be under use_x11?
llandwerlin-old
2014/12/20 21:11:43
I thought it would be easier to read. Will change
|
| + 'common/gpu/media/va_x11.sigs', |
| + ], |
| + }, |
| + 'sources': [ |
| + 'common/gpu/media/vaapi_tfp_picture.cc', |
| + 'common/gpu/media/vaapi_tfp_picture.h', |
| + ], |
| + }, { |
| + 'variables': { |
| + 'sig_files': [ |
| + 'common/gpu/media/va.sigs', |
|
Pawel Osciak
2014/12/20 20:46:52
Why do we have it twice?
llandwerlin-old
2014/12/20 21:11:43
This is to compile the whole of Vaapi* file on Ozo
|
| + ], |
| + }, |
| + }], |
| + ], |
| 'variables': { |
| 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
| 'extra_header': 'common/gpu/media/va_stub_header.fragment', |
| - 'sig_files': ['common/gpu/media/va.sigs'], |
| 'outfile_type': 'posix_stubs', |
| 'stubs_filename_root': 'va_stubs', |
| 'project_path': 'content/common/gpu/media', |