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

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

Issue 310563004: IDL build: Split global constructors into core and modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Better includes and FIXMEs in core.gyp 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
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 core, used to generate bindings 5 # Generate IDL interfaces info for core, 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': [
11 '../bindings.gypi', 11 # ../.. == Source
12 '../scripts/scripts.gypi', 12 '../../bindings/bindings.gypi',
haraken 2014/06/03 15:31:10 FIXME: remove this?
Nils Barth (inactive) 2014/06/04 03:36:31 ditto.
13 '../../bindings/scripts/scripts.gypi',
14 '../../core/core.gypi',
13 'core.gypi', 15 'core.gypi',
16 'generated.gypi',
14 'idl.gypi', 17 'idl.gypi',
haraken 2014/06/03 15:31:10 To avoid confusion, it might be better to always w
Nils Barth (inactive) 2014/06/04 03:36:31 I'd prefer to *not* qualify paths if it's the same
15 ], 18 ],
16 19
17 'targets': [ 20 'targets': [
18 ################################################################################ 21 ################################################################################
19 { 22 {
23 'target_name': 'core_global_constructors_idls',
24 'type': 'none',
25 'dependencies': [
26 # FIXME: should be core_global_objects http://crbug.com/358074
27 '../generated.gyp:global_objects',
28 ],
29 'actions': [{
30 'action_name': 'generate_core_global_constructors_idls',
31 'inputs': [
32 '<(bindings_scripts_dir)/generate_global_constructors.py',
33 '<(bindings_scripts_dir)/utilities.py',
34 # Only includes main IDL files (exclude dependencies and testing,
35 # which should not appear on global objects).
36 '<(core_idl_files_list)',
37 '<@(core_idl_files)',
38 '<(bindings_output_dir)/GlobalObjects.pickle',
39 ],
40 'outputs': [
41 '<@(core_global_constructors_generated_idl_files)',
42 '<@(core_global_constructors_generated_header_files)',
43 ],
44 'action': [
45 'python',
46 '<(bindings_scripts_dir)/generate_global_constructors.py',
47 '--idl-files-list',
48 '<(core_idl_files_list)',
49 '--global-objects-file',
50 '<(bindings_output_dir)/GlobalObjects.pickle',
51 '--write-file-only-if-changed',
52 '<(write_file_only_if_changed)',
53 '--',
54 'Window',
55 '<(blink_core_output_dir)/WindowCoreConstructors.idl',
56 'SharedWorkerGlobalScope',
57 '<(blink_core_output_dir)/SharedWorkerGlobalScopeCoreConstructors.idl',
58 'DedicatedWorkerGlobalScope',
59 '<(blink_core_output_dir)/DedicatedWorkerGlobalScopeCoreConstructors.idl ',
60 'ServiceWorkerGlobalScope',
61 '<(blink_core_output_dir)/ServiceWorkerGlobalScopeCoreConstructors.idl',
62 ],
63 'message':
64 'Generating IDL files for constructors on global objects from core',
65 }]
66 },
67 ################################################################################
68 {
20 'target_name': 'interfaces_info_individual_core', 69 'target_name': 'interfaces_info_individual_core',
21 'type': 'none', 70 'type': 'none',
22 'dependencies': [ 71 'dependencies': [
23 # FIXME: should be core_generated_idls 72 '../../core/core_generated.gyp:generated_testing_idls',
24 # http://crbug.com/358074 73 'core_global_constructors_idls',
25 '../generated.gyp:generated_idls',
26 ], 74 ],
27 'actions': [{ 75 'actions': [{
28 'action_name': 'compute_interfaces_info_individual_core', 76 'action_name': 'compute_interfaces_info_individual_core',
29 'inputs': [ 77 'inputs': [
30 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', 78 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py',
31 '<(bindings_scripts_dir)/utilities.py', 79 '<(bindings_scripts_dir)/utilities.py',
32 '<(core_static_idl_files_list)', 80 '<(core_static_idl_files_list)',
33 '<@(core_static_idl_files)', 81 '<@(core_static_idl_files)',
34 '<@(core_generated_idl_files)', 82 '<@(core_generated_idl_files)',
35 ], 83 ],
(...skipping 14 matching lines...) Expand all
50 '--', 98 '--',
51 # Generated files must be passed at command line 99 # Generated files must be passed at command line
52 '<@(core_generated_idl_files)', 100 '<@(core_generated_idl_files)',
53 ], 101 ],
54 'message': 'Computing global information about individual IDL files', 102 'message': 'Computing global information about individual IDL files',
55 }] 103 }]
56 }, 104 },
57 ################################################################################ 105 ################################################################################
58 ], # targets 106 ], # targets
59 } 107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698