| 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 interfaces info for modules, used to generate bindings | 5 # Generate IDL interfaces info for modules, used to generate bindings |
| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 '<(blink_modules_output_dir)', | 130 '<(blink_modules_output_dir)', |
| 131 ], | 131 ], |
| 132 }, | 132 }, |
| 133 ], | 133 ], |
| 134 }, | 134 }, |
| 135 ################################################################################ | 135 ################################################################################ |
| 136 { | 136 { |
| 137 'target_name': 'modules_global_constructors_idls', | 137 'target_name': 'modules_global_constructors_idls', |
| 138 'type': 'none', | 138 'type': 'none', |
| 139 'dependencies': [ | 139 'dependencies': [ |
| 140 # FIXME: should be modules_global_objects http://crbug.com/358074 | 140 '../core/generated.gyp:modules_global_objects', |
| 141 '../generated.gyp:global_objects', | |
| 142 ], | 141 ], |
| 143 'actions': [{ | 142 'actions': [{ |
| 144 'action_name': 'generate_modules_global_constructors_idls', | 143 'action_name': 'generate_modules_global_constructors_idls', |
| 145 'inputs': [ | 144 'inputs': [ |
| 146 '<(bindings_scripts_dir)/generate_global_constructors.py', | 145 '<(bindings_scripts_dir)/generate_global_constructors.py', |
| 147 '<(bindings_scripts_dir)/utilities.py', | 146 '<(bindings_scripts_dir)/utilities.py', |
| 148 # Only includes main IDL files (exclude dependencies and testing, | 147 # Only includes main IDL files (exclude dependencies and testing, |
| 149 # which should not appear on global objects). | 148 # which should not appear on global objects). |
| 150 '<(modules_idl_files_list)', | 149 '<(modules_idl_files_list)', |
| 151 '<@(modules_idl_files)', | 150 '<@(modules_idl_files)', |
| 152 '<(bindings_output_dir)/GlobalObjects.pickle', | 151 '<(bindings_modules_output_dir)/GlobalObjectsModules.pickle', |
| 153 ], | 152 ], |
| 154 'outputs': [ | 153 'outputs': [ |
| 155 '<@(modules_global_constructors_generated_idl_files)', | 154 '<@(modules_global_constructors_generated_idl_files)', |
| 156 '<@(modules_global_constructors_generated_header_files)', | 155 '<@(modules_global_constructors_generated_header_files)', |
| 157 ], | 156 ], |
| 158 'action': [ | 157 'action': [ |
| 159 'python', | 158 'python', |
| 160 '<(bindings_scripts_dir)/generate_global_constructors.py', | 159 '<(bindings_scripts_dir)/generate_global_constructors.py', |
| 161 '--idl-files-list', | 160 '--idl-files-list', |
| 162 '<(modules_idl_files_list)', | 161 '<(modules_idl_files_list)', |
| 163 '--global-objects-file', | 162 '--global-objects-file', |
| 164 '<(bindings_output_dir)/GlobalObjects.pickle', | 163 '<(bindings_modules_output_dir)/GlobalObjectsModules.pickle', |
| 165 '--write-file-only-if-changed', | 164 '--write-file-only-if-changed', |
| 166 '<(write_file_only_if_changed)', | 165 '<(write_file_only_if_changed)', |
| 167 '--', | 166 '--', |
| 168 'Window', | 167 'Window', |
| 169 '<(blink_modules_output_dir)/WindowModulesConstructors.idl', | 168 '<(blink_modules_output_dir)/WindowModulesConstructors.idl', |
| 170 'SharedWorkerGlobalScope', | 169 'SharedWorkerGlobalScope', |
| 171 '<(blink_modules_output_dir)/SharedWorkerGlobalScopeModulesConstructors.
idl', | 170 '<(blink_modules_output_dir)/SharedWorkerGlobalScopeModulesConstructors.
idl', |
| 172 'DedicatedWorkerGlobalScope', | 171 'DedicatedWorkerGlobalScope', |
| 173 '<(blink_modules_output_dir)/DedicatedWorkerGlobalScopeModulesConstructo
rs.idl', | 172 '<(blink_modules_output_dir)/DedicatedWorkerGlobalScopeModulesConstructo
rs.idl', |
| 174 'ServiceWorkerGlobalScope', | 173 'ServiceWorkerGlobalScope', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', | 241 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
| 243 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', | 242 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
| 244 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 243 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 245 ], | 244 ], |
| 246 'message': 'Computing overall global information about IDL files', | 245 'message': 'Computing overall global information about IDL files', |
| 247 }] | 246 }] |
| 248 }, | 247 }, |
| 249 ################################################################################ | 248 ################################################################################ |
| 250 ], # targets | 249 ], # targets |
| 251 } | 250 } |
| OLD | NEW |