Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: Source/bindings/generated_bindings.gyp

Issue 171373006: Rename compute_dependencies.py => compute_interfaces_info.py (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/bindings/scripts/compute_dependencies.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2013 Google Inc. All rights reserved. 2 # Copyright (C) 2013 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 # depending on what the user has locally it could be. So, don't use on 163 # depending on what the user has locally it could be. So, don't use on
164 # Windows is the simplest solution. 164 # Windows is the simplest solution.
165 'json_perl_module_include_path': '-I<(DEPTH)/third_party/JSON/out/lib/pe rl5', 165 'json_perl_module_include_path': '-I<(DEPTH)/third_party/JSON/out/lib/pe rl5',
166 }, { 166 }, {
167 'json_perl_module_include_path': '', 167 'json_perl_module_include_path': '',
168 }], 168 }],
169 ], 169 ],
170 }, 170 },
171 171
172 'targets': [{ 172 'targets': [{
173 'target_name': 'interface_dependencies', 173 'target_name': 'interfaces_info',
174 'type': 'none', 174 'type': 'none',
175 'dependencies': [ 175 'dependencies': [
176 '../core/core_generated.gyp:generated_testing_idls', 176 '../core/core_generated.gyp:generated_testing_idls',
177 ], 177 ],
178 'actions': [{ 178 'actions': [{
179 'action_name': 'compute_interface_dependencies', 179 'action_name': 'compute_interfaces_info',
180 'variables': { 180 'variables': {
181 # Write list of static IDL files to a file, so that the command line 181 # Write list of static IDL files to a file, so that the command line
182 # doesn't exceed OS length limits. 182 # doesn't exceed OS length limits.
183 # Generated IDL files cannot be included, as their path depends on the 183 # Generated IDL files cannot be included, as their path depends on the
184 # build directory, and must instead be passed as command line arguments. 184 # build directory, and must instead be passed as command line arguments.
185 'idl_files_list': '<|(idl_files_list.tmp <@(static_idl_files))', 185 'idl_files_list': '<|(idl_files_list.tmp <@(static_idl_files))',
186 }, 186 },
187 'inputs': [ 187 'inputs': [
188 'scripts/compute_dependencies.py', 188 'scripts/compute_interfaces_info.py',
189 '<(idl_files_list)', 189 '<(idl_files_list)',
190 '<@(static_idl_files)', 190 '<@(static_idl_files)',
191 '<@(generated_idl_files)', 191 '<@(generated_idl_files)',
192 ], 192 ],
193 'outputs': [ 193 'outputs': [
194 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', 194 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt',
195 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle', 195 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle',
196 '<@(generated_global_constructors_idl_files)', 196 '<@(generated_global_constructors_idl_files)',
197 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', 197 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
198 ], 198 ],
199 'action': [ 199 'action': [
200 'python', 200 'python',
201 'scripts/compute_dependencies.py', 201 'scripts/compute_interfaces_info.py',
202 '--idl-files-list', 202 '--idl-files-list',
203 '<(idl_files_list)', 203 '<(idl_files_list)',
204 '--interface-dependencies-file', 204 '--interface-dependencies-file',
205 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', 205 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt',
206 '--interfaces-info-file', 206 '--interfaces-info-file',
207 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle', 207 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle',
208 '--window-constructors-file', 208 '--window-constructors-file',
209 '<(SHARED_INTERMEDIATE_DIR)/blink/WindowConstructors.idl', 209 '<(SHARED_INTERMEDIATE_DIR)/blink/WindowConstructors.idl',
210 '--workerglobalscope-constructors-file', 210 '--workerglobalscope-constructors-file',
211 '<(SHARED_INTERMEDIATE_DIR)/blink/WorkerGlobalScopeConstructors.idl', 211 '<(SHARED_INTERMEDIATE_DIR)/blink/WorkerGlobalScopeConstructors.idl',
212 '--sharedworkerglobalscope-constructors-file', 212 '--sharedworkerglobalscope-constructors-file',
213 '<(SHARED_INTERMEDIATE_DIR)/blink/SharedWorkerGlobalScopeConstructors.i dl', 213 '<(SHARED_INTERMEDIATE_DIR)/blink/SharedWorkerGlobalScopeConstructors.i dl',
214 '--dedicatedworkerglobalscope-constructors-file', 214 '--dedicatedworkerglobalscope-constructors-file',
215 '<(SHARED_INTERMEDIATE_DIR)/blink/DedicatedWorkerGlobalScopeConstructor s.idl', 215 '<(SHARED_INTERMEDIATE_DIR)/blink/DedicatedWorkerGlobalScopeConstructor s.idl',
216 '--serviceworkerglobalscope-constructors-file', 216 '--serviceworkerglobalscope-constructors-file',
217 '<(SHARED_INTERMEDIATE_DIR)/ServiceWorkerGlobalScopeConstructors.idl', 217 '<(SHARED_INTERMEDIATE_DIR)/ServiceWorkerGlobalScopeConstructors.idl',
218 '--event-names-file', 218 '--event-names-file',
219 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', 219 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
220 '<@(write_file_only_if_changed)', 220 '<@(write_file_only_if_changed)',
221 '--', 221 '--',
222 '<@(generated_idl_files)', 222 '<@(generated_idl_files)',
223 ], 223 ],
224 'message': 'Computing dependencies between IDL files, and generating glob al scope constructor IDLs files and list of Event interfaces', 224 'message': 'Computing global information about IDL files, and generating global scope constructor IDLs files and list of Event interfaces',
225 }] 225 }]
226 }, 226 },
227 { 227 {
228 'target_name': 'individual_generated_bindings', 228 'target_name': 'individual_generated_bindings',
229 'type': 'none', 229 'type': 'none',
230 # The 'binding' rule generates .h files, so mark as hard_dependency, per: 230 # The 'binding' rule generates .h files, so mark as hard_dependency, per:
231 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependen cies 231 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependen cies
232 'hard_dependency': 1, 232 'hard_dependency': 1,
233 'dependencies': [ 233 'dependencies': [
234 'interface_dependencies', 234 'interfaces_info',
235 '../core/core_generated.gyp:generated_testing_idls', 235 '../core/core_generated.gyp:generated_testing_idls',
236 ], 236 ],
237 'sources': [ 237 'sources': [
238 '<@(interface_idl_files)', 238 '<@(interface_idl_files)',
239 ], 239 ],
240 'rules': [{ 240 'rules': [{
241 'rule_name': 'binding', 241 'rule_name': 'binding',
242 'extension': 'idl', 242 'extension': 'idl',
243 'msvs_external_rule': 1, 243 'msvs_external_rule': 1,
244 'inputs': [ 244 'inputs': [
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 { 332 {
333 'target_name': 'generated_bindings', 333 'target_name': 'generated_bindings',
334 'type': 'none', 334 'type': 'none',
335 'dependencies': [ 335 'dependencies': [
336 'aggregate_generated_bindings', 336 'aggregate_generated_bindings',
337 'individual_generated_bindings', 337 'individual_generated_bindings',
338 ], 338 ],
339 }, 339 },
340 ], 340 ],
341 } 341 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/scripts/compute_dependencies.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698