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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 ], | 59 ], |
60 'outputs': [ | 60 'outputs': [ |
61 '<(bindings_modules_v8_output_dir)/V8<(RULE_INPUT_ROOT).cpp', | 61 '<(bindings_modules_v8_output_dir)/V8<(RULE_INPUT_ROOT).cpp', |
62 '<(bindings_modules_v8_output_dir)/V8<(RULE_INPUT_ROOT).h', | 62 '<(bindings_modules_v8_output_dir)/V8<(RULE_INPUT_ROOT).h', |
63 ], | 63 ], |
64 # sanitize-win-build-log.sed uses a regex which matches this command | 64 # sanitize-win-build-log.sed uses a regex which matches this command |
65 # line (Python script + .idl file being processed). | 65 # line (Python script + .idl file being processed). |
66 # Update that regex if command line changes (other than changing flags) | 66 # Update that regex if command line changes (other than changing flags) |
67 'action': [ | 67 'action': [ |
68 'python', | 68 'python', |
69 '-S', # skip 'import site' to speed up startup | |
70 '<(bindings_scripts_dir)/idl_compiler.py', | 69 '<(bindings_scripts_dir)/idl_compiler.py', |
71 '--cache-dir', | 70 '--cache-dir', |
72 '<(bindings_scripts_output_dir)', | 71 '<(bindings_scripts_output_dir)', |
73 '--output-dir', | 72 '--output-dir', |
74 '<(bindings_modules_v8_output_dir)', | 73 '<(bindings_modules_v8_output_dir)', |
75 '--interfaces-info', | 74 '--interfaces-info', |
76 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 75 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
77 '--write-file-only-if-changed', | 76 '--write-file-only-if-changed', |
78 '<(write_file_only_if_changed)', | 77 '<(write_file_only_if_changed)', |
79 '<(RULE_INPUT_PATH)', | 78 '<(RULE_INPUT_PATH)', |
(...skipping 30 matching lines...) Expand all Loading... |
110 'target_name': 'bindings_modules_v8_generated', | 109 'target_name': 'bindings_modules_v8_generated', |
111 'type': 'none', | 110 'type': 'none', |
112 'dependencies': [ | 111 'dependencies': [ |
113 'bindings_modules_v8_generated_aggregate', | 112 'bindings_modules_v8_generated_aggregate', |
114 'bindings_modules_v8_generated_individual', | 113 'bindings_modules_v8_generated_individual', |
115 ], | 114 ], |
116 }, | 115 }, |
117 ################################################################################ | 116 ################################################################################ |
118 ], # targets | 117 ], # targets |
119 } | 118 } |
OLD | NEW |