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 core, plus aggregate bindings files. | 5 # Generate IDL bindings for core, 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 ], | 71 ], |
72 'outputs': [ | 72 'outputs': [ |
73 '<(bindings_core_v8_output_dir)/V8<(RULE_INPUT_ROOT).cpp', | 73 '<(bindings_core_v8_output_dir)/V8<(RULE_INPUT_ROOT).cpp', |
74 '<(bindings_core_v8_output_dir)/V8<(RULE_INPUT_ROOT).h', | 74 '<(bindings_core_v8_output_dir)/V8<(RULE_INPUT_ROOT).h', |
75 ], | 75 ], |
76 # sanitize-win-build-log.sed uses a regex which matches this command | 76 # sanitize-win-build-log.sed uses a regex which matches this command |
77 # line (Python script + .idl file being processed). | 77 # line (Python script + .idl file being processed). |
78 # Update that regex if command line changes (other than changing flags) | 78 # Update that regex if command line changes (other than changing flags) |
79 'action': [ | 79 'action': [ |
80 'python', | 80 'python', |
81 '-S', # skip 'import site' to speed up startup | |
82 '<(bindings_scripts_dir)/idl_compiler.py', | 81 '<(bindings_scripts_dir)/idl_compiler.py', |
83 '--cache-dir', | 82 '--cache-dir', |
84 '<(bindings_scripts_output_dir)', | 83 '<(bindings_scripts_output_dir)', |
85 '--output-dir', | 84 '--output-dir', |
86 '<(bindings_core_v8_output_dir)', | 85 '<(bindings_core_v8_output_dir)', |
87 '--interfaces-info', | 86 '--interfaces-info', |
88 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 87 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
89 '--write-file-only-if-changed', | 88 '--write-file-only-if-changed', |
90 '<(write_file_only_if_changed)', | 89 '<(write_file_only_if_changed)', |
91 '<(RULE_INPUT_PATH)', | 90 '<(RULE_INPUT_PATH)', |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 'type': 'none', | 177 'type': 'none', |
179 'dependencies': [ | 178 'dependencies': [ |
180 'bindings_core_dictionary_impl_generated', | 179 'bindings_core_dictionary_impl_generated', |
181 'bindings_core_v8_generated_aggregate', | 180 'bindings_core_v8_generated_aggregate', |
182 'bindings_core_v8_generated_individual', | 181 'bindings_core_v8_generated_individual', |
183 ], | 182 ], |
184 }, | 183 }, |
185 ################################################################################ | 184 ################################################################################ |
186 ], # targets | 185 ], # targets |
187 } | 186 } |
OLD | NEW |