OLD | NEW |
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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'bindings_scripts_dir': '.', | 7 'bindings_scripts_dir': '.', |
8 'bindings_scripts_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/sc
ripts', | 8 'bindings_scripts_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/sc
ripts', |
9 'jinja_module_files': [ | 9 'jinja_module_files': [ |
10 # jinja2/__init__.py contains version string, so sufficient for package | 10 # jinja2/__init__.py contains version string, so sufficient for package |
(...skipping 24 matching lines...) Expand all Loading... |
35 'code_generator_v8.py', | 35 'code_generator_v8.py', |
36 'v8_attributes.py', | 36 'v8_attributes.py', |
37 'v8_callback_interface.py', | 37 'v8_callback_interface.py', |
38 'v8_dictionary.py', | 38 'v8_dictionary.py', |
39 'v8_globals.py', | 39 'v8_globals.py', |
40 'v8_interface.py', | 40 'v8_interface.py', |
41 'v8_methods.py', | 41 'v8_methods.py', |
42 'v8_types.py', | 42 'v8_types.py', |
43 'v8_utilities.py', | 43 'v8_utilities.py', |
44 ], | 44 ], |
| 45 'idl_cache_files': [ |
| 46 '<(bindings_scripts_output_dir)/lextab.py', |
| 47 '<(bindings_scripts_output_dir)/parsetab.pickle', |
| 48 '<(bindings_scripts_output_dir)/cached_jinja_templates.stamp', |
| 49 ], |
45 | 50 |
46 'conditions': [ | 51 'conditions': [ |
47 # These scripts can skip writing generated files if they are identical | 52 # These scripts can skip writing generated files if they are identical |
48 # to the already existing files, which avoids further build steps, like | 53 # to the already existing files, which avoids further build steps, like |
49 # recompilation. However, a dependency (earlier build step) having a | 54 # recompilation. However, a dependency (earlier build step) having a |
50 # newer timestamp than an output (later build step) confuses some build | 55 # newer timestamp than an output (later build step) confuses some build |
51 # systems, so only use this on ninja, which explicitly supports this use | 56 # systems, so only use this on ninja, which explicitly supports this use |
52 # case (gyp turns all actions into ninja restat rules). | 57 # case (gyp turns all actions into ninja restat rules). |
53 ['"<(GENERATOR)"=="ninja"', { | 58 ['"<(GENERATOR)"=="ninja"', { |
54 'write_file_only_if_changed': '1', | 59 'write_file_only_if_changed': '1', |
55 }, { | 60 }, { |
56 'write_file_only_if_changed': '0', | 61 'write_file_only_if_changed': '0', |
57 }], | 62 }], |
58 ], | 63 ], |
59 }, | 64 }, |
60 } | 65 } |
OLD | NEW |