OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Generate IDL bindings for modules, plus aggregate bindings files. | 5 # Generate IDL bindings for modules, plus aggregate bindings files. |
6 # | 6 # |
7 # Design doc: http://www.chromium.org/developers/design-documents/idl-build | 7 # Design doc: http://www.chromium.org/developers/design-documents/idl-build |
8 | 8 |
9 { | 9 { |
10 'includes': [ | 10 'includes': [ |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 ], | 203 ], |
204 'outputs': [ | 204 'outputs': [ |
205 '<(bindings_modules_v8_output_dir)/V8<(RULE_INPUT_ROOT)Partial.cpp', | 205 '<(bindings_modules_v8_output_dir)/V8<(RULE_INPUT_ROOT)Partial.cpp', |
206 '<(bindings_modules_v8_output_dir)/V8<(RULE_INPUT_ROOT)Partial.h', | 206 '<(bindings_modules_v8_output_dir)/V8<(RULE_INPUT_ROOT)Partial.h', |
207 ], | 207 ], |
208 # sanitize-win-build-log.sed uses a regex which matches this command | 208 # sanitize-win-build-log.sed uses a regex which matches this command |
209 # line (Python script + .idl file being processed). | 209 # line (Python script + .idl file being processed). |
210 # Update that regex if command line changes (other than changing flags) | 210 # Update that regex if command line changes (other than changing flags) |
211 'action': [ | 211 'action': [ |
212 'python', | 212 'python', |
213 '-S', # skip 'import site' to speed up startup | |
214 '<(bindings_scripts_dir)/idl_compiler.py', | 213 '<(bindings_scripts_dir)/idl_compiler.py', |
215 '--cache-dir', | 214 '--cache-dir', |
216 '<(bindings_scripts_output_dir)', | 215 '<(bindings_scripts_output_dir)', |
217 '--output-dir', | 216 '--output-dir', |
218 '<(bindings_modules_v8_output_dir)', | 217 '<(bindings_modules_v8_output_dir)', |
219 '--interfaces-info', | 218 '--interfaces-info', |
220 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 219 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
221 '--write-file-only-if-changed', | 220 '--write-file-only-if-changed', |
222 '<(write_file_only_if_changed)', | 221 '<(write_file_only_if_changed)', |
223 '--target-component', | 222 '--target-component', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 'bindings_modules_v8_generated_aggregate', | 285 'bindings_modules_v8_generated_aggregate', |
287 'bindings_modules_v8_generated_individual', | 286 'bindings_modules_v8_generated_individual', |
288 'bindings_modules_v8_generated_init_partial', | 287 'bindings_modules_v8_generated_init_partial', |
289 'bindings_modules_v8_generated_partial_aggregate', | 288 'bindings_modules_v8_generated_partial_aggregate', |
290 'bindings_modules_v8_generated_partial_individual', | 289 'bindings_modules_v8_generated_partial_individual', |
291 ], | 290 ], |
292 }, | 291 }, |
293 ################################################################################ | 292 ################################################################################ |
294 ], # targets | 293 ], # targets |
295 } | 294 } |
OLD | NEW |