Chromium Code Reviews| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 115 'core', | 115 'core', |
| 116 '<(core_idl_files_list)', | 116 '<(core_idl_files_list)', |
| 117 '--', | 117 '--', |
| 118 '<@(bindings_core_v8_generated_aggregate_files)', | 118 '<@(bindings_core_v8_generated_aggregate_files)', |
| 119 ], | 119 ], |
| 120 'message': 'Generating aggregate generated core V8 bindings files', | 120 'message': 'Generating aggregate generated core V8 bindings files', |
| 121 }], | 121 }], |
| 122 }, | 122 }, |
| 123 ################################################################################ | 123 ################################################################################ |
| 124 { | 124 { |
| 125 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_dic tionary_impl_generated | |
| 126 # http://crbug.com/358074; See comments on | |
| 127 # 'bindings_core_v8_generated_individual' target | |
| 128 'target_name': 'bindings_core_dictionary_impl_generated', | |
| 129 'type': 'none', | |
| 130 'hard_dependency': 1, | |
| 131 'dependencies': [ | |
| 132 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', | |
| 133 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', | |
| 134 '../../modules/generated.gyp:interfaces_info', | |
| 135 ], | |
| 136 'sources': [ | |
| 137 # FIXME: Add '<@(core_dictionary_idl_files)', | |
| 138 '<@(core_testing_dictionary_idl_files)', | |
| 139 ], | |
| 140 'actions': [{ | |
| 141 'action_name': 'idl_dictionary', | |
| 142 # Mark as explicit idl action to prevent MSVS emulation on Windows. | |
| 143 'explicit_idl_action': 1, | |
| 144 'msvs_cygwin_shell': 0, | |
| 145 'inputs': [ | |
| 146 '<@(core_testing_dictionary_idl_files)', | |
| 147 '<@(idl_lexer_parser_files)', | |
| 148 '<@(idl_compiler_files)', | |
| 149 '<(bindings_scripts_output_dir)/lextab.py', | |
|
Jens Widell
2014/08/12 15:18:00
It would be somewhat nice to store lextab.py, pars
bashi
2014/08/13 00:51:19
Done.
| |
| 150 '<(bindings_scripts_output_dir)/parsetab.pickle', | |
| 151 '<(bindings_scripts_output_dir)/cached_jinja_templates.stamp', | |
| 152 '<(bindings_dir)/IDLExtendedAttributes.txt', | |
| 153 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | |
| 154 ], | |
| 155 'outputs': [ | |
| 156 # FIXME: Add '<@(generated_core_dictionary_files)', | |
| 157 '<@(generated_core_testing_dictionary_files)', | |
| 158 ], | |
| 159 'action': [ | |
| 160 'python', | |
| 161 '<(bindings_scripts_dir)/idl_compiler.py', | |
| 162 '--cache-dir', | |
| 163 '<(bindings_scripts_output_dir)', | |
| 164 '--output-dir', | |
| 165 '<(SHARED_INTERMEDIATE_DIR)/blink/', | |
| 166 '--interfaces-info', | |
| 167 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | |
| 168 '--write-file-only-if-changed', | |
| 169 '<(write_file_only_if_changed)', | |
| 170 '--generate-dictionary-impl', | |
| 171 '<(core_dictionary_idl_files_list)', | |
| 172 ], | |
| 173 'message': 'Generating core IDL dictionary impl classes', | |
| 174 }], | |
| 175 }, | |
| 176 ################################################################################ | |
| 177 { | |
| 125 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_ generated | 178 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_ generated |
| 126 'target_name': 'bindings_core_v8_generated', | 179 'target_name': 'bindings_core_v8_generated', |
| 127 'type': 'none', | 180 'type': 'none', |
| 128 'dependencies': [ | 181 'dependencies': [ |
| 182 'bindings_core_dictionary_impl_generated', | |
| 129 'bindings_core_v8_generated_aggregate', | 183 'bindings_core_v8_generated_aggregate', |
| 130 'bindings_core_v8_generated_individual', | 184 'bindings_core_v8_generated_individual', |
| 131 ], | 185 ], |
| 132 }, | 186 }, |
| 133 ################################################################################ | 187 ################################################################################ |
| 134 ], # targets | 188 ], # targets |
| 135 } | 189 } |
| OLD | NEW |