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

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

Issue 306633002: Split bindings output between core and modules! (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix aggregate paths Created 6 years, 7 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 | « Source/bindings/scripts/idl_compiler.py ('k') | Source/bindings/scripts/scripts.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # Pre-caching steps used internally by the IDL compiler 5 # Pre-caching steps used internally by the IDL compiler
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': [
(...skipping 11 matching lines...) Expand all
22 # files (hence maximizing speed), instead of early processes building the 22 # files (hence maximizing speed), instead of early processes building the
23 # tables themselves (as they've not yet been written when they start). 23 # tables themselves (as they've not yet been written when they start).
24 'target_name': 'cached_lex_yacc_tables', 24 'target_name': 'cached_lex_yacc_tables',
25 'type': 'none', 25 'type': 'none',
26 'actions': [{ 26 'actions': [{
27 'action_name': 'cache_lex_yacc_tables', 27 'action_name': 'cache_lex_yacc_tables',
28 'inputs': [ 28 'inputs': [
29 '<@(idl_lexer_parser_files)', 29 '<@(idl_lexer_parser_files)',
30 ], 30 ],
31 'outputs': [ 31 'outputs': [
32 '<(bindings_output_dir)/lextab.py', 32 '<(bindings_scripts_output_dir)/lextab.py',
33 '<(bindings_output_dir)/parsetab.pickle', 33 '<(bindings_scripts_output_dir)/parsetab.pickle',
34 ], 34 ],
35 'action': [ 35 'action': [
36 'python', 36 'python',
37 'blink_idl_parser.py', 37 'blink_idl_parser.py',
38 '<(bindings_output_dir)', 38 '<(bindings_scripts_output_dir)',
39 ], 39 ],
40 'message': 'Caching PLY lex & yacc lex/parse tables', 40 'message': 'Caching PLY lex & yacc lex/parse tables',
41 }], 41 }],
42 }, 42 },
43 ################################################################################ 43 ################################################################################
44 { 44 {
45 # A separate pre-caching step is *required* to use bytecode caching in 45 # A separate pre-caching step is *required* to use bytecode caching in
46 # Jinja (which improves speed significantly), as the bytecode cache is 46 # Jinja (which improves speed significantly), as the bytecode cache is
47 # not concurrency-safe on write; details in code_generator_v8.py. 47 # not concurrency-safe on write; details in code_generator_v8.py.
48 'target_name': 'cached_jinja_templates', 48 'target_name': 'cached_jinja_templates',
49 'type': 'none', 49 'type': 'none',
50 'actions': [{ 50 'actions': [{
51 'action_name': 'cache_jinja_templates', 51 'action_name': 'cache_jinja_templates',
52 'inputs': [ 52 'inputs': [
53 '<@(jinja_module_files)', 53 '<@(jinja_module_files)',
54 'code_generator_v8.py', 54 'code_generator_v8.py',
55 '<@(code_generator_template_files)', 55 '<@(code_generator_template_files)',
56 ], 56 ],
57 'outputs': [ 57 'outputs': [
58 '<(bindings_output_dir)/cached_jinja_templates.stamp', # Dummy to track dependency 58 '<(bindings_scripts_output_dir)/cached_jinja_templates.stamp', # Dummy to track dependency
59 ], 59 ],
60 'action': [ 60 'action': [
61 'python', 61 'python',
62 'code_generator_v8.py', 62 'code_generator_v8.py',
63 '<(bindings_output_dir)', 63 '<(bindings_scripts_output_dir)',
64 '<(bindings_output_dir)/cached_jinja_templates.stamp', 64 '<(bindings_scripts_output_dir)/cached_jinja_templates.stamp',
65 ], 65 ],
66 'message': 'Caching bytecode of Jinja templates', 66 'message': 'Caching bytecode of Jinja templates',
67 }], 67 }],
68 }, 68 },
69 ################################################################################ 69 ################################################################################
70 ], # targets 70 ], # targets
71 } 71 }
OLDNEW
« no previous file with comments | « Source/bindings/scripts/idl_compiler.py ('k') | Source/bindings/scripts/scripts.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698