OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 'idl_files_list': '<|(idl_files_list.tmp <@(idl_files))', | 104 'idl_files_list': '<|(idl_files_list.tmp <@(idl_files))', |
105 }, | 105 }, |
106 'inputs': [ | 106 'inputs': [ |
107 'scripts/preprocess_idls.py', | 107 'scripts/preprocess_idls.py', |
108 '<(idl_files_list)', | 108 '<(idl_files_list)', |
109 '<!@(cat <(idl_files_list))', | 109 '<!@(cat <(idl_files_list))', |
110 ], | 110 ], |
111 'outputs': [ | 111 'outputs': [ |
112 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', | 112 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', |
113 '<(SHARED_INTERMEDIATE_DIR)/WindowConstructors.idl', | 113 '<(SHARED_INTERMEDIATE_DIR)/WindowConstructors.idl', |
114 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl', | 114 '<(SHARED_INTERMEDIATE_DIR)/WorkerGlobalScopeConstructors.idl', |
115 ], | 115 ], |
116 'msvs_cygwin_shell': 0, | 116 'msvs_cygwin_shell': 0, |
117 'action': [ | 117 'action': [ |
118 'python', | 118 'python', |
119 'scripts/preprocess_idls.py', | 119 'scripts/preprocess_idls.py', |
120 '--idl-files-list', | 120 '--idl-files-list', |
121 '<(idl_files_list)', | 121 '<(idl_files_list)', |
122 '--supplemental-dependency-file', | 122 '--supplemental-dependency-file', |
123 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', | 123 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', |
124 '--window-constructors-file', | 124 '--window-constructors-file', |
125 '<(SHARED_INTERMEDIATE_DIR)/WindowConstructors.idl', | 125 '<(SHARED_INTERMEDIATE_DIR)/WindowConstructors.idl', |
126 '--workercontext-constructors-file', | 126 '--workercontext-constructors-file', |
127 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl', | 127 '<(SHARED_INTERMEDIATE_DIR)/WorkerGlobalScopeConstructors.idl', |
128 '<@(write_file_only_if_changed)', | 128 '<@(write_file_only_if_changed)', |
129 ], | 129 ], |
130 'message': 'Resolving partial interfaces dependencies in all IDL files', | 130 'message': 'Resolving partial interfaces dependencies in all IDL files', |
131 }] | 131 }] |
132 }, | 132 }, |
133 { | 133 { |
134 'target_name': 'bindings_derived_sources', | 134 'target_name': 'bindings_derived_sources', |
135 'type': 'none', | 135 'type': 'none', |
136 'hard_dependency': 1, | 136 'hard_dependency': 1, |
137 'dependencies': [ | 137 'dependencies': [ |
(...skipping 27 matching lines...) Expand all Loading... |
165 'msvs_external_rule': 1, | 165 'msvs_external_rule': 1, |
166 'inputs': [ | 166 'inputs': [ |
167 'scripts/generate-bindings.pl', | 167 'scripts/generate-bindings.pl', |
168 'scripts/CodeGeneratorV8.pm', | 168 'scripts/CodeGeneratorV8.pm', |
169 'scripts/IDLParser.pm', | 169 'scripts/IDLParser.pm', |
170 'scripts/IDLSerializer.pm', | 170 'scripts/IDLSerializer.pm', |
171 'scripts/IDLAttributes.txt', | 171 'scripts/IDLAttributes.txt', |
172 '../core/scripts/preprocessor.pm', | 172 '../core/scripts/preprocessor.pm', |
173 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', | 173 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', |
174 '<(SHARED_INTERMEDIATE_DIR)/WindowConstructors.idl', | 174 '<(SHARED_INTERMEDIATE_DIR)/WindowConstructors.idl', |
175 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl', | 175 '<(SHARED_INTERMEDIATE_DIR)/WorkerGlobalScopeConstructors.idl', |
176 ], | 176 ], |
177 'outputs': [ | 177 'outputs': [ |
178 # FIXME: The .cpp file should be in webkit/bindings once | 178 # FIXME: The .cpp file should be in webkit/bindings once |
179 # we coax GYP into supporting it (see 'action' below). | 179 # we coax GYP into supporting it (see 'action' below). |
180 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp'
, | 180 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp'
, |
181 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8<(RULE_INPUT_ROOT).h', | 181 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8<(RULE_INPUT_ROOT).h', |
182 ], | 182 ], |
183 'variables': { | 183 'variables': { |
184 # IDL include paths. The generator will search recursively for IDL | 184 # IDL include paths. The generator will search recursively for IDL |
185 # files under these locations. | 185 # files under these locations. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 '<(webcore_test_support_idl_files)', | 220 '<(webcore_test_support_idl_files)', |
221 '<(RULE_INPUT_PATH)', | 221 '<(RULE_INPUT_PATH)', |
222 '<@(preprocessor)', | 222 '<@(preprocessor)', |
223 '<@(write_file_only_if_changed)', | 223 '<@(write_file_only_if_changed)', |
224 ], | 224 ], |
225 'message': 'Generating binding from <(RULE_INPUT_PATH)', | 225 'message': 'Generating binding from <(RULE_INPUT_PATH)', |
226 }], | 226 }], |
227 }, | 227 }, |
228 ], | 228 ], |
229 } | 229 } |
OLD | NEW |