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

Unified Diff: build/android/buildbot/buildbot_functions.sh

Issue 11368122: Export the build type as part of Android's build bot baseline setup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/buildbot_functions.sh
diff --git a/build/android/buildbot/buildbot_functions.sh b/build/android/buildbot/buildbot_functions.sh
index 782d7a77495bcdf96c1b07782388ed1bb121dda6..6cbe013923ea663c233d1708981c8eebe9ea4e3f 100755
--- a/build/android/buildbot/buildbot_functions.sh
+++ b/build/android/buildbot/buildbot_functions.sh
@@ -18,6 +18,9 @@ function bb_parse_args {
--factory-properties=*)
FACTORY_PROPERTIES="$(echo "$1" | sed 's/^[^=]*=//')"
BUILDTYPE=$(bb_get_json_prop "$FACTORY_PROPERTIES" target)
+ if [[ $BUILDTYPE = Release ]]; then
+ BUILDFLAG="--release"
+ fi
;;
--build-properties=*)
BUILD_PROPERTIES="$(echo "$1" | sed 's/^[^=]*=//')"
@@ -210,8 +213,8 @@ function bb_run_unit_tests {
# Run WebKit's test suites: webkit_unit_tests and TestWebKitAPI
function bb_run_webkit_unit_tests {
- build/android/run_tests.py --xvfb --verbose -s webkit_unit_tests
- build/android/run_tests.py --xvfb --verbose -s TestWebKitAPI
+ build/android/run_tests.py --xvfb --verbose $BUILDFLAG -s webkit_unit_tests
+ build/android/run_tests.py --xvfb --verbose $BUILDFLAG -s TestWebKitAPI
}
# Lint WebKit's TestExpectation files.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698