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

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

Issue 10574037: Add dart:web to VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | runtime/bin/builtin.h » ('j') | runtime/bin/builtin_nolib.cc » ('J')
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 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', 7 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc',
8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', 8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
9 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', 9 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
10 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', 10 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
11 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', 11 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc',
12 'web_cc_file': '<(SHARED_INTERMEDIATE_DIR)/web_gen.cc',
12 'builtin_in_cc_file': 'builtin_in.cc', 13 'builtin_in_cc_file': 'builtin_in.cc',
13 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', 14 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc',
14 'snapshot_in_cc_file': 'snapshot_in.cc', 15 'snapshot_in_cc_file': 'snapshot_in.cc',
15 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', 16 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin',
16 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', 17 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc',
17 }, 18 },
18 'targets': [ 19 'targets': [
19 { 20 {
20 'target_name': 'generate_builtin_cc_file', 21 'target_name': 'generate_builtin_cc_file',
21 'type': 'none', 22 'type': 'none',
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 '--input_cc', '<(builtin_in_cc_file)', 210 '--input_cc', '<(builtin_in_cc_file)',
210 '--include', 'bin/builtin.h', 211 '--include', 'bin/builtin.h',
211 '--var_name', 'Builtin::utf_source_', 212 '--var_name', 'Builtin::utf_source_',
212 '<@(_sources)', 213 '<@(_sources)',
213 ], 214 ],
214 'message': 'Generating ''<(utf_cc_file)'' file.' 215 'message': 'Generating ''<(utf_cc_file)'' file.'
215 }, 216 },
216 ] 217 ]
217 }, 218 },
218 { 219 {
220 'target_name': 'generate_web_cc_file',
221 'type': 'none',
222 'includes': [
223 'web_sources.gypi',
224 ],
225 'actions': [
226 {
227 'action_name': 'generate_web_cc',
228 'inputs': [
229 '../tools/create_string_literal.py',
230 '<(builtin_in_cc_file)',
231 '<@(_sources)',
232 ],
233 'outputs': [
234 '<(web_cc_file)',
235 ],
236 'action': [
237 'python',
238 'tools/create_string_literal.py',
239 '--output', '<(web_cc_file)',
240 '--input_cc', '<(builtin_in_cc_file)',
241 '--include', 'bin/builtin.h',
242 '--var_name', 'Builtin::web_source_',
243 '<@(_sources)',
244 ],
245 'message': 'Generating ''<(web_cc_file)'' file.'
246 },
247 ]
248 },
249 {
219 'target_name': 'libdart_builtin', 250 'target_name': 'libdart_builtin',
220 'type': 'static_library', 251 'type': 'static_library',
221 'dependencies': [ 252 'dependencies': [
222 'generate_builtin_cc_file', 253 'generate_builtin_cc_file',
223 'generate_crypto_cc_file', 254 'generate_crypto_cc_file',
224 'generate_io_cc_file', 255 'generate_io_cc_file',
225 'generate_json_cc_file', 256 'generate_json_cc_file',
226 'generate_uri_cc_file', 257 'generate_uri_cc_file',
227 'generate_utf_cc_file', 258 'generate_utf_cc_file',
259 'generate_web_cc_file',
228 ], 260 ],
229 'include_dirs': [ 261 'include_dirs': [
230 '..', 262 '..',
231 ], 263 ],
232 'sources': [ 264 'sources': [
233 'builtin_natives.cc', 265 'builtin_natives.cc',
234 'builtin.h', 266 'builtin.h',
235 ], 267 ],
236 'includes': [ 268 'includes': [
237 'builtin_impl_sources.gypi', 269 'builtin_impl_sources.gypi',
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 'sources': [ 332 'sources': [
301 'gen_snapshot.cc', 333 'gen_snapshot.cc',
302 'builtin.cc', 334 'builtin.cc',
303 # Include generated source files. 335 # Include generated source files.
304 '<(builtin_cc_file)', 336 '<(builtin_cc_file)',
305 '<(crypto_cc_file)', 337 '<(crypto_cc_file)',
306 '<(io_cc_file)', 338 '<(io_cc_file)',
307 '<(json_cc_file)', 339 '<(json_cc_file)',
308 '<(uri_cc_file)', 340 '<(uri_cc_file)',
309 '<(utf_cc_file)', 341 '<(utf_cc_file)',
342 '<(web_cc_file)',
310 ], 343 ],
311 'conditions': [ 344 'conditions': [
312 ['OS=="win"', { 345 ['OS=="win"', {
313 'link_settings': { 346 'link_settings': {
314 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 347 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
315 }, 348 },
316 }]], 349 }]],
317 }, 350 },
318 { 351 {
319 # Generate snapshot file. 352 # Generate snapshot file.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 'sources': [ 424 'sources': [
392 'main.cc', 425 'main.cc',
393 'builtin.cc', 426 'builtin.cc',
394 # Include generated source files. 427 # Include generated source files.
395 '<(builtin_cc_file)', 428 '<(builtin_cc_file)',
396 '<(crypto_cc_file)', 429 '<(crypto_cc_file)',
397 '<(io_cc_file)', 430 '<(io_cc_file)',
398 '<(json_cc_file)', 431 '<(json_cc_file)',
399 '<(uri_cc_file)', 432 '<(uri_cc_file)',
400 '<(utf_cc_file)', 433 '<(utf_cc_file)',
434 '<(web_cc_file)',
401 'snapshot_empty.cc', 435 'snapshot_empty.cc',
402 ], 436 ],
403 'conditions': [ 437 'conditions': [
404 ['OS=="win"', { 438 ['OS=="win"', {
405 'link_settings': { 439 'link_settings': {
406 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 440 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
407 }, 441 },
408 }]], 442 }]],
409 }, 443 },
410 { 444 {
(...skipping 18 matching lines...) Expand all
429 'sources': [ 463 'sources': [
430 'run_vm_tests.cc', 464 'run_vm_tests.cc',
431 'builtin.cc', 465 'builtin.cc',
432 # Include generated source files. 466 # Include generated source files.
433 '<(builtin_cc_file)', 467 '<(builtin_cc_file)',
434 '<(crypto_cc_file)', 468 '<(crypto_cc_file)',
435 '<(io_cc_file)', 469 '<(io_cc_file)',
436 '<(json_cc_file)', 470 '<(json_cc_file)',
437 '<(uri_cc_file)', 471 '<(uri_cc_file)',
438 '<(utf_cc_file)', 472 '<(utf_cc_file)',
473 '<(web_cc_file)',
439 ], 474 ],
440 'includes': [ 475 'includes': [
441 'builtin_impl_sources.gypi', 476 'builtin_impl_sources.gypi',
442 '../platform/platform_sources.gypi', 477 '../platform/platform_sources.gypi',
443 '../vm/vm_sources.gypi', 478 '../vm/vm_sources.gypi',
444 ], 479 ],
445 'defines': [ 480 'defines': [
446 'TESTING', 481 'TESTING',
447 ], 482 ],
448 # Only include _test.[cc|h] files. 483 # Only include _test.[cc|h] files.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 ['OS=="mac"', { 524 ['OS=="mac"', {
490 'xcode_settings': { 525 'xcode_settings': {
491 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 526 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
492 }, 527 },
493 }], 528 }],
494 ], 529 ],
495 }, 530 },
496 ], 531 ],
497 } 532 }
498 533
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/builtin.h » ('j') | runtime/bin/builtin_nolib.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698