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

Unified Diff: build/android/buildbot_functions.sh

Issue 10533144: Buildbot enhancements: Builder/Tester split (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/buildbot_fyi.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot_functions.sh
diff --git a/build/android/buildbot_functions.sh b/build/android/buildbot_functions.sh
index 4c26610d897bff73aa67db603a59263dbb1db5b6..4f51660abc6a1b4dfefa9d785d27d12bc5d281a8 100755
--- a/build/android/buildbot_functions.sh
+++ b/build/android/buildbot_functions.sh
@@ -26,7 +26,7 @@ function bb_setup_environment {
# $1: source root.
function bb_install_build_deps {
echo "@@@BUILD_STEP install build deps android@@@"
- local script="$1/build/install-build-deps-android-sdk.sh"
+ local script="${1-$SRC_ROOT}/build/install-build-deps-android-sdk.sh"
John Grabowski 2012/06/18 18:20:04 Args to this function say you must pass in a SRC_R
Isaac (away) 2012/06/18 18:59:46 Was trying to keep backwards compatibility for scr
if [[ -f "$script" ]]; then
"$script"
else
@@ -44,7 +44,7 @@ function bb_force_bot_green_and_exit {
# $1: source root.
function bb_baseline_setup {
echo "@@@BUILD_STEP cd into source root@@@"
- SRC_ROOT="$1"
+ export SRC_ROOT=${1-$SRC_ROOT}
John Grabowski 2012/06/18 18:20:04 ditto
if [ ! -d "${SRC_ROOT}" ] ; then
echo "Please specify a valid source root directory as an arg"
echo '@@@STEP_FAILURE@@@'
@@ -237,3 +237,19 @@ function bb_run_apk_tests {
echo "@@@BUILD_STEP Run APK Tests on actual hardware@@@"
build/android/run_tests.py --xvfb --verbose --apk=True
}
+
+# Zip and archive a build
+function bb_zip_build {
+ echo "@@@BUILD_STEP Zip build@@@"
+ python ../../../../scripts/slave/zip_build.py
+}
+
+# Download and extract a build
+function bb_extract_build {
+ echo "@@@BUILD_STEP Download and extract build@@@"
+ python ../../../../scripts/slave/extract_build.py \
+ --no-append-dir \
+ --build-dir out \
+ --target Release \
+ --build-url "$BUILDBOT_BUILD_URL"
+}
« no previous file with comments | « no previous file | build/android/buildbot_fyi.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698