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

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

Issue 14179013: Add support for [NoInterfaceObject] extended attribute to bindings generator (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix error with Perl < 5.14 Created 7 years, 7 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
« 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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 }
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