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

Issue 15706008: A working version of dart on Android. (Closed)

Created:
7 years, 7 months ago by Bill Hesse
Modified:
7 years, 6 months ago
CC:
reviews_dartlang.org, zra, podivilov1, kustermann, Ivan Posva
Visibility:
Public.

Description

A working version of dart_no_snapshot on Android. BUG= R=gram@google.com, sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=23335

Patch Set 1 #

Patch Set 2 : Build snapshot #

Patch Set 3 : Cleanum #

Patch Set 4 : Finished CL - ready for review. #

Total comments: 8

Patch Set 5 : Address comments, merge with zra's CL. #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -128 lines) Patch
M dart.gyp View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M runtime/bin/bin.gypi View 1 2 3 4 7 chunks +107 lines, -41 lines 9 comments Download
M runtime/tools/create_snapshot_bin.py View 1 2 2 chunks +6 lines, -86 lines 0 comments Download
M runtime/tools/gyp/runtime_configurations_android.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Bill Hesse
The code to generate the snapshot on Android has been removed - dartlib-withcore now loads ...
7 years, 6 months ago (2013-05-28 16:43:41 UTC) #1
zra
DBC https://codereview.chromium.org/15706008/diff/8001/runtime/bin/bin.gypi File runtime/bin/bin.gypi (right): https://codereview.chromium.org/15706008/diff/8001/runtime/bin/bin.gypi#newcode537 runtime/bin/bin.gypi:537: 'toolsets':['target'], To make running tests easier, we'll likely ...
7 years, 6 months ago (2013-05-28 16:56:16 UTC) #2
gram
lgtm with minor cleanup https://codereview.chromium.org/15706008/diff/8001/runtime/bin/bin.gypi File runtime/bin/bin.gypi (right): https://codereview.chromium.org/15706008/diff/8001/runtime/bin/bin.gypi#newcode429 runtime/bin/bin.gypi:429: # TODO(gram): We need to ...
7 years, 6 months ago (2013-05-28 17:04:19 UTC) #3
Bill Hesse
https://codereview.chromium.org/15706008/diff/8001/runtime/bin/bin.gypi File runtime/bin/bin.gypi (right): https://codereview.chromium.org/15706008/diff/8001/runtime/bin/bin.gypi#newcode429 runtime/bin/bin.gypi:429: # TODO(gram): We need to support debug vs release ...
7 years, 6 months ago (2013-05-29 09:12:43 UTC) #4
Søren Gjesse
lgtm https://codereview.chromium.org/15706008/diff/8001/runtime/tools/create_snapshot_bin.py File runtime/tools/create_snapshot_bin.py (left): https://codereview.chromium.org/15706008/diff/8001/runtime/tools/create_snapshot_bin.py#oldcode62 runtime/tools/create_snapshot_bin.py:62: def RunAdb(device, command): Nice! https://codereview.chromium.org/15706008/diff/16001/runtime/bin/bin.gypi File runtime/bin/bin.gypi (right): ...
7 years, 6 months ago (2013-05-29 09:20:42 UTC) #5
Bill Hesse
Committed patchset #5 manually as r23335 (presubmit successful).
7 years, 6 months ago (2013-05-29 09:43:19 UTC) #6
Bill Hesse
7 years, 6 months ago (2013-05-30 07:08:44 UTC) #7
Ivan Posva
There is still some cleanup pending here. -Ivan https://codereview.chromium.org/15706008/diff/16001/runtime/bin/bin.gypi File runtime/bin/bin.gypi (right): https://codereview.chromium.org/15706008/diff/16001/runtime/bin/bin.gypi#newcode202 runtime/bin/bin.gypi:202: 'io_impl_sources_no_nss.gypi', ...
7 years, 6 months ago (2013-05-30 20:34:54 UTC) #8
Bill Hesse
7 years, 6 months ago (2013-05-31 15:40:43 UTC) #9
Message was sent while issue was closed.
The requested changes are in

https://codereview.chromium.org/16254005/

https://codereview.chromium.org/15706008/diff/16001/runtime/bin/bin.gypi
File runtime/bin/bin.gypi (right):

https://codereview.chromium.org/15706008/diff/16001/runtime/bin/bin.gypi#newc...
runtime/bin/bin.gypi:202: 'io_impl_sources_no_nss.gypi',
On 2013/05/30 20:34:54, Ivan Posva wrote:
> Where is 'io_impl_sources_no_nss.gypi'?

This was accidentally omitted from the CL.  It is in CL
https://codereview.chromium.org/16122004/.

It should be possible to merge io_impl_sources.gypi and
io_impl_sources_no_nss.gypi, since they are almost identical.
I will include this in the cleanup CL.

https://codereview.chromium.org/15706008/diff/16001/runtime/bin/bin.gypi#newc...
runtime/bin/bin.gypi:345: 'toolsets':['host','target'],
On 2013/05/30 20:34:54, Ivan Posva wrote:
> I would like to understand why the generate_resources_cc_file had to get a
> toolsets property. We were successfully cross-building before this was added.
> 
> What is special about the generate_resources_cc_file that needs to run for the
> host specifically and why did it not fail for us when cross-building for ARM
or
> MIPS?
> 
> Even if the 'host' toolset is necessary for some reason, then the 'target' is
> unneeded because it is only being used with the #host tag.

Done.

https://codereview.chromium.org/15706008/diff/16001/runtime/bin/bin.gypi#newc...
runtime/bin/bin.gypi:380: 'generate_resources_cc_file#host',
On 2013/05/30 20:34:54, Ivan Posva wrote:
> I am surprised that the #host was necessary here.

Done.

Powered by Google App Engine
This is Rietveld 408576698