Chromium Code Reviews| Index: content/content_common.gypi |
| diff --git a/content/content_common.gypi b/content/content_common.gypi |
| index 566c24500ced85499801725933f3c3d5b65374c6..8e65ca54e69c29529e1197ac31bcbcca9043f6ed 100644 |
| --- a/content/content_common.gypi |
| +++ b/content/content_common.gypi |
| @@ -569,9 +569,46 @@ |
| 'common/gpu/media/vaapi_wrapper.cc', |
| 'common/gpu/media/vaapi_wrapper.h', |
| ], |
| + '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': 'common/gpu/media', |
|
Ami GONE FROM CHROMIUM
2014/02/25 19:04:26
If you change this to content/common/gpu/media can
|
| + 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
| + 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va', |
| + }, |
| 'include_dirs': [ |
| '<(DEPTH)/third_party/libva', |
| + '<(output_root)', |
| ], |
| + 'actions': [ |
| + { |
| + 'action_name': 'generate_stubs', |
| + 'inputs': [ |
| + '<(generate_stubs_script)', |
| + '<(extra_header)', |
| + '<@(sig_files)', |
| + ], |
| + 'outputs': [ |
| + '<(intermediate_dir)/<(stubs_filename_root).cc', |
| + '<(output_root)/<(project_path)/<(stubs_filename_root).h', |
| + ], |
| + 'action': ['python', |
| + '<(generate_stubs_script)', |
| + '-i', '<(intermediate_dir)', |
| + '-o', '<(output_root)/<(project_path)', |
| + '-t', '<(outfile_type)', |
| + '-e', '<(extra_header)', |
| + '-s', '<(stubs_filename_root)', |
| + '-p', '<(project_path)', |
| + '<@(_inputs)', |
| + ], |
| + 'process_outputs_as_sources': 1, |
| + 'message': 'Generating libva stubs for dynamic loading', |
| + }, |
| + ] |
| }], |
| ['OS=="win"', { |
| 'dependencies': [ |