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

Issue 25675010: android: Use a separate SDK for the emulator again. (Closed)

Created:
7 years, 2 months ago by Raphael Kubo da Costa (rakuco)
Modified:
7 years, 2 months ago
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, Maria, atreat
Visibility:
Public.

Description

android: Use a separate SDK for the emulator again. Although sharing the SDK with the one downloaded into src/third_party/android_tools allowed us to avoid having to keep another 660MB SDK around, there were several downsides: o It downloaded ARMv7 and x86 system images into the git repository in src/third_party/android_tools, potentially confusing users who did not have the new directories in their .gitignore. o Messages in avd.py and usage of the emulator could lead users to update the SDK checked into android_tools/, causing build problems and a lot of confusion. o The ARMv7 and x86 system images could end up being out of sync with the SDK in android_tools/. o The SDK in android_tools/ might be older than the one we used to download separately. The new solution is to revert large parts of r222121 and r223003 but not completely: instead of downloading the SDK into a directory that is two levels above the top-level src/ (there is no guarantee it is writable, for example), the emulator SDK is now downloaded into src/android_emulator_sdk/, which has also been added to .gitignore to avoid confusion. Additionally, we build upon r222612 and install a newer version of the SDK that works with version 18 of the Android API. R=peter@chromium.org,navabi@chromium.org,bulach@chromium.org BUG=304129 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227121

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -55 lines) Patch
M .gitignore View 1 chunk +1 line, -0 lines 0 comments Download
M build/android/avd.py View 1 chunk +1 line, -2 lines 0 comments Download
M build/android/install_emulator_deps.py View 7 chunks +34 lines, -49 lines 3 comments Download
M build/android/pylib/constants.py View 2 chunks +2 lines, -2 lines 0 comments Download
M build/android/pylib/utils/emulator.py View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Raphael Kubo da Costa (rakuco)
7 years, 2 months ago (2013-10-04 13:19:39 UTC) #1
navabi1
Thank you Raphael for this change. Please make sure the contents of the zipped file ...
7 years, 2 months ago (2013-10-04 18:41:47 UTC) #2
Raphael Kubo da Costa (rakuco)
https://codereview.chromium.org/25675010/diff/1/build/android/install_emulator_deps.py File build/android/install_emulator_deps.py (right): https://codereview.chromium.org/25675010/diff/1/build/android/install_emulator_deps.py#newcode81 build/android/install_emulator_deps.py:81: shutil.move(zip_dir, constants.EMULATOR_SDK_ROOT) On 2013/10/04 18:41:48, navabi1 wrote: > Won't ...
7 years, 2 months ago (2013-10-04 19:04:19 UTC) #3
navabi
lgtm https://codereview.chromium.org/25675010/diff/1/build/android/install_emulator_deps.py File build/android/install_emulator_deps.py (right): https://codereview.chromium.org/25675010/diff/1/build/android/install_emulator_deps.py#newcode81 build/android/install_emulator_deps.py:81: shutil.move(zip_dir, constants.EMULATOR_SDK_ROOT) On 2013/10/04 19:04:19, Raphael Kubo da ...
7 years, 2 months ago (2013-10-04 19:11:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raphael.kubo.da.costa@intel.com/25675010/1
7 years, 2 months ago (2013-10-04 20:25:48 UTC) #5
commit-bot: I haz the power
7 years, 2 months ago (2013-10-04 23:02:02 UTC) #6
Message was sent while issue was closed.
Change committed as 227121

Powered by Google App Engine
This is Rietveld 408576698