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

Issue 10694048: Refactor and rename install-build-deps-android-sdk (Closed)

Created:
8 years, 5 months ago by Isaac (away)
Modified:
8 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix and refactor android install-deps-sdk - Rewrote install sdk script in python - Removing the trivial bb_install fun - Renaming the script to better explain what it does - Removed the second call to bb_install_build_deps in the buildbot shell scripts. This is also called in bb_setup! - Removing a bunch of unnecessary logic in the script - Added an versioning system function to clear the sdk/ndk directories when necessary. Using this to clear SDK/NDK on all bots and redeploy. - Fixed issue where SDK_ROOT and NDK_ROOT were required to have specific names for the base directories.

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : rolling 'minimal fix' patch in #

Patch Set 7 : Rewrote script in python #

Total comments: 23
Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -214 lines) Patch
M build/android/buildbot_functions.sh View 1 2 3 4 5 6 2 chunks +2 lines, -18 lines 2 comments Download
M build/android/buildbot_fyi.sh View 1 chunk +0 lines, -1 line 0 comments Download
M build/android/buildbot_fyi_builder.sh View 1 chunk +0 lines, -1 line 0 comments Download
M build/android/buildbot_fyi_tester.sh View 1 chunk +0 lines, -1 line 0 comments Download
M build/android/buildbot_main.sh View 1 chunk +0 lines, -1 line 0 comments Download
M build/android/buildbot_try_compile.sh View 1 chunk +0 lines, -1 line 0 comments Download
M build/android/buildbot_try_compile_test.sh View 1 chunk +0 lines, -1 line 0 comments Download
M build/android/buildbot_webkit_main.sh View 1 chunk +0 lines, -1 line 0 comments Download
M build/android/envsetup.sh View 1 2 3 4 5 6 1 chunk +5 lines, -15 lines 3 comments Download
D build/install-build-deps-android-sdk.sh View 1 2 3 4 5 6 1 chunk +0 lines, -174 lines 0 comments Download
A build/install_android_sdk_ndk.py View 1 2 3 4 5 6 1 chunk +197 lines, -0 lines 18 comments Download

Messages

Total messages: 14 (0 generated)
Isaac (away)
Have some lint warnings but uploaded anyway for initial review
8 years, 5 months ago (2012-07-01 23:05:04 UTC) #1
bulach
as mentioned in the other patch, not too familiar but I like this simplification, thanks!! ...
8 years, 5 months ago (2012-07-02 10:19:40 UTC) #2
Isaac (away)
thanks for feedback, will have another draft in a day or two! https://chromiumcodereview.appspot.com/10694048/diff/5002/build/install-android-sdk-ndk.sh File build/install-android-sdk-ndk.sh ...
8 years, 5 months ago (2012-07-03 06:49:59 UTC) #3
Yaron
please ping back when this is ready for review (sounds like you have more changes ...
8 years, 5 months ago (2012-07-10 05:18:49 UTC) #4
Isaac (away)
OK now ready for review.
8 years, 5 months ago (2012-07-17 10:47:26 UTC) #5
bulach
good stuff, thanks isaac! I have a few suggestion below, mostly to clarify the "version" ...
8 years, 5 months ago (2012-07-17 11:27:20 UTC) #6
Isaac (away)
+cc jrg https://chromiumcodereview.appspot.com/10694048/diff/13001/build/install_android_sdk_ndk.py File build/install_android_sdk_ndk.py (right): https://chromiumcodereview.appspot.com/10694048/diff/13001/build/install_android_sdk_ndk.py#newcode44 build/install_android_sdk_ndk.py:44: raw_input('%s not set. Hit enter to use ...
8 years, 5 months ago (2012-07-17 16:35:30 UTC) #7
John Grabowski
https://chromiumcodereview.appspot.com/10694048/diff/13001/build/android/buildbot_functions.sh File build/android/buildbot_functions.sh (right): https://chromiumcodereview.appspot.com/10694048/diff/13001/build/android/buildbot_functions.sh#newcode95 build/android/buildbot_functions.sh:95: "$SRC_ROOT/build/install_android_sdk_ndk.py" --versioned Don't like removal of directory check. Prefer ...
8 years, 5 months ago (2012-07-17 18:38:15 UTC) #8
Isaac (away)
https://chromiumcodereview.appspot.com/10694048/diff/13001/build/android/buildbot_functions.sh File build/android/buildbot_functions.sh (right): https://chromiumcodereview.appspot.com/10694048/diff/13001/build/android/buildbot_functions.sh#newcode95 build/android/buildbot_functions.sh:95: "$SRC_ROOT/build/install_android_sdk_ndk.py" --versioned On 2012/07/17 18:38:15, John Grabowski wrote: > ...
8 years, 5 months ago (2012-07-18 09:45:05 UTC) #9
Isaac (away)
8 years, 5 months ago (2012-07-18 09:45:06 UTC) #10
John Grabowski
https://chromiumcodereview.appspot.com/10694048/diff/13001/build/android/envsetup.sh File build/android/envsetup.sh (right): https://chromiumcodereview.appspot.com/10694048/diff/13001/build/android/envsetup.sh#newcode16 build/android/envsetup.sh:16: if [[ -z $ANDROID_NDK_ROOT || -z $ANDROID_SDK_ROOT \ On ...
8 years, 5 months ago (2012-07-18 20:48:43 UTC) #11
Isaac (away)
OK let's take a step back on the version number and I'll explain the background ...
8 years, 5 months ago (2012-07-19 13:22:23 UTC) #12
John Grabowski
Let's put them in a repo. jrg On Thu, Jul 19, 2012 at 6:22 AM, ...
8 years, 5 months ago (2012-07-19 17:26:07 UTC) #13
Isaac (away)
8 years, 3 months ago (2012-09-02 04:53:45 UTC) #14
abandoning

Powered by Google App Engine
This is Rietveld 408576698