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 '--windowConstructorsFile', |
| 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 24 matching lines...) Expand all Loading... |
154 'rule_name': 'binding', | 157 'rule_name': 'binding', |
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/CodeGeneratorV8.pm', | 162 'scripts/CodeGeneratorV8.pm', |
160 'scripts/IDLParser.pm', | 163 'scripts/IDLParser.pm', |
161 'scripts/IDLAttributes.txt', | 164 'scripts/IDLAttributes.txt', |
162 '../core/scripts/preprocessor.pm', | 165 '../core/scripts/preprocessor.pm', |
163 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', | 166 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', |
| 167 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl', |
164 ], | 168 ], |
165 'outputs': [ | 169 'outputs': [ |
166 # FIXME: The .cpp file should be in webkit/bindings once | 170 # FIXME: The .cpp file should be in webkit/bindings once |
167 # we coax GYP into supporting it (see 'action' below). | 171 # we coax GYP into supporting it (see 'action' below). |
168 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp'
, | 172 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp'
, |
169 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8<(RULE_INPUT_ROOT).h', | 173 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8<(RULE_INPUT_ROOT).h', |
170 ], | 174 ], |
171 'variables': { | 175 'variables': { |
172 # IDL include paths. The generator will search recursively for IDL | 176 # IDL include paths. The generator will search recursively for IDL |
173 # files under these locations. | 177 # files under these locations. |
(...skipping 29 matching lines...) Expand all Loading... |
203 '--additionalIdlFiles', | 207 '--additionalIdlFiles', |
204 '<(webcore_test_support_idl_files)', | 208 '<(webcore_test_support_idl_files)', |
205 '<(RULE_INPUT_PATH)', | 209 '<(RULE_INPUT_PATH)', |
206 '<@(preprocessor)', | 210 '<@(preprocessor)', |
207 ], | 211 ], |
208 'message': 'Generating binding from <(RULE_INPUT_PATH)', | 212 'message': 'Generating binding from <(RULE_INPUT_PATH)', |
209 }], | 213 }], |
210 }, | 214 }, |
211 ], | 215 ], |
212 } | 216 } |
OLD | NEW |