| 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 # Generate IDL bindings for modules, plus aggregate bindings files. | 5 # Generate IDL bindings for modules, plus aggregate bindings files. |
| 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 23 matching lines...) Expand all Loading... |
| 34 ], | 34 ], |
| 35 'sources': [ | 35 'sources': [ |
| 36 '<@(modules_interface_idl_files)', | 36 '<@(modules_interface_idl_files)', |
| 37 ], | 37 ], |
| 38 'rules': [{ | 38 'rules': [{ |
| 39 'rule_name': 'binding', | 39 'rule_name': 'binding', |
| 40 'extension': 'idl', | 40 'extension': 'idl', |
| 41 'msvs_external_rule': 1, | 41 'msvs_external_rule': 1, |
| 42 'inputs': [ | 42 'inputs': [ |
| 43 '<@(idl_lexer_parser_files)', # to be explicit (covered by parsetab) | 43 '<@(idl_lexer_parser_files)', # to be explicit (covered by parsetab) |
| 44 '<@(idl_cache_files)', |
| 44 '<@(idl_compiler_files)', | 45 '<@(idl_compiler_files)', |
| 45 '<(bindings_scripts_output_dir)/lextab.py', | |
| 46 '<(bindings_scripts_output_dir)/parsetab.pickle', | |
| 47 '<(bindings_scripts_output_dir)/cached_jinja_templates.stamp', | |
| 48 '<(bindings_dir)/IDLExtendedAttributes.txt', | 46 '<(bindings_dir)/IDLExtendedAttributes.txt', |
| 49 # If the dependency structure or public interface info (e.g., | 47 # If the dependency structure or public interface info (e.g., |
| 50 # [ImplementedAs]) changes, we rebuild all files, since we're not | 48 # [ImplementedAs]) changes, we rebuild all files, since we're not |
| 51 # computing dependencies file-by-file in the build. | 49 # computing dependencies file-by-file in the build. |
| 52 # This data is generally stable. | 50 # This data is generally stable. |
| 53 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 51 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 54 # Further, if any dependency (partial interface or implemented | 52 # Further, if any dependency (partial interface or implemented |
| 55 # interface) changes, rebuild everything, since every IDL potentially | 53 # interface) changes, rebuild everything, since every IDL potentially |
| 56 # depends on them, because we're not computing dependencies | 54 # depends on them, because we're not computing dependencies |
| 57 # file-by-file. | 55 # file-by-file. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 'target_name': 'bindings_modules_v8_generated', | 110 'target_name': 'bindings_modules_v8_generated', |
| 113 'type': 'none', | 111 'type': 'none', |
| 114 'dependencies': [ | 112 'dependencies': [ |
| 115 'bindings_modules_v8_generated_aggregate', | 113 'bindings_modules_v8_generated_aggregate', |
| 116 'bindings_modules_v8_generated_individual', | 114 'bindings_modules_v8_generated_individual', |
| 117 ], | 115 ], |
| 118 }, | 116 }, |
| 119 ################################################################################ | 117 ################################################################################ |
| 120 ], # targets | 118 ], # targets |
| 121 } | 119 } |
| OLD | NEW |