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

Side by Side Diff: tools/gyp/v8.gyp

Issue 137713003: Fix *.py and *.jinja in build rules. They don't really work. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 11 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 'python', 229 'python',
230 '../../tools/generate-trig-table.py', 230 '../../tools/generate-trig-table.py',
231 '<@(_outputs)', 231 '<@(_outputs)',
232 ], 232 ],
233 }, 233 },
234 ] 234 ]
235 }, 235 },
236 { 236 {
237 'target_name': 'generated-lexer', 237 'target_name': 'generated-lexer',
238 'type': 'none', 238 'type': 'none',
239 'variables': {
240 'lexer_generator_files': [
241 '../../src/lexer/lexer_py.re',
242 '../../tools/lexer_generator/code_generator.jinja',
243 '../../tools/lexer_generator/automaton.py',
244 '../../tools/lexer_generator/code_generator.py',
245 '../../tools/lexer_generator/dfa_optimizer.py',
246 '../../tools/lexer_generator/dfa.py',
247 '../../tools/lexer_generator/generator.py',
248 '../../tools/lexer_generator/__init__.py',
249 '../../tools/lexer_generator/nfa_builder.py',
250 '../../tools/lexer_generator/nfa.py',
251 '../../tools/lexer_generator/regex_lexer.py',
252 '../../tools/lexer_generator/regex_parser.py',
253 '../../tools/lexer_generator/rule_lexer.py',
254 '../../tools/lexer_generator/rule_parser.py',
255 '../../tools/lexer_generator/transition_keys.py',
256 ],
257 },
239 'actions': [ 258 'actions': [
240 { 259 {
241 'action_name': 'codegen_8', 260 'action_name': 'codegen_8',
242 'inputs': [ 261 'inputs': [
243 '../../src/lexer/lexer_py.re', 262 '<@(lexer_generator_files)',
244 '../../tools/lexer_generator/*.py',
245 '../../tools/lexer_generator/*.jinja',
246 ], 263 ],
247 'outputs': [ 264 'outputs': [
248 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc', 265 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc',
249 ], 266 ],
250 'action': [ 267 'action': [
251 'python', 268 'python',
252 '../../tools/lexer_generator/generator.py', 269 '../../tools/lexer_generator/generator.py',
253 '--re=../../src/lexer/lexer_py.re', 270 '--re=../../src/lexer/lexer_py.re',
254 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc', 271 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc',
255 '--encoding=latin1', 272 '--encoding=latin1',
256 ], 273 ],
257 }, 274 },
258 { 275 {
259 'action_name': 'codegen_16', 276 'action_name': 'codegen_16',
260 'inputs': [ 277 'inputs': [
261 '../../src/lexer/lexer_py.re', 278 '<@(lexer_generator_files)',
262 '../../tools/lexer_generator/*.py',
263 '../../tools/lexer_generator/*.jinja',
264 ], 279 ],
265 'outputs': [ 280 'outputs': [
266 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', 281 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc',
267 ], 282 ],
268 'action': [ 283 'action': [
269 'python', 284 'python',
270 '../../tools/lexer_generator/generator.py', 285 '../../tools/lexer_generator/generator.py',
271 '--re=../../src/lexer/lexer_py.re', 286 '--re=../../src/lexer/lexer_py.re',
272 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', 287 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc',
273 '--encoding=utf16', 288 '--encoding=utf16',
274 ], 289 ],
275 }, 290 },
276 { 291 {
277 'action_name': 'codegen_utf8', 292 'action_name': 'codegen_utf8',
278 'inputs': [ 293 'inputs': [
279 '../../src/lexer/lexer_py.re', 294 '<@(lexer_generator_files)',
280 '../../tools/lexer_generator/*.py',
281 '../../tools/lexer_generator/*.jinja',
282 ], 295 ],
283 'outputs': [ 296 'outputs': [
284 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc', 297 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc',
285 ], 298 ],
286 'action': [ 299 'action': [
287 'python', 300 'python',
288 '../../tools/lexer_generator/generator.py', 301 '../../tools/lexer_generator/generator.py',
289 '--re=../../src/lexer/lexer_py.re', 302 '--re=../../src/lexer/lexer_py.re',
290 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc', 303 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf8.cc',
291 '--encoding=utf8', 304 '--encoding=utf8',
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 }], 1233 }],
1221 ['v8_compress_startup_data=="bz2"', { 1234 ['v8_compress_startup_data=="bz2"', {
1222 'libraries': [ 1235 'libraries': [
1223 '-lbz2', 1236 '-lbz2',
1224 ] 1237 ]
1225 }], 1238 }],
1226 ], 1239 ],
1227 }, 1240 },
1228 ], 1241 ],
1229 } 1242 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698