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': [ |
11 # ../../.. == Source | 11 # ../../.. == Source |
12 '../../../bindings/bindings.gypi', | 12 '../../../bindings/bindings.gypi', |
| 13 '../../../bindings/core/core.gypi', |
13 '../../../bindings/core/generated.gypi', | 14 '../../../bindings/core/generated.gypi', |
14 '../../../bindings/core/idl.gypi', | 15 '../../../bindings/core/idl.gypi', |
15 # FIXME: need info about modules IDL files because some core IDL files | 16 # FIXME: need info about modules IDL files because some core IDL files |
16 # depend on modules IDL files http://crbug.com/358074 | 17 # depend on modules IDL files http://crbug.com/358074 |
17 '../../../bindings/modules/idl.gypi', | 18 '../../../bindings/modules/idl.gypi', |
18 '../../../bindings/modules/modules.gypi', | 19 '../../../bindings/modules/modules.gypi', |
19 '../../../bindings/scripts/scripts.gypi', | 20 '../../../bindings/scripts/scripts.gypi', |
20 '../../../core/core.gypi', | 21 '../../../core/core.gypi', |
21 'generated.gypi', | 22 'generated.gypi', |
22 ], | 23 ], |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 'core', | 113 'core', |
113 '<(core_idl_files_list)', | 114 '<(core_idl_files_list)', |
114 '--', | 115 '--', |
115 '<@(bindings_core_v8_generated_aggregate_files)', | 116 '<@(bindings_core_v8_generated_aggregate_files)', |
116 ], | 117 ], |
117 'message': 'Generating aggregate generated core V8 bindings files', | 118 'message': 'Generating aggregate generated core V8 bindings files', |
118 }], | 119 }], |
119 }, | 120 }, |
120 ################################################################################ | 121 ################################################################################ |
121 { | 122 { |
122 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_dic
tionary_impl_generated | 123 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_imp
l_generated |
123 # http://crbug.com/358074; See comments on | 124 # http://crbug.com/358074; See comments on |
124 # 'bindings_core_v8_generated_individual' target | 125 # 'bindings_core_v8_generated_individual' target |
125 'target_name': 'bindings_core_dictionary_impl_generated', | 126 'target_name': 'bindings_core_impl_generated', |
126 'type': 'none', | 127 'type': 'none', |
127 'hard_dependency': 1, | 128 'hard_dependency': 1, |
128 'dependencies': [ | 129 'dependencies': [ |
129 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', | 130 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', |
130 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', | 131 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', |
| 132 '../../core/generated.gyp:interfaces_info_individual_core', |
131 '../../modules/generated.gyp:interfaces_info', | 133 '../../modules/generated.gyp:interfaces_info', |
132 ], | 134 ], |
133 'sources': [ | 135 'sources': [ |
134 '<@(core_dictionary_idl_files)', | 136 '<@(core_dictionary_idl_files)', |
135 '<@(core_testing_dictionary_idl_files)', | 137 '<@(core_testing_dictionary_idl_files)', |
136 ], | 138 ], |
137 'actions': [{ | 139 'actions': [{ |
138 'action_name': 'idl_dictionary', | 140 'action_name': 'idl_dictionary', |
139 # Mark as explicit idl action to prevent MSVS emulation on Windows. | 141 # Mark as explicit idl action to prevent MSVS emulation on Windows. |
140 'explicit_idl_action': 1, | 142 'explicit_idl_action': 1, |
141 'msvs_cygwin_shell': 0, | 143 'msvs_cygwin_shell': 0, |
142 'inputs': [ | 144 'inputs': [ |
143 '<@(core_dictionary_idl_files)', | 145 '<@(core_dictionary_idl_files)', |
144 '<@(core_testing_dictionary_idl_files)', | 146 '<@(core_testing_dictionary_idl_files)', |
145 '<@(idl_lexer_parser_files)', | 147 '<@(idl_lexer_parser_files)', |
146 '<@(idl_cache_files)', | 148 '<@(idl_cache_files)', |
147 '<@(idl_compiler_files)', | 149 '<@(idl_compiler_files)', |
148 '<(bindings_dir)/IDLExtendedAttributes.txt', | 150 '<(bindings_dir)/IDLExtendedAttributes.txt', |
149 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 151 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 152 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
150 ], | 153 ], |
151 'outputs': [ | 154 'outputs': [ |
| 155 '<@(bindings_core_v8_generated_union_type_files)', |
152 '<@(generated_core_dictionary_files)', | 156 '<@(generated_core_dictionary_files)', |
153 '<@(generated_core_testing_dictionary_files)', | 157 '<@(generated_core_testing_dictionary_files)', |
154 ], | 158 ], |
155 'action': [ | 159 'action': [ |
156 'python', | 160 'python', |
157 '<(bindings_scripts_dir)/idl_compiler.py', | 161 '<(bindings_scripts_dir)/idl_compiler.py', |
158 '--cache-dir', | 162 '--cache-dir', |
159 '<(bindings_scripts_output_dir)', | 163 '<(bindings_scripts_output_dir)', |
160 '--output-dir', | 164 '--output-dir', |
| 165 '<(bindings_core_v8_output_dir)', |
| 166 '--dictionary-impl-output-dir', |
161 '<(SHARED_INTERMEDIATE_DIR)/blink/', | 167 '<(SHARED_INTERMEDIATE_DIR)/blink/', |
162 '--interfaces-info', | 168 '--interfaces-info', |
163 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 169 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 170 '--individual-info', |
| 171 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
| 172 '--target-component', |
| 173 'core', |
164 '--write-file-only-if-changed', | 174 '--write-file-only-if-changed', |
165 '<(write_file_only_if_changed)', | 175 '<(write_file_only_if_changed)', |
166 '--generate-dictionary-impl', | 176 '--generate-impl', |
167 '<(core_dictionary_idl_files_list)', | 177 '<(core_dictionary_idl_files_list)', |
168 ], | 178 ], |
169 'message': 'Generating core IDL dictionary impl classes', | 179 'message': 'Generating core IDL dictionary impl classes', |
170 }], | 180 }], |
171 }, | 181 }, |
172 ################################################################################ | 182 ################################################################################ |
173 { | 183 { |
174 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_
generated | 184 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_
generated |
175 'target_name': 'bindings_core_v8_generated', | 185 'target_name': 'bindings_core_v8_generated', |
176 'type': 'none', | 186 'type': 'none', |
177 'dependencies': [ | 187 'dependencies': [ |
178 'bindings_core_dictionary_impl_generated', | 188 'bindings_core_impl_generated', |
179 'bindings_core_v8_generated_aggregate', | 189 'bindings_core_v8_generated_aggregate', |
180 'bindings_core_v8_generated_individual', | 190 'bindings_core_v8_generated_individual', |
181 ], | 191 ], |
182 }, | 192 }, |
183 ################################################################################ | 193 ################################################################################ |
184 ], # targets | 194 ], # targets |
185 } | 195 } |
OLD | NEW |