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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 'modules', | 102 'modules', |
103 '<(modules_idl_files_list)', | 103 '<(modules_idl_files_list)', |
104 '--', | 104 '--', |
105 '<@(bindings_modules_v8_generated_aggregate_files)', | 105 '<@(bindings_modules_v8_generated_aggregate_files)', |
106 ], | 106 ], |
107 'message': 'Generating aggregate generated modules V8 bindings files', | 107 'message': 'Generating aggregate generated modules V8 bindings files', |
108 }], | 108 }], |
109 }, | 109 }, |
110 ################################################################################ | 110 ################################################################################ |
111 { | 111 { |
112 # GN version: //third_party/WebKit/Source/bindings/modules/v8:bindings_modul
es_dictionary_impl_generated | 112 # GN version: //third_party/WebKit/Source/bindings/modules/v8:bindings_modul
es_impl_generated |
113 # http://crbug.com/358074; See comments on | 113 # http://crbug.com/358074; See comments on |
114 # 'bindings_core_v8_generated_individual' target | 114 # 'bindings_core_v8_generated_individual' target |
115 'target_name': 'bindings_modules_dictionary_impl_generated', | 115 'target_name': 'bindings_modules_impl_generated', |
116 'type': 'none', | 116 'type': 'none', |
117 'hard_dependency': 1, | 117 'hard_dependency': 1, |
118 'dependencies': [ | 118 'dependencies': [ |
119 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', | 119 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', |
120 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', | 120 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', |
121 '../../modules/generated.gyp:interfaces_info', | 121 '../../modules/generated.gyp:interfaces_info', |
122 ], | 122 ], |
123 'sources': [ | 123 'sources': [ |
124 '<@(modules_dictionary_idl_files)', | 124 '<@(modules_dictionary_idl_files)', |
125 ], | 125 ], |
126 'actions': [{ | 126 'actions': [{ |
127 'action_name': 'idl_dictionary', | 127 'action_name': 'idl_dictionary', |
128 # See comment on bindings_core_dictionary_impl_generated | 128 # See comment on bindings_core_impl_generated |
129 'explicit_idl_action': 1, | 129 'explicit_idl_action': 1, |
130 'msvs_cygwin_shell': 0, | 130 'msvs_cygwin_shell': 0, |
131 'inputs': [ | 131 'inputs': [ |
132 '<@(modules_dictionary_idl_files)', | 132 '<@(modules_dictionary_idl_files)', |
133 '<@(idl_lexer_parser_files)', | 133 '<@(idl_lexer_parser_files)', |
134 '<@(idl_cache_files)', | 134 '<@(idl_cache_files)', |
135 '<@(idl_compiler_files)', | 135 '<@(idl_compiler_files)', |
136 '<(bindings_dir)/IDLExtendedAttributes.txt', | 136 '<(bindings_dir)/IDLExtendedAttributes.txt', |
137 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 137 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 138 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
138 ], | 139 ], |
139 'outputs': [ | 140 'outputs': [ |
| 141 '<@(bindings_modules_v8_generated_union_type_files)', |
140 '<@(generated_modules_dictionary_files)', | 142 '<@(generated_modules_dictionary_files)', |
141 ], | 143 ], |
142 'action': [ | 144 'action': [ |
143 'python', | 145 'python', |
144 '<(bindings_scripts_dir)/idl_compiler.py', | 146 '<(bindings_scripts_dir)/idl_compiler.py', |
145 '--cache-dir', | 147 '--cache-dir', |
146 '<(bindings_scripts_output_dir)', | 148 '<(bindings_scripts_output_dir)', |
147 '--output-dir', | 149 '--output-dir', |
| 150 '<(bindings_modules_v8_output_dir)', |
| 151 '--dictionary-impl-output-dir', |
148 '<(SHARED_INTERMEDIATE_DIR)/blink/', | 152 '<(SHARED_INTERMEDIATE_DIR)/blink/', |
149 '--interfaces-info', | 153 '--interfaces-info', |
150 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 154 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 155 '--individual-info', |
| 156 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
| 157 '--target-component', |
| 158 'modules', |
151 '--write-file-only-if-changed', | 159 '--write-file-only-if-changed', |
152 '<(write_file_only_if_changed)', | 160 '<(write_file_only_if_changed)', |
153 '--generate-dictionary-impl', | 161 '--generate-impl', |
154 '<(modules_dictionary_idl_files_list)', | 162 '<(modules_dictionary_idl_files_list)', |
155 ], | 163 ], |
156 'message': 'Generating modules IDL dictionary impl classes', | 164 'message': 'Generating modules IDL dictionary impl classes', |
157 }], | 165 }], |
158 }, | 166 }, |
159 ################################################################################ | 167 ################################################################################ |
160 { | 168 { |
161 'target_name': 'bindings_modules_v8_generated_partial_individual', | 169 'target_name': 'bindings_modules_v8_generated_partial_individual', |
162 'type': 'none', | 170 'type': 'none', |
163 # The 'partial_binding' rule generates .h files, so mark as hard_dependency,
per: | 171 # The 'partial_binding' rule generates .h files, so mark as hard_dependency,
per: |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 '--write-file-only-if-changed', | 282 '--write-file-only-if-changed', |
275 '<(write_file_only_if_changed)', | 283 '<(write_file_only_if_changed)', |
276 ], | 284 ], |
277 }], | 285 }], |
278 }, | 286 }, |
279 ################################################################################ | 287 ################################################################################ |
280 { | 288 { |
281 'target_name': 'bindings_modules_v8_generated', | 289 'target_name': 'bindings_modules_v8_generated', |
282 'type': 'none', | 290 'type': 'none', |
283 'dependencies': [ | 291 'dependencies': [ |
284 'bindings_modules_dictionary_impl_generated', | 292 'bindings_modules_impl_generated', |
285 'bindings_modules_v8_generated_aggregate', | 293 'bindings_modules_v8_generated_aggregate', |
286 'bindings_modules_v8_generated_individual', | 294 'bindings_modules_v8_generated_individual', |
287 'bindings_modules_v8_generated_init_partial', | 295 'bindings_modules_v8_generated_init_partial', |
288 'bindings_modules_v8_generated_partial_aggregate', | 296 'bindings_modules_v8_generated_partial_aggregate', |
289 'bindings_modules_v8_generated_partial_individual', | 297 'bindings_modules_v8_generated_partial_individual', |
290 ], | 298 ], |
291 }, | 299 }, |
292 ################################################################################ | 300 ################################################################################ |
293 ], # targets | 301 ], # targets |
294 } | 302 } |
OLD | NEW |