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

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

Issue 319593006: IDL build: remove dependency core global constructors → modules global objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « no previous file | Source/bindings/core/generated.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 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 # ../.. == Source 11 # ../.. == Source
12 '../../bindings/bindings.gypi', 12 '../../bindings/bindings.gypi',
13 # FIXME: need info about modules for constructors on global objects
14 # http://crbug.com/358074
15 '../../bindings/modules/modules.gypi',
16 '../../bindings/scripts/scripts.gypi', 13 '../../bindings/scripts/scripts.gypi',
17 '../../core/core.gypi', 14 '../../core/core.gypi',
18 'core.gypi', 15 'core.gypi',
19 'generated.gypi', 16 'generated.gypi',
20 'idl.gypi', 17 'idl.gypi',
21 ], 18 ],
22 19
23 'targets': [ 20 'targets': [
24 ################################################################################ 21 ################################################################################
25 { 22 {
26 'target_name': 'core_global_objects', 23 'target_name': 'core_global_objects',
27 'type': 'none', 24 'type': 'none',
28 'actions': [{ 25 'actions': [{
29 'action_name': 'core_modules_global_objects', 26 'action_name': 'compute_core_global_objects',
30 'inputs': [ 27 'inputs': [
31 '<(bindings_scripts_dir)/compute_global_objects.py', 28 '<(bindings_scripts_dir)/compute_global_objects.py',
32 '<(bindings_scripts_dir)/utilities.py', 29 '<(bindings_scripts_dir)/utilities.py',
33 # Only look in main IDL files (exclude dependencies and testing, 30 # Only look in main IDL files (exclude dependencies and testing,
34 # which should not define global objects). 31 # which should not define global objects).
35 '<(core_idl_files_list)', 32 '<(core_idl_files_list)',
36 '<@(core_idl_files)', 33 '<@(core_idl_files)',
37 ], 34 ],
38 'outputs': [ 35 'outputs': [
39 '<(bindings_core_output_dir)/GlobalObjectsCore.pickle', 36 '<(bindings_core_output_dir)/GlobalObjectsCore.pickle',
40 ], 37 ],
41 'action': [ 38 'action': [
42 'python', 39 'python',
43 '<(bindings_scripts_dir)/compute_global_objects.py', 40 '<(bindings_scripts_dir)/compute_global_objects.py',
44 '--idl-files-list', 41 '--idl-files-list',
45 '<(core_idl_files_list)', 42 '<(core_idl_files_list)',
46 '--write-file-only-if-changed', 43 '--write-file-only-if-changed',
47 '<(write_file_only_if_changed)', 44 '<(write_file_only_if_changed)',
48 '--', 45 '--',
49 '<(bindings_core_output_dir)/GlobalObjectsCore.pickle', 46 '<(bindings_core_output_dir)/GlobalObjectsCore.pickle',
50 ], 47 ],
51 'message': 'Computing global objects in core', 48 'message': 'Computing global objects in core',
52 }] 49 }]
53 }, 50 },
54 ################################################################################ 51 ################################################################################
55 { 52 {
56 'target_name': 'core_global_constructors_idls', 53 'target_name': 'core_global_constructors_idls',
57 'type': 'none', 54 'type': 'none',
58 'dependencies': [ 55 'dependencies': [
59 # FIXME: should be core_global_objects http://crbug.com/358074 56 'core_global_objects',
60 '../modules/generated.gyp:modules_global_objects',
61 ], 57 ],
62 'actions': [{ 58 'actions': [{
63 'action_name': 'generate_core_global_constructors_idls', 59 'action_name': 'generate_core_global_constructors_idls',
64 'inputs': [ 60 'inputs': [
65 '<(bindings_scripts_dir)/generate_global_constructors.py', 61 '<(bindings_scripts_dir)/generate_global_constructors.py',
66 '<(bindings_scripts_dir)/utilities.py', 62 '<(bindings_scripts_dir)/utilities.py',
67 # Only includes main IDL files (exclude dependencies and testing, 63 # Only includes main IDL files (exclude dependencies and testing,
68 # which should not appear on global objects). 64 # which should not appear on global objects).
69 '<(core_idl_files_list)', 65 '<(core_idl_files_list)',
70 '<@(core_idl_files)', 66 '<@(core_idl_files)',
71 '<(bindings_modules_output_dir)/GlobalObjectsModules.pickle', 67 '<(bindings_core_output_dir)/GlobalObjectsCore.pickle',
72 ], 68 ],
73 'outputs': [ 69 'outputs': [
74 '<@(core_global_constructors_generated_idl_files)', 70 '<@(core_global_constructors_generated_idl_files)',
75 '<@(core_global_constructors_generated_header_files)', 71 '<@(core_global_constructors_generated_header_files)',
76 ], 72 ],
77 'action': [ 73 'action': [
78 'python', 74 'python',
79 '<(bindings_scripts_dir)/generate_global_constructors.py', 75 '<(bindings_scripts_dir)/generate_global_constructors.py',
80 '--idl-files-list', 76 '--idl-files-list',
81 '<(core_idl_files_list)', 77 '<(core_idl_files_list)',
82 '--global-objects-file', 78 '--global-objects-file',
83 '<(bindings_modules_output_dir)/GlobalObjectsModules.pickle', 79 '<(bindings_core_output_dir)/GlobalObjectsCore.pickle',
84 '--write-file-only-if-changed', 80 '--write-file-only-if-changed',
85 '<(write_file_only_if_changed)', 81 '<(write_file_only_if_changed)',
86 '--', 82 '--',
87 'Window', 83 'Window',
88 '<(blink_core_output_dir)/WindowCoreConstructors.idl', 84 '<(blink_core_output_dir)/WindowCoreConstructors.idl',
89 'SharedWorkerGlobalScope', 85 'SharedWorkerGlobalScope',
90 '<(blink_core_output_dir)/SharedWorkerGlobalScopeCoreConstructors.idl', 86 '<(blink_core_output_dir)/SharedWorkerGlobalScopeCoreConstructors.idl',
91 'DedicatedWorkerGlobalScope', 87 'DedicatedWorkerGlobalScope',
92 '<(blink_core_output_dir)/DedicatedWorkerGlobalScopeCoreConstructors.idl ', 88 '<(blink_core_output_dir)/DedicatedWorkerGlobalScopeCoreConstructors.idl ',
93 'ServiceWorkerGlobalScope',
94 '<(blink_core_output_dir)/ServiceWorkerGlobalScopeCoreConstructors.idl',
95 ], 89 ],
96 'message': 90 'message':
97 'Generating IDL files for constructors on global objects from core', 91 'Generating IDL files for constructors on global objects from core',
98 }] 92 }]
99 }, 93 },
100 ################################################################################ 94 ################################################################################
101 { 95 {
102 'target_name': 'interfaces_info_individual_core', 96 'target_name': 'interfaces_info_individual_core',
103 'type': 'none', 97 'type': 'none',
104 'dependencies': [ 98 'dependencies': [
(...skipping 26 matching lines...) Expand all
131 '--', 125 '--',
132 # Generated files must be passed at command line 126 # Generated files must be passed at command line
133 '<@(core_generated_idl_files)', 127 '<@(core_generated_idl_files)',
134 ], 128 ],
135 'message': 'Computing global information about individual IDL files', 129 'message': 'Computing global information about individual IDL files',
136 }] 130 }]
137 }, 131 },
138 ################################################################################ 132 ################################################################################
139 ], # targets 133 ], # targets
140 } 134 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/generated.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698