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

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

Issue 16296004: JSON export/import in generate-bindings.pl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: IDL: Perl to/from JSON export/import Created 7 years, 6 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 ], 160 ],
161 }], 161 }],
162 'rules': [{ 162 'rules': [{
163 'rule_name': 'binding', 163 'rule_name': 'binding',
164 'extension': 'idl', 164 'extension': 'idl',
165 'msvs_external_rule': 1, 165 'msvs_external_rule': 1,
166 'inputs': [ 166 'inputs': [
167 'scripts/generate-bindings.pl', 167 'scripts/generate-bindings.pl',
168 'scripts/CodeGeneratorV8.pm', 168 'scripts/CodeGeneratorV8.pm',
169 'scripts/IDLParser.pm', 169 'scripts/IDLParser.pm',
170 'scripts/IRToFromJSON.pm',
170 'scripts/IDLAttributes.txt', 171 'scripts/IDLAttributes.txt',
171 '../core/scripts/preprocessor.pm', 172 '../core/scripts/preprocessor.pm',
172 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', 173 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))',
173 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl', 174 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl',
174 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl', 175 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl',
175 ], 176 ],
176 'outputs': [ 177 'outputs': [
177 # FIXME: The .cpp file should be in webkit/bindings once 178 # FIXME: The .cpp file should be in webkit/bindings once
178 # we coax GYP into supporting it (see 'action' below). 179 # we coax GYP into supporting it (see 'action' below).
179 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp' , 180 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp' ,
(...skipping 12 matching lines...) Expand all
192 # FIXME: Note that we put the .cpp files in webcore/bindings 193 # FIXME: Note that we put the .cpp files in webcore/bindings
193 # but the .h files in webkit/bindings. This is to work around 194 # but the .h files in webkit/bindings. This is to work around
194 # the unfortunate fact that GYP strips duplicate arguments 195 # the unfortunate fact that GYP strips duplicate arguments
195 # from lists. When we have a better GYP way to suppress that 196 # from lists. When we have a better GYP way to suppress that
196 # behavior, change the output location. 197 # behavior, change the output location.
197 'action': [ 198 'action': [
198 '<(perl_exe)', 199 '<(perl_exe)',
199 '-w', 200 '-w',
200 '-Iscripts', 201 '-Iscripts',
201 '-I../core/scripts', 202 '-I../core/scripts',
203 '-I../../../JSON/out/lib/perl5',
202 'scripts/generate-bindings.pl', 204 'scripts/generate-bindings.pl',
203 '--outputHeadersDir', 205 '--outputHeadersDir',
204 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', 206 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings',
205 '--outputDir', 207 '--outputDir',
206 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings', 208 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings',
207 '--idlAttributesFile', 209 '--idlAttributesFile',
208 'scripts/IDLAttributes.txt', 210 'scripts/IDLAttributes.txt',
209 '--defines', 211 '--defines',
210 '<(feature_defines)', 212 '<(feature_defines)',
211 '<@(generator_include_dirs)', 213 '<@(generator_include_dirs)',
212 '--supplementalDependencyFile', 214 '--supplementalDependencyFile',
213 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', 215 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp',
214 '--additionalIdlFiles', 216 '--additionalIdlFiles',
215 '<(webcore_test_support_idl_files)', 217 '<(webcore_test_support_idl_files)',
216 '<(RULE_INPUT_PATH)', 218 '<(RULE_INPUT_PATH)',
217 '<@(preprocessor)', 219 '<@(preprocessor)',
218 '<@(write_file_only_if_changed)', 220 '<@(write_file_only_if_changed)',
219 ], 221 ],
220 'message': 'Generating binding from <(RULE_INPUT_PATH)', 222 'message': 'Generating binding from <(RULE_INPUT_PATH)',
221 }], 223 }],
222 }, 224 },
223 ], 225 ],
224 } 226 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/scripts/IRToFromJSON.pm » ('j') | Source/bindings/scripts/IRToFromJSON.pm » ('J')

Powered by Google App Engine
This is Rietveld 408576698