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