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

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

Issue 26414004: Move core/scripts to build/scripts so that platform can use them. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 ], 191 ],
192 'rules': [{ 192 'rules': [{
193 'rule_name': 'binding', 193 'rule_name': 'binding',
194 'extension': 'idl', 194 'extension': 'idl',
195 'msvs_external_rule': 1, 195 'msvs_external_rule': 1,
196 'inputs': [ 196 'inputs': [
197 'scripts/generate_bindings.pl', 197 'scripts/generate_bindings.pl',
198 'scripts/code_generator_v8.pm', 198 'scripts/code_generator_v8.pm',
199 'scripts/idl_parser.pm', 199 'scripts/idl_parser.pm',
200 'scripts/idl_serializer.pm', 200 'scripts/idl_serializer.pm',
201 '../core/scripts/preprocessor.pm', 201 '../build/scripts/preprocessor.pm',
202 'scripts/IDLAttributes.txt', 202 'scripts/IDLAttributes.txt',
203 # FIXME: If the dependency structure changes, we rebuild all files, 203 # FIXME: If the dependency structure changes, we rebuild all files,
204 # since we're not computing dependencies file-by-file in the build. 204 # since we're not computing dependencies file-by-file in the build.
205 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', 205 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt',
206 # FIXME: Similarly, if any partial interface changes, rebuild 206 # FIXME: Similarly, if any partial interface changes, rebuild
207 # everything, since every IDL potentially depends on them, because 207 # everything, since every IDL potentially depends on them, because
208 # we're not computing dependencies file-by-file. 208 # we're not computing dependencies file-by-file.
209 # 209 #
210 # If a new partial interface is added, need to regyp to update these 210 # If a new partial interface is added, need to regyp to update these
211 # dependencies, as these are computed statically at gyp runtime. 211 # dependencies, as these are computed statically at gyp runtime.
(...skipping 18 matching lines...) Expand all
230 'extra_blink_generator_include_dirs%': [], 230 'extra_blink_generator_include_dirs%': [],
231 }, 231 },
232 'msvs_cygwin_shell': 0, 232 'msvs_cygwin_shell': 0,
233 # sanitize-win-build-log.sed uses a regex which matches this command 233 # sanitize-win-build-log.sed uses a regex which matches this command
234 # line (Perl script + .idl file being processed). 234 # line (Perl script + .idl file being processed).
235 # Update that regex if command line changes (other than changing flags) 235 # Update that regex if command line changes (other than changing flags)
236 'action': [ 236 'action': [
237 '<(perl_exe)', 237 '<(perl_exe)',
238 '-w', 238 '-w',
239 '-Iscripts', 239 '-Iscripts',
240 '-I../core/scripts', 240 '-I../build/scripts',
241 '-I<(DEPTH)/third_party/JSON/out/lib/perl5', 241 '-I<(DEPTH)/third_party/JSON/out/lib/perl5',
242 'scripts/generate_bindings.pl', 242 'scripts/generate_bindings.pl',
243 '--outputDir', 243 '--outputDir',
244 '<(bindings_output_dir)', 244 '<(bindings_output_dir)',
245 '--idlAttributesFile', 245 '--idlAttributesFile',
246 'scripts/IDLAttributes.txt', 246 'scripts/IDLAttributes.txt',
247 '<@(generator_include_dirs)', 247 '<@(generator_include_dirs)',
248 '<@(extra_blink_generator_include_dirs)', 248 '<@(extra_blink_generator_include_dirs)',
249 '--interfaceDependenciesFile', 249 '--interfaceDependenciesFile',
250 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', 250 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt',
251 '--additionalIdlFiles', 251 '--additionalIdlFiles',
252 '<(webcore_test_support_idl_files)', 252 '<(webcore_test_support_idl_files)',
253 '<@(preprocessor)', 253 '<@(preprocessor)',
254 '<@(write_file_only_if_changed)', 254 '<@(write_file_only_if_changed)',
255 '<(RULE_INPUT_PATH)', 255 '<(RULE_INPUT_PATH)',
256 ], 256 ],
257 'message': 'Generating binding from <(RULE_INPUT_PATH)', 257 'message': 'Generating binding from <(RULE_INPUT_PATH)',
258 }], 258 }],
259 }, 259 },
260 { 260 {
261 'target_name': 'bindings_derived_sources', 261 'target_name': 'bindings_derived_sources',
262 'type': 'none', 262 'type': 'none',
263 'dependencies': [ 263 'dependencies': [
264 'interface_dependencies', 264 'interface_dependencies',
265 'bindings_sources', 265 'bindings_sources',
266 ], 266 ],
267 'actions': [{ 267 'actions': [{
268 'action_name': 'derived_sources_all_in_one', 268 'action_name': 'derived_sources_all_in_one',
269 'inputs': [ 269 'inputs': [
270 '../core/scripts/action_derivedsourcesallinone.py', 270 '../build/scripts/action_derivedsourcesallinone.py',
271 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', 271 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt',
272 ], 272 ],
273 'outputs': [ 273 'outputs': [
274 '<@(derived_sources_aggregate_files)', 274 '<@(derived_sources_aggregate_files)',
275 ], 275 ],
276 'action': [ 276 'action': [
277 'python', 277 'python',
278 '../core/scripts/action_derivedsourcesallinone.py', 278 '../build/scripts/action_derivedsourcesallinone.py',
279 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', 279 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt',
280 '--', 280 '--',
281 '<@(derived_sources_aggregate_files)', 281 '<@(derived_sources_aggregate_files)',
282 ], 282 ],
283 'message': 'Generating bindings derived sources', 283 'message': 'Generating bindings derived sources',
284 }], 284 }],
285 }, 285 },
286 ], 286 ],
287 } 287 }
OLDNEW
« no previous file with comments | « no previous file | Source/build/scripts/Hasher.pm » ('j') | Source/core/ConvertFileToHeaderWithCharacterArray.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698