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

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

Issue 10827250: Support generating the dart vm snapshot binary on Android (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporate review feedback. Created 8 years, 4 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/tools/create_snapshot_bin.py » ('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 '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',
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 '<(web_cc_file)', 342 '<(web_cc_file)',
343 ], 343 ],
344 'conditions': [ 344 'conditions': [
345 ['OS=="win"', { 345 ['OS=="win"', {
346 'link_settings': { 346 'link_settings': {
347 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 347 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
348 }, 348 },
349 }]], 349 }]],
350 }, 350 },
351 { 351 {
352 # Generate snapshot bin file.
353 'target_name': 'generate_snapshot_bin',
354 'type': 'none',
355 'dependencies': [
356 'gen_snapshot',
357 ],
358 'actions': [
359 {
360 'action_name': 'generate_snapshot_bin',
361 'inputs': [
362 '../tools/create_snapshot_bin.py',
363 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
364 ],
365 'outputs': [
366 '<(snapshot_bin_file)',
367 ],
368 'action': [
369 'python',
370 'tools/create_snapshot_bin.py',
371 '--executable',
372 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
373 '--output_bin', '<(snapshot_bin_file)',
374 '--target_os', '<(OS)'
375 ],
376 'message': 'Generating ''<(snapshot_bin_file)'' file.'
377 },
378 ],
379 },
380 {
352 # Generate snapshot file. 381 # Generate snapshot file.
353 'target_name': 'generate_snapshot_file', 382 'target_name': 'generate_snapshot_file',
354 'type': 'none', 383 'type': 'none',
355 'dependencies': [ 384 'dependencies': [
356 'gen_snapshot', 385 'generate_snapshot_bin',
357 ], 386 ],
358 'actions': [ 387 'actions': [
359 { 388 {
360 'action_name': 'generate_snapshot_file', 389 'action_name': 'generate_snapshot_file',
361 'inputs': [ 390 'inputs': [
362 '../tools/create_snapshot_file.py', 391 '../tools/create_snapshot_file.py',
363 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
364 '<(snapshot_in_cc_file)', 392 '<(snapshot_in_cc_file)',
393 '<(snapshot_bin_file)'
365 ], 394 ],
366 'outputs': [ 395 'outputs': [
367 '<(snapshot_cc_file)', 396 '<(snapshot_cc_file)',
368 ], 397 ],
369 'action': [ 398 'action': [
370 'python', 399 'python',
371 'tools/create_snapshot_file.py', 400 'tools/create_snapshot_file.py',
372 '--executable', '<(PRODUCT_DIR)/gen_snapshot', 401 '--input_bin', '<(snapshot_bin_file)',
373 '--output_bin', '<(snapshot_bin_file)',
374 '--input_cc', '<(snapshot_in_cc_file)', 402 '--input_cc', '<(snapshot_in_cc_file)',
375 '--output', '<(snapshot_cc_file)', 403 '--output', '<(snapshot_cc_file)',
376 ], 404 ],
377 'message': 'Generating ''<(snapshot_cc_file)'' file.' 405 'message': 'Generating ''<(snapshot_cc_file)'' file.'
378 }, 406 },
379 ] 407 ]
380 }, 408 },
381 { 409 {
382 # dart binary with a snapshot of corelibs built in. 410 # dart binary with a snapshot of corelibs built in.
383 'target_name': 'dart', 411 'target_name': 'dart',
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 ['OS=="mac"', { 553 ['OS=="mac"', {
526 'xcode_settings': { 554 'xcode_settings': {
527 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 555 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
528 }, 556 },
529 }], 557 }],
530 ], 558 ],
531 }, 559 },
532 ], 560 ],
533 } 561 }
534 562
OLDNEW
« no previous file with comments | « no previous file | runtime/tools/create_snapshot_bin.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698