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': [ |
11 # ../.. == Source | 11 # ../.. == Source |
12 '../../bindings/bindings.gypi', | 12 '../../bindings/bindings.gypi', |
13 '../../bindings/core/core.gypi', | 13 '../../bindings/core/core.gypi', |
14 '../../bindings/scripts/scripts.gypi', | 14 '../../bindings/scripts/scripts.gypi', |
15 '../../build/scripts/scripts.gypi', # FIXME: Needed for event files, should
be in modules, not bindings_modules http://crbug.com/358074 | 15 '../../build/scripts/scripts.gypi', # FIXME: Needed for event files, should
be in modules, not bindings_modules http://crbug.com/358074 |
16 '../../modules/modules.gypi', | 16 '../../modules/modules.gypi', |
17 'generated.gypi', | 17 'generated.gypi', |
18 'idl.gypi', | 18 'idl.gypi', |
19 'modules.gypi', | 19 'modules.gypi', |
20 ], | 20 ], |
21 | 21 |
22 'targets': [ | 22 'targets': [ |
23 ################################################################################ | 23 ################################################################################ |
24 { | 24 { |
| 25 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modules_
generated |
25 # FIXME: Should be in modules, not bindings_modules http://crbug.com/358074 | 26 # FIXME: Should be in modules, not bindings_modules http://crbug.com/358074 |
26 'target_name': 'modules_event_generated', | 27 'target_name': 'modules_event_generated', |
27 'type': 'none', | 28 'type': 'none', |
28 'actions': [ | 29 'actions': [ |
29 { | 30 { |
| 31 # GN version: //third_party/WebKit/Source/bindings/modules:modules_bindi
ngs_generated_event_interfaces |
30 'action_name': 'event_interfaces', | 32 'action_name': 'event_interfaces', |
31 'variables': { | 33 'variables': { |
32 'event_idl_files': [ | 34 'event_idl_files': [ |
33 '<@(modules_event_idl_files)', | 35 '<@(modules_event_idl_files)', |
34 ], | 36 ], |
35 'event_idl_files_list': | 37 'event_idl_files_list': |
36 '<|(event_idl_files_list.tmp <@(event_idl_files))', | 38 '<|(event_idl_files_list.tmp <@(event_idl_files))', |
37 }, | 39 }, |
38 'inputs': [ | 40 'inputs': [ |
39 '<(bindings_scripts_dir)/generate_event_interfaces.py', | 41 '<(bindings_scripts_dir)/generate_event_interfaces.py', |
(...skipping 11 matching lines...) Expand all Loading... |
51 '<(event_idl_files_list)', | 53 '<(event_idl_files_list)', |
52 '--event-interfaces-file', | 54 '--event-interfaces-file', |
53 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 55 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
54 '--write-file-only-if-changed', | 56 '--write-file-only-if-changed', |
55 '<(write_file_only_if_changed)', | 57 '<(write_file_only_if_changed)', |
56 '--suffix', | 58 '--suffix', |
57 'Modules', | 59 'Modules', |
58 ], | 60 ], |
59 }, | 61 }, |
60 { | 62 { |
| 63 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modu
les_generated_event_modules_factory |
61 'action_name': 'EventModulesFactory', | 64 'action_name': 'EventModulesFactory', |
62 'inputs': [ | 65 'inputs': [ |
63 '<@(make_event_factory_files)', | 66 '<@(make_event_factory_files)', |
64 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 67 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
65 ], | 68 ], |
66 'outputs': [ | 69 'outputs': [ |
67 '<(blink_modules_output_dir)/EventModules.cpp', | 70 '<(blink_modules_output_dir)/EventModules.cpp', |
68 '<(blink_modules_output_dir)/EventModulesHeaders.h', | 71 '<(blink_modules_output_dir)/EventModulesHeaders.h', |
69 '<(blink_modules_output_dir)/EventModulesInterfaces.h', | 72 '<(blink_modules_output_dir)/EventModulesInterfaces.h', |
70 ], | 73 ], |
71 'action': [ | 74 'action': [ |
72 'python', | 75 'python', |
73 '../../build/scripts/make_event_factory.py', | 76 '../../build/scripts/make_event_factory.py', |
74 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 77 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
75 '--output_dir', | 78 '--output_dir', |
76 '<(blink_modules_output_dir)', | 79 '<(blink_modules_output_dir)', |
77 ], | 80 ], |
78 }, | 81 }, |
79 { | 82 { |
| 83 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modu
les_generated_event_modules_names |
80 'action_name': 'EventModulesNames', | 84 'action_name': 'EventModulesNames', |
81 'inputs': [ | 85 'inputs': [ |
82 '<@(make_names_files)', | 86 '<@(make_names_files)', |
83 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 87 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
84 ], | 88 ], |
85 'outputs': [ | 89 'outputs': [ |
86 '<(blink_modules_output_dir)/EventModulesNames.cpp', | 90 '<(blink_modules_output_dir)/EventModulesNames.cpp', |
87 '<(blink_modules_output_dir)/EventModulesNames.h', | 91 '<(blink_modules_output_dir)/EventModulesNames.h', |
88 ], | 92 ], |
89 'action': [ | 93 'action': [ |
90 'python', | 94 'python', |
91 '../../build/scripts/make_names.py', | 95 '../../build/scripts/make_names.py', |
92 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 96 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
93 '--output_dir', | 97 '--output_dir', |
94 '<(blink_modules_output_dir)', | 98 '<(blink_modules_output_dir)', |
95 ], | 99 ], |
96 }, | 100 }, |
97 { | 101 { |
| 102 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modu
les_generated_event_target_modules_factory |
98 'action_name': 'EventTargetModulesFactory', | 103 'action_name': 'EventTargetModulesFactory', |
99 'inputs': [ | 104 'inputs': [ |
100 '<@(make_event_factory_files)', | 105 '<@(make_event_factory_files)', |
101 '../../modules/EventTargetModulesFactory.in', | 106 '../../modules/EventTargetModulesFactory.in', |
102 ], | 107 ], |
103 'outputs': [ | 108 'outputs': [ |
104 '<(blink_modules_output_dir)/EventTargetModulesHeaders.h', | 109 '<(blink_modules_output_dir)/EventTargetModulesHeaders.h', |
105 '<(blink_modules_output_dir)/EventTargetModulesInterfaces.h', | 110 '<(blink_modules_output_dir)/EventTargetModulesInterfaces.h', |
106 ], | 111 ], |
107 'action': [ | 112 'action': [ |
108 'python', | 113 'python', |
109 '../../build/scripts/make_event_factory.py', | 114 '../../build/scripts/make_event_factory.py', |
110 '../../modules/EventTargetModulesFactory.in', | 115 '../../modules/EventTargetModulesFactory.in', |
111 '--output_dir', | 116 '--output_dir', |
112 '<(blink_modules_output_dir)', | 117 '<(blink_modules_output_dir)', |
113 ], | 118 ], |
114 }, | 119 }, |
115 { | 120 { |
| 121 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modu
les_generated_event_target_modules_names |
116 'action_name': 'EventTargetModulesNames', | 122 'action_name': 'EventTargetModulesNames', |
117 'inputs': [ | 123 'inputs': [ |
118 '<@(make_names_files)', | 124 '<@(make_names_files)', |
119 '../../modules/EventTargetModulesFactory.in', | 125 '../../modules/EventTargetModulesFactory.in', |
120 ], | 126 ], |
121 'outputs': [ | 127 'outputs': [ |
122 '<(blink_modules_output_dir)/EventTargetModulesNames.cpp', | 128 '<(blink_modules_output_dir)/EventTargetModulesNames.cpp', |
123 '<(blink_modules_output_dir)/EventTargetModulesNames.h', | 129 '<(blink_modules_output_dir)/EventTargetModulesNames.h', |
124 ], | 130 ], |
125 'action': [ | 131 'action': [ |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 '<(write_file_only_if_changed)', | 291 '<(write_file_only_if_changed)', |
286 '--', | 292 '--', |
287 # Generated files must be passed at command line | 293 # Generated files must be passed at command line |
288 '<@(modules_generated_idl_files)', | 294 '<@(modules_generated_idl_files)', |
289 ], | 295 ], |
290 'message': 'Computing global information about individual IDL files', | 296 'message': 'Computing global information about individual IDL files', |
291 }] | 297 }] |
292 }, | 298 }, |
293 ################################################################################ | 299 ################################################################################ |
294 { | 300 { |
| 301 # GN version: //third_party/WebKit/Source/bindings/modules:interfaces_info |
295 'target_name': 'interfaces_info', | 302 'target_name': 'interfaces_info', |
296 'type': 'none', | 303 'type': 'none', |
297 'dependencies': [ | 304 'dependencies': [ |
298 '../core/generated.gyp:interfaces_info_individual_core', | 305 '../core/generated.gyp:interfaces_info_individual_core', |
299 'interfaces_info_individual_modules', | 306 'interfaces_info_individual_modules', |
300 ], | 307 ], |
301 'actions': [{ | 308 'actions': [{ |
302 'action_name': 'compute_interfaces_info_overall', | 309 'action_name': 'compute_interfaces_info_overall', |
303 'inputs': [ | 310 'inputs': [ |
304 '<(bindings_scripts_dir)/compute_interfaces_info_overall.py', | 311 '<(bindings_scripts_dir)/compute_interfaces_info_overall.py', |
(...skipping 12 matching lines...) Expand all Loading... |
317 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', | 324 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
318 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', | 325 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
319 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 326 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
320 ], | 327 ], |
321 'message': 'Computing overall global information about IDL files', | 328 'message': 'Computing overall global information about IDL files', |
322 }] | 329 }] |
323 }, | 330 }, |
324 ################################################################################ | 331 ################################################################################ |
325 ], # targets | 332 ], # targets |
326 } | 333 } |
OLD | NEW |