| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 # exceed OS limits. | 96 # exceed OS limits. |
| 97 'idl_files_list': '<|(idl_files_list.tmp <@(idl_files))', | 97 'idl_files_list': '<|(idl_files_list.tmp <@(idl_files))', |
| 98 }, | 98 }, |
| 99 'inputs': [ | 99 'inputs': [ |
| 100 'scripts/preprocess-idls.pl', | 100 'scripts/preprocess-idls.pl', |
| 101 '<(idl_files_list)', | 101 '<(idl_files_list)', |
| 102 '<!@(cat <(idl_files_list))', | 102 '<!@(cat <(idl_files_list))', |
| 103 ], | 103 ], |
| 104 'outputs': [ | 104 'outputs': [ |
| 105 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', | 105 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', |
| 106 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl', |
| 106 ], | 107 ], |
| 107 'msvs_cygwin_shell': 0, | 108 'msvs_cygwin_shell': 0, |
| 108 'action': [ | 109 'action': [ |
| 109 '<(perl_exe)', | 110 '<(perl_exe)', |
| 110 '-w', | 111 '-w', |
| 111 '-Iscripts', | 112 '-Iscripts', |
| 112 '-I../core/scripts', | 113 '-I../core/scripts', |
| 113 'scripts/preprocess-idls.pl', | 114 'scripts/preprocess-idls.pl', |
| 114 '--defines', | 115 '--defines', |
| 115 '<(feature_defines)', | 116 '<(feature_defines)', |
| 116 '--idlFilesList', | 117 '--idlFilesList', |
| 117 '<(idl_files_list)', | 118 '<(idl_files_list)', |
| 118 '--supplementalDependencyFile', | 119 '--supplementalDependencyFile', |
| 119 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', | 120 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', |
| 121 '--windowConstructorsSupplementalFile', |
| 122 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl', |
| 120 ], | 123 ], |
| 121 'message': 'Resolving partial interfaces dependencies in all IDL files', | 124 'message': 'Resolving partial interfaces dependencies in all IDL files', |
| 122 }] | 125 }] |
| 123 }, | 126 }, |
| 124 { | 127 { |
| 125 'target_name': 'bindings_derived_sources', | 128 'target_name': 'bindings_derived_sources', |
| 126 'type': 'none', | 129 'type': 'none', |
| 127 'hard_dependency': 1, | 130 'hard_dependency': 1, |
| 128 'dependencies': [ | 131 'dependencies': [ |
| 129 'supplemental_dependencies', | 132 'supplemental_dependencies', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 155 'extension': 'idl', | 158 'extension': 'idl', |
| 156 'msvs_external_rule': 1, | 159 'msvs_external_rule': 1, |
| 157 'inputs': [ | 160 'inputs': [ |
| 158 'scripts/generate-bindings.pl', | 161 'scripts/generate-bindings.pl', |
| 159 'scripts/CodeGenerator.pm', | 162 'scripts/CodeGenerator.pm', |
| 160 'scripts/CodeGeneratorV8.pm', | 163 'scripts/CodeGeneratorV8.pm', |
| 161 'scripts/IDLParser.pm', | 164 'scripts/IDLParser.pm', |
| 162 'scripts/IDLAttributes.txt', | 165 'scripts/IDLAttributes.txt', |
| 163 '../core/scripts/preprocessor.pm', | 166 '../core/scripts/preprocessor.pm', |
| 164 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', | 167 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', |
| 168 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl', |
| 165 ], | 169 ], |
| 166 'outputs': [ | 170 'outputs': [ |
| 167 # FIXME: The .cpp file should be in webkit/bindings once | 171 # FIXME: The .cpp file should be in webkit/bindings once |
| 168 # we coax GYP into supporting it (see 'action' below). | 172 # we coax GYP into supporting it (see 'action' below). |
| 169 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp'
, | 173 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp'
, |
| 170 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8<(RULE_INPUT_ROOT).h', | 174 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8<(RULE_INPUT_ROOT).h', |
| 171 ], | 175 ], |
| 172 'variables': { | 176 'variables': { |
| 173 # IDL include paths. The generator will search recursively for IDL | 177 # IDL include paths. The generator will search recursively for IDL |
| 174 # files under these locations. | 178 # files under these locations. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 204 '--additionalIdlFiles', | 208 '--additionalIdlFiles', |
| 205 '<(webcore_test_support_idl_files)', | 209 '<(webcore_test_support_idl_files)', |
| 206 '<(RULE_INPUT_PATH)', | 210 '<(RULE_INPUT_PATH)', |
| 207 '<@(preprocessor)', | 211 '<@(preprocessor)', |
| 208 ], | 212 ], |
| 209 'message': 'Generating binding from <(RULE_INPUT_PATH)', | 213 'message': 'Generating binding from <(RULE_INPUT_PATH)', |
| 210 }], | 214 }], |
| 211 }, | 215 }, |
| 212 ], | 216 ], |
| 213 } | 217 } |
| OLD | NEW |