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

Side by Side Diff: Source/bindings/modules/generated.gyp

Issue 315003004: IDL build: Split global object computation into core and modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move modules_global_objects to core/generated to eliminate circular dependency of GYP files Created 6 years, 6 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/idl.gypi ('k') | Source/bindings/modules/modules.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 # 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
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
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 }
OLDNEW
« no previous file with comments | « Source/bindings/idl.gypi ('k') | Source/bindings/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698