Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: Source/bindings/derived_sources.gyp

Issue 16093017: Automatically generate constructor attributes on WorkerContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix bindings tests Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/bindings/scripts/IDLAttributes.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)/DOMWindowConstructors.idl', 113 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl',
114 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl',
114 ], 115 ],
115 'msvs_cygwin_shell': 0, 116 'msvs_cygwin_shell': 0,
116 'action': [ 117 'action': [
117 'python', 118 'python',
118 'scripts/preprocess_idls.py', 119 'scripts/preprocess_idls.py',
119 '--idl-files-list', 120 '--idl-files-list',
120 '<(idl_files_list)', 121 '<(idl_files_list)',
121 '--supplemental-dependency-file', 122 '--supplemental-dependency-file',
122 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp', 123 '<(SHARED_INTERMEDIATE_DIR)/supplemental_dependency.tmp',
123 '--window-constructors-file', 124 '--window-constructors-file',
124 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl', 125 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl',
126 '--workercontext-constructors-file',
127 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl',
125 '<@(write_file_only_if_changed)', 128 '<@(write_file_only_if_changed)',
126 ], 129 ],
127 'message': 'Resolving partial interfaces dependencies in all IDL files', 130 'message': 'Resolving partial interfaces dependencies in all IDL files',
128 }] 131 }]
129 }, 132 },
130 { 133 {
131 'target_name': 'bindings_derived_sources', 134 'target_name': 'bindings_derived_sources',
132 'type': 'none', 135 'type': 'none',
133 'hard_dependency': 1, 136 'hard_dependency': 1,
134 'dependencies': [ 137 'dependencies': [
(...skipping 26 matching lines...) Expand all
161 'extension': 'idl', 164 'extension': 'idl',
162 'msvs_external_rule': 1, 165 'msvs_external_rule': 1,
163 'inputs': [ 166 'inputs': [
164 'scripts/generate-bindings.pl', 167 'scripts/generate-bindings.pl',
165 'scripts/CodeGeneratorV8.pm', 168 'scripts/CodeGeneratorV8.pm',
166 'scripts/IDLParser.pm', 169 'scripts/IDLParser.pm',
167 'scripts/IDLAttributes.txt', 170 'scripts/IDLAttributes.txt',
168 '../core/scripts/preprocessor.pm', 171 '../core/scripts/preprocessor.pm',
169 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))', 172 '<!@pymod_do_main(supplemental_idl_files <@(idl_files))',
170 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl', 173 '<(SHARED_INTERMEDIATE_DIR)/DOMWindowConstructors.idl',
174 '<(SHARED_INTERMEDIATE_DIR)/WorkerContextConstructors.idl',
171 ], 175 ],
172 'outputs': [ 176 'outputs': [
173 # FIXME: The .cpp file should be in webkit/bindings once 177 # FIXME: The .cpp file should be in webkit/bindings once
174 # we coax GYP into supporting it (see 'action' below). 178 # we coax GYP into supporting it (see 'action' below).
175 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp' , 179 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8<(RULE_INPUT_ROOT).cpp' ,
176 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8<(RULE_INPUT_ROOT).h', 180 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8<(RULE_INPUT_ROOT).h',
177 ], 181 ],
178 'variables': { 182 'variables': {
179 # IDL include paths. The generator will search recursively for IDL 183 # IDL include paths. The generator will search recursively for IDL
180 # files under these locations. 184 # files under these locations.
(...skipping 30 matching lines...) Expand all
211 '<(webcore_test_support_idl_files)', 215 '<(webcore_test_support_idl_files)',
212 '<(RULE_INPUT_PATH)', 216 '<(RULE_INPUT_PATH)',
213 '<@(preprocessor)', 217 '<@(preprocessor)',
214 '<@(write_file_only_if_changed)', 218 '<@(write_file_only_if_changed)',
215 ], 219 ],
216 'message': 'Generating binding from <(RULE_INPUT_PATH)', 220 'message': 'Generating binding from <(RULE_INPUT_PATH)',
217 }], 221 }],
218 }, 222 },
219 ], 223 ],
220 } 224 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/scripts/IDLAttributes.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698