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 20 matching lines...) Expand all Loading... |
31 'event_idl_files_list': | 31 'event_idl_files_list': |
32 '<|(event_idl_files_list.tmp <@(event_idl_files))', | 32 '<|(event_idl_files_list.tmp <@(event_idl_files))', |
33 }, | 33 }, |
34 'inputs': [ | 34 'inputs': [ |
35 '<(bindings_scripts_dir)/generate_event_interfaces.py', | 35 '<(bindings_scripts_dir)/generate_event_interfaces.py', |
36 '<(bindings_scripts_dir)/utilities.py', | 36 '<(bindings_scripts_dir)/utilities.py', |
37 '<(event_idl_files_list)', | 37 '<(event_idl_files_list)', |
38 '<@(event_idl_files)', | 38 '<@(event_idl_files)', |
39 ], | 39 ], |
40 'outputs': [ | 40 'outputs': [ |
41 '<(blink_output_dir)/EventModulesInterfaces.in', | 41 '<(modules_output_dir)/EventModulesInterfaces.in', |
42 ], | 42 ], |
43 'action': [ | 43 'action': [ |
44 'python', | 44 'python', |
45 '<(bindings_scripts_dir)/generate_event_interfaces.py', | 45 '<(bindings_scripts_dir)/generate_event_interfaces.py', |
46 '--event-idl-files-list', | 46 '--event-idl-files-list', |
47 '<(event_idl_files_list)', | 47 '<(event_idl_files_list)', |
48 '--event-interfaces-file', | 48 '--event-interfaces-file', |
49 '<(blink_output_dir)/EventModulesInterfaces.in', | 49 '<(modules_output_dir)/EventModulesInterfaces.in', |
50 '--write-file-only-if-changed', | 50 '--write-file-only-if-changed', |
51 '<(write_file_only_if_changed)', | 51 '<(write_file_only_if_changed)', |
52 '--suffix', | 52 '--suffix', |
53 'Modules', | 53 'Modules', |
54 ], | 54 ], |
55 }, | 55 }, |
56 { | 56 { |
57 'action_name': 'EventModulesFactory', | 57 'action_name': 'EventModulesFactory', |
58 'inputs': [ | 58 'inputs': [ |
59 '<@(make_event_factory_files)', | 59 '<@(make_event_factory_files)', |
60 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', | 60 '<(modules_output_dir)/EventModulesInterfaces.in', |
61 ], | 61 ], |
62 'outputs': [ | 62 'outputs': [ |
63 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModules.cpp', | 63 '<(modules_output_dir)/EventModules.cpp', |
64 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesHeaders.h', | 64 '<(modules_output_dir)/EventModulesHeaders.h', |
65 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.h', | 65 '<(modules_output_dir)/EventModulesInterfaces.h', |
66 ], | 66 ], |
67 'action': [ | 67 'action': [ |
68 'python', | 68 'python', |
69 '../../build/scripts/make_event_factory.py', | 69 '../../build/scripts/make_event_factory.py', |
70 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', | 70 '<(modules_output_dir)/EventModulesInterfaces.in', |
71 '--output_dir', | 71 '--output_dir', |
72 '<(SHARED_INTERMEDIATE_DIR)/blink', | 72 '<(modules_output_dir)', |
73 ], | 73 ], |
74 }, | 74 }, |
75 { | 75 { |
76 'action_name': 'EventModulesNames', | 76 'action_name': 'EventModulesNames', |
77 'inputs': [ | 77 'inputs': [ |
78 '<@(make_names_files)', | 78 '<@(make_names_files)', |
79 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', | 79 '<(modules_output_dir)/EventModulesInterfaces.in', |
80 ], | 80 ], |
81 'outputs': [ | 81 'outputs': [ |
82 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesNames.cpp', | 82 '<(modules_output_dir)/EventModulesNames.cpp', |
83 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesNames.h', | 83 '<(modules_output_dir)/EventModulesNames.h', |
84 ], | 84 ], |
85 'action': [ | 85 'action': [ |
86 'python', | 86 'python', |
87 '../../build/scripts/make_names.py', | 87 '../../build/scripts/make_names.py', |
88 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', | 88 '<(modules_output_dir)/EventModulesInterfaces.in', |
89 '--output_dir', | 89 '--output_dir', |
90 '<(SHARED_INTERMEDIATE_DIR)/blink', | 90 '<(modules_output_dir)', |
91 ], | 91 ], |
92 }, | 92 }, |
93 { | 93 { |
94 'action_name': 'EventTargetModulesFactory', | 94 'action_name': 'EventTargetModulesFactory', |
95 'inputs': [ | 95 'inputs': [ |
96 '<@(make_event_factory_files)', | 96 '<@(make_event_factory_files)', |
97 '../../modules/EventTargetModulesFactory.in', | 97 '../../modules/EventTargetModulesFactory.in', |
98 ], | 98 ], |
99 'outputs': [ | 99 'outputs': [ |
100 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesHeaders.h', | 100 '<(modules_output_dir)/EventTargetModulesHeaders.h', |
101 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesInterfaces.h', | 101 '<(modules_output_dir)/EventTargetModulesInterfaces.h', |
102 ], | 102 ], |
103 'action': [ | 103 'action': [ |
104 'python', | 104 'python', |
105 '../../build/scripts/make_event_factory.py', | 105 '../../build/scripts/make_event_factory.py', |
106 '../../modules/EventTargetModulesFactory.in', | 106 '../../modules/EventTargetModulesFactory.in', |
107 '--output_dir', | 107 '--output_dir', |
108 '<(SHARED_INTERMEDIATE_DIR)/blink', | 108 '<(modules_output_dir)', |
109 ], | 109 ], |
110 }, | 110 }, |
111 { | 111 { |
112 'action_name': 'EventTargetModulesNames', | 112 'action_name': 'EventTargetModulesNames', |
113 'inputs': [ | 113 'inputs': [ |
114 '<@(make_names_files)', | 114 '<@(make_names_files)', |
115 '../../modules/EventTargetModulesFactory.in', | 115 '../../modules/EventTargetModulesFactory.in', |
116 ], | 116 ], |
117 'outputs': [ | 117 'outputs': [ |
118 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesNames.cpp', | 118 '<(modules_output_dir)/EventTargetModulesNames.cpp', |
119 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesNames.h', | 119 '<(modules_output_dir)/EventTargetModulesNames.h', |
120 ], | 120 ], |
121 'action': [ | 121 'action': [ |
122 'python', | 122 'python', |
123 '../../build/scripts/make_names.py', | 123 '../../build/scripts/make_names.py', |
124 '../../modules/EventTargetModulesFactory.in', | 124 '../../modules/EventTargetModulesFactory.in', |
125 '--output_dir', | 125 '--output_dir', |
126 '<(SHARED_INTERMEDIATE_DIR)/blink', | 126 '<(modules_output_dir)', |
127 ], | 127 ], |
128 }, | 128 }, |
129 ], | 129 ], |
130 }, | 130 }, |
131 { | 131 { |
132 'target_name': 'interfaces_info_individual_modules', | 132 'target_name': 'interfaces_info_individual_modules', |
133 'type': 'none', | 133 'type': 'none', |
134 'dependencies': [ | 134 'dependencies': [ |
135 # FIXME: should be modules_generated_idls | 135 # FIXME: should be modules_generated_idls |
136 # http://crbug.com/358074 | 136 # http://crbug.com/358074 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', | 195 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
196 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', | 196 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
197 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 197 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
198 ], | 198 ], |
199 'message': 'Computing overall global information about IDL files', | 199 'message': 'Computing overall global information about IDL files', |
200 }] | 200 }] |
201 }, | 201 }, |
202 ################################################################################ | 202 ################################################################################ |
203 ], # targets | 203 ], # targets |
204 } | 204 } |
OLD | NEW |