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

Issue 105223002: Simplifies standalone VM Android build. (Closed)

Created:
7 years ago by zra
Modified:
7 years ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Simplifies standalone VM Android build. This change also avoids the need to do another 'gclient runhooks' when switching between Android and Linux builds, and between IA32 and ARM Android builds. gyp does not allow 'libraries' sections inside of configurations. Therefore, since some architecture specific paths, libraries, etc. must be specified on the Android NDK's linker command line, to avoid re-gyping when switching between Android IA32 and ARM, this change moves the architecture specific linker flags to a script, android_link.py. To avoid re-gyping when swtiching between Linux and Android, this change creates new configurations that specify the target OS as well as the the target architecture, e.g. ReleaseLinuxARM or ReleaseAndroidARM instead of ReleaseARM. This change also adds a --toolchain flag to build.py, and removes obsoleted logic for setting up the Android build. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=31340

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 6

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+626 lines, -573 lines) Patch
M dart.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -8 lines 0 comments Download
M runtime/bin/bin.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +71 lines, -110 lines 0 comments Download
M runtime/bin/net/zlib.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -57 lines 0 comments Download
M runtime/tools/gyp/nss_configurations.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +35 lines, -5 lines 0 comments Download
M runtime/tools/gyp/runtime-configurations.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -8 lines 0 comments Download
D runtime/tools/gyp/runtime_configurations_android.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -57 lines 0 comments Download
M runtime/vm/vm.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -7 lines 0 comments Download
A tools/android_link.py View 1 chunk +135 lines, -0 lines 0 comments Download
M tools/build.py View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +47 lines, -93 lines 0 comments Download
M tools/gyp/configurations.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +131 lines, -33 lines 0 comments Download
M tools/gyp/configurations_android.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +131 lines, -153 lines 0 comments Download
M tools/gyp/configurations_make.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +17 lines, -10 lines 0 comments Download
M tools/gyp/configurations_msvs.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +22 lines, -5 lines 0 comments Download
M tools/gyp/configurations_xcode.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +19 lines, -1 line 0 comments Download
M tools/gyp/find_mac_gcc_version.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -2 lines 0 comments Download
M tools/gyp/find_mac_sdk.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -2 lines 0 comments Download
D tools/gyp/source_filter.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -15 lines 0 comments Download
M tools/utils.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
zra
7 years ago (2013-12-05 22:09:22 UTC) #1
zra
ping
7 years ago (2013-12-16 20:37:07 UTC) #2
zra
ping
7 years ago (2013-12-19 16:39:07 UTC) #3
Ivan Posva
LGTM with clargincomments added. -Ivan https://codereview.chromium.org/105223002/diff/210001/tools/build.py File tools/build.py (right): https://codereview.chromium.org/105223002/diff/210001/tools/build.py#newcode53 tools/build.py:53: result.add_option("-t", "--toolchain", Does this ...
7 years ago (2013-12-20 06:53:47 UTC) #4
zra
Thanks! https://codereview.chromium.org/105223002/diff/210001/tools/build.py File tools/build.py (right): https://codereview.chromium.org/105223002/diff/210001/tools/build.py#newcode53 tools/build.py:53: result.add_option("-t", "--toolchain", On 2013/12/20 06:53:47, Ivan Posva wrote: ...
7 years ago (2013-12-20 16:09:47 UTC) #5
zra
7 years ago (2013-12-20 17:51:45 UTC) #6
Message was sent while issue was closed.
Committed patchset #13 manually as r31340 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698