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

Issue 10827250: Support generating the dart vm snapshot binary on Android (Closed)

Created:
8 years, 4 months ago by jackpal
Modified:
8 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

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. Committed: https://code.google.com/p/dart/source/detail?r=10676

Patch Set 1 #

Total comments: 23

Patch Set 2 : Incorporate review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -51 lines) Patch
M runtime/bin/bin.gypi View 1 2 chunks +32 lines, -4 lines 0 comments Download
A runtime/tools/create_snapshot_bin.py View 1 1 chunk +175 lines, -0 lines 0 comments Download
M runtime/tools/create_snapshot_file.py View 3 chunks +5 lines, -47 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jackpal
Patch 4 of 6 for building Dart VM for Android This patch lets us create ...
8 years, 4 months ago (2012-08-09 18:23:20 UTC) #1
Emily Fortuna
again, I'm going to defer to VM people on this one https://chromiumcodereview.appspot.com/10827250/diff/1/runtime/tools/create_snapshot_bin.py File runtime/tools/create_snapshot_bin.py (right): ...
8 years, 4 months ago (2012-08-09 20:15:57 UTC) #2
ahe
The Python code doesn't follow Google style guides. You'll have to find someone else to ...
8 years, 4 months ago (2012-08-09 20:57:16 UTC) #3
Ivan Posva
Almost LGTM... -Ivan https://chromiumcodereview.appspot.com/10827250/diff/1/runtime/bin/bin.gypi File runtime/bin/bin.gypi (right): https://chromiumcodereview.appspot.com/10827250/diff/1/runtime/bin/bin.gypi#newcode399 runtime/bin/bin.gypi:399: 'tools/create_snapshot_file.py', On 2012/08/09 20:57:16, ahe wrote: ...
8 years, 4 months ago (2012-08-09 21:48:14 UTC) #4
ahe
https://chromiumcodereview.appspot.com/10827250/diff/1/runtime/tools/create_snapshot_bin.py File runtime/tools/create_snapshot_bin.py (right): https://chromiumcodereview.appspot.com/10827250/diff/1/runtime/tools/create_snapshot_bin.py#newcode1 runtime/tools/create_snapshot_bin.py:1: #!/usr/bin/env python On 2012/08/09 21:48:15, Ivan Posva wrote: > ...
8 years, 4 months ago (2012-08-09 22:29:10 UTC) #5
Søren Gjesse
lgtm
8 years, 4 months ago (2012-08-10 07:18:24 UTC) #6
jackpal
I've incorporated everyone's feedback and am publishing a new version of the change shortly. https://chromiumcodereview.appspot.com/10827250/diff/1/runtime/bin/bin.gypi ...
8 years, 4 months ago (2012-08-13 20:19:45 UTC) #7
Emily Fortuna
8 years, 4 months ago (2012-08-13 22:35:24 UTC) #8
lgtm

Powered by Google App Engine
This is Rietveld 408576698