Commit Graph

6 Commits

Author SHA1 Message Date
jackpal@google.com dfc984f75f Support generating the dart vm snapshot binary on Android
This change splits the generate_snapshot_file build target into two targets:

generate_snapshot_bin - executes gen_snapshot to create snapshot_bin_file
generate_snapshot_file - creates snapshot_cc_file

It's not strictly necessary to split the generation into two steps, but
it is convenient to do so, because only the first step needs to know about
Android. The second step can be shared between all builds.

For Android we copy the gen_snapshot executable and all its input files
to Android, run it there, and copy the output files back to the host.

Review URL: https://chromiumcodereview.appspot.com//10827250

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10676 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 20:04:54 +00:00
turnidge@google.com 901f5d693c Print the failing command if we run into trouble while creating snapshot.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1823 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-23 23:41:35 +00:00
asiva@google.com aaffbd2561 Support command line parameters to specify a url to file name mapping. This is used during snapshot generation so that a URL is mapped to a physical file name.
Review URL: http://codereview.chromium.org//8439061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1550 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-15 21:19:27 +00:00
asiva@google.com 8743e1cc2a - Fix the snapshot generation python script to return an error code when snapshot generation fails and print the error message.
- Split isolate creation into CreateIsolate and InitializeIsolate so that we don't get SEGVs when there is a failure compiling the corelib dart sources during the bootstrap process
Review URL: http://codereview.chromium.org//8334031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1225 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-04 22:08:13 +00:00
asiva@google.com eea0c4fd61 Fix the snapshot creation script for the new command line syntax.
Review URL: http://codereview.chromium.org//8414015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@900 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 17:14:35 +00:00
dgrove@google.com 4c0f559d23 Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:20:07 +00:00