| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 ], | 160 ], |
| 161 }], | 161 }], |
| 162 'rules': [{ | 162 'rules': [{ |
| 163 'rule_name': 'binding', | 163 'rule_name': 'binding', |
| 164 'extension': 'idl', | 164 'extension': 'idl', |
| 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/IDLAttributes.txt', | 171 'scripts/IDLAttributes.txt', |
| 171 '../core/scripts/preprocessor.pm', | 172 '../core/scripts/preprocessor.pm', |
| 172 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', | 173 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', |
| 173 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl', | 174 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl', |
| 174 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl', | 175 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl', |
| 175 ], | 176 ], |
| 176 'outputs': [ | 177 'outputs': [ |
| 177 # FIXME: The .cpp file should be in webkit/bindings once | 178 # FIXME: The .cpp file should be in webkit/bindings once |
| 178 # we coax GYP into supporting it (see 'action' below). | 179 # we coax GYP into supporting it (see 'action' below). |
| 179 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp'
, | 180 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp'
, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 194 # FIXME: Note that we put the .cpp files in webcore/bindings | 195 # FIXME: Note that we put the .cpp files in webcore/bindings |
| 195 # but the .h files in webkit/bindings. This is to work around | 196 # but the .h files in webkit/bindings. This is to work around |
| 196 # the unfortunate fact that GYP strips duplicate arguments | 197 # the unfortunate fact that GYP strips duplicate arguments |
| 197 # from lists. When we have a better GYP way to suppress that | 198 # from lists. When we have a better GYP way to suppress that |
| 198 # behavior, change the output location. | 199 # behavior, change the output location. |
| 199 'action': [ | 200 'action': [ |
| 200 '<(perl_exe)', | 201 '<(perl_exe)', |
| 201 '-w', | 202 '-w', |
| 202 '-Iscripts', | 203 '-Iscripts', |
| 203 '-I../core/scripts', | 204 '-I../core/scripts', |
| 205 '-I../../../JSON/out/lib/perl5', |
| 204 'scripts/generate-bindings.pl', | 206 'scripts/generate-bindings.pl', |
| 205 '--outputHeadersDir', | 207 '--outputHeadersDir', |
| 206 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', | 208 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', |
| 207 '--outputDir', | 209 '--outputDir', |
| 208 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings', | 210 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings', |
| 209 '--idlAttributesFile', | 211 '--idlAttributesFile', |
| 210 'scripts/IDLAttributes.txt', | 212 'scripts/IDLAttributes.txt', |
| 211 '--defines', | 213 '--defines', |
| 212 '<(feature_defines)', | 214 '<(feature_defines)', |
| 213 '<@(generator_include_dirs)', | 215 '<@(generator_include_dirs)', |
| 214 '<@(extra_blink_generator_include_dirs)', | 216 '<@(extra_blink_generator_include_dirs)', |
| 215 '--supplementalDependencyFile', | 217 '--supplementalDependencyFile', |
| 216 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', | 218 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', |
| 217 '--additionalIdlFiles', | 219 '--additionalIdlFiles', |
| 218 '<(webcore_test_support_idl_files)', | 220 '<(webcore_test_support_idl_files)', |
| 219 '<(RULE_INPUT_PATH)', | 221 '<(RULE_INPUT_PATH)', |
| 220 '<@(preprocessor)', | 222 '<@(preprocessor)', |
| 221 '<@(write_file_only_if_changed)', | 223 '<@(write_file_only_if_changed)', |
| 222 ], | 224 ], |
| 223 'message': 'Generating binding from <(RULE_INPUT_PATH)', | 225 'message': 'Generating binding from <(RULE_INPUT_PATH)', |
| 224 }], | 226 }], |
| 225 }, | 227 }, |
| 226 ], | 228 ], |
| 227 } | 229 } |
| OLD | NEW |