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

Side by Side Diff: runtime/bin/bin.gypi

Issue 9462001: Unify most of our utf8 implementations. This takes the implementation (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « lib/utf8/utf8.dart ('k') | runtime/bin/builtin.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', 7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', 8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', 9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
10 'utf8_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf8_gen.cc', 10 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc',
11 'builtin_in_cc_file': 'builtin_in.cc', 11 'builtin_in_cc_file': 'builtin_in.cc',
12 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', 12 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc',
13 'snapshot_in_cc_file': 'snapshot_in.cc', 13 'snapshot_in_cc_file': 'snapshot_in.cc',
14 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', 14 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin',
15 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', 15 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc',
16 'cygwin_dir': '../../third_party/cygwin', 16 'cygwin_dir': '../../third_party/cygwin',
17 }, 17 },
18 'targets': [ 18 'targets': [
19 { 19 {
20 'target_name': 'generate_builtin_cc_file', 20 'target_name': 'generate_builtin_cc_file',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 '--input_cc', '<(builtin_in_cc_file)', 150 '--input_cc', '<(builtin_in_cc_file)',
151 '--include', 'bin/builtin.h', 151 '--include', 'bin/builtin.h',
152 '--var_name', 'Builtin::uri_source_', 152 '--var_name', 'Builtin::uri_source_',
153 '<@(_sources)', 153 '<@(_sources)',
154 ], 154 ],
155 'message': 'Generating ''<(uri_cc_file)'' file.' 155 'message': 'Generating ''<(uri_cc_file)'' file.'
156 }, 156 },
157 ] 157 ]
158 }, 158 },
159 { 159 {
160 'target_name': 'generate_utf8_cc_file', 160 'target_name': 'generate_utf_cc_file',
161 'type': 'none', 161 'type': 'none',
162 'conditions': [ 162 'conditions': [
163 ['OS=="win"', { 163 ['OS=="win"', {
164 'msvs_cygwin_dirs': ['<(cygwin_dir)'], 164 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
165 }], 165 }],
166 ], 166 ],
167 'includes': [ 167 'includes': [
168 'utf8_sources.gypi', 168 'utf_sources.gypi',
169 ], 169 ],
170 'actions': [ 170 'actions': [
171 { 171 {
172 'action_name': 'generate_utf8_cc', 172 'action_name': 'generate_utf_cc',
173 'inputs': [ 173 'inputs': [
174 '../tools/create_string_literal.py', 174 '../tools/create_string_literal.py',
175 '<(builtin_in_cc_file)', 175 '<(builtin_in_cc_file)',
176 '<@(_sources)', 176 '<@(_sources)',
177 ], 177 ],
178 'outputs': [ 178 'outputs': [
179 '<(utf8_cc_file)', 179 '<(utf_cc_file)',
180 ], 180 ],
181 'action': [ 181 'action': [
182 'python', 182 'python',
183 'tools/create_string_literal.py', 183 'tools/create_string_literal.py',
184 '--output', '<(utf8_cc_file)', 184 '--output', '<(utf_cc_file)',
185 '--input_cc', '<(builtin_in_cc_file)', 185 '--input_cc', '<(builtin_in_cc_file)',
186 '--include', 'bin/builtin.h', 186 '--include', 'bin/builtin.h',
187 '--var_name', 'Builtin::utf8_source_', 187 '--var_name', 'Builtin::utf_source_',
188 '<@(_sources)', 188 '<@(_sources)',
189 ], 189 ],
190 'message': 'Generating ''<(utf8_cc_file)'' file.' 190 'message': 'Generating ''<(utf_cc_file)'' file.'
191 }, 191 },
192 ] 192 ]
193 }, 193 },
194 { 194 {
195 'target_name': 'libdart_builtin', 195 'target_name': 'libdart_builtin',
196 'type': 'static_library', 196 'type': 'static_library',
197 'dependencies': [ 197 'dependencies': [
198 'generate_builtin_cc_file', 198 'generate_builtin_cc_file',
199 'generate_io_cc_file', 199 'generate_io_cc_file',
200 'generate_json_cc_file', 200 'generate_json_cc_file',
201 'generate_uri_cc_file', 201 'generate_uri_cc_file',
202 'generate_utf8_cc_file', 202 'generate_utf_cc_file',
203 ], 203 ],
204 'include_dirs': [ 204 'include_dirs': [
205 '..', 205 '..',
206 ], 206 ],
207 'sources': [ 207 'sources': [
208 'builtin_natives.cc', 208 'builtin_natives.cc',
209 'builtin.h', 209 'builtin.h',
210 ], 210 ],
211 'includes': [ 211 'includes': [
212 'builtin_impl_sources.gypi', 212 'builtin_impl_sources.gypi',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 '..', 273 '..',
274 ], 274 ],
275 'sources': [ 275 'sources': [
276 'gen_snapshot.cc', 276 'gen_snapshot.cc',
277 'builtin.cc', 277 'builtin.cc',
278 # Include generated source files. 278 # Include generated source files.
279 '<(builtin_cc_file)', 279 '<(builtin_cc_file)',
280 '<(io_cc_file)', 280 '<(io_cc_file)',
281 '<(json_cc_file)', 281 '<(json_cc_file)',
282 '<(uri_cc_file)', 282 '<(uri_cc_file)',
283 '<(utf8_cc_file)', 283 '<(utf_cc_file)',
284 ], 284 ],
285 'conditions': [ 285 'conditions': [
286 ['OS=="win"', { 286 ['OS=="win"', {
287 'link_settings': { 287 'link_settings': {
288 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 288 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
289 }, 289 },
290 }]], 290 }]],
291 }, 291 },
292 { 292 {
293 # Generate snapshot file. 293 # Generate snapshot file.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 '..', 360 '..',
361 ], 361 ],
362 'sources': [ 362 'sources': [
363 'main.cc', 363 'main.cc',
364 'builtin.cc', 364 'builtin.cc',
365 # Include generated source files. 365 # Include generated source files.
366 '<(builtin_cc_file)', 366 '<(builtin_cc_file)',
367 '<(io_cc_file)', 367 '<(io_cc_file)',
368 '<(json_cc_file)', 368 '<(json_cc_file)',
369 '<(uri_cc_file)', 369 '<(uri_cc_file)',
370 '<(utf8_cc_file)', 370 '<(utf_cc_file)',
371 'snapshot_empty.cc', 371 'snapshot_empty.cc',
372 ], 372 ],
373 'conditions': [ 373 'conditions': [
374 ['OS=="win"', { 374 ['OS=="win"', {
375 'link_settings': { 375 'link_settings': {
376 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 376 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
377 }, 377 },
378 }]], 378 }]],
379 }, 379 },
380 { 380 {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 ], 438 ],
439 'defines': [ 439 'defines': [
440 'DART_SHARED_LIB', 440 'DART_SHARED_LIB',
441 ], 441 ],
442 }, 442 },
443 ], 443 ],
444 }], 444 }],
445 ], 445 ],
446 } 446 }
447 447
OLDNEW
« no previous file with comments | « lib/utf8/utf8.dart ('k') | runtime/bin/builtin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698