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

Side by Side Diff: build/android/buildbot_functions.sh

Issue 9584001: Disable Goma for Android bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 # Bash functions used by buildbot annotator scripts for the android 6 # Bash functions used by buildbot annotator scripts for the android
7 # build of chromium. Executing this script should not perform actions 7 # build of chromium. Executing this script should not perform actions
8 # other than setting variables and defining of functions. 8 # other than setting variables and defining of functions.
9 9
10 # Number of jobs on the compile line; e.g. make -j"${JOBS}" 10 # Number of jobs on the compile line; e.g. make -j"${JOBS}"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 export GOMA_API_KEY_FILE=${GOMA_DIR}/goma.key 111 export GOMA_API_KEY_FILE=${GOMA_DIR}/goma.key
112 fi 112 fi
113 export GOMA_COMPILER_PROXY_DAEMON_MODE=true 113 export GOMA_COMPILER_PROXY_DAEMON_MODE=true
114 export GOMA_COMPILER_PROXY_RPC_TIMEOUT_SECS=300 114 export GOMA_COMPILER_PROXY_RPC_TIMEOUT_SECS=300
115 export PATH=$GOMA_DIR:$PATH 115 export PATH=$GOMA_DIR:$PATH
116 } 116 }
117 117
118 # $@: make args. 118 # $@: make args.
119 # Use goma if possible; degrades to non-Goma if needed. 119 # Use goma if possible; degrades to non-Goma if needed.
120 function bb_goma_make { 120 function bb_goma_make {
121 # Disable Goma
122 # Seems to work on "Android FYI"
123 # http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Linux%20Androi d/builds/6421/steps/Compile/logs/stdio
124 # and Linux trybots
125 # http://build.chromium.org/p/chromium/builders/Linux%20x64/builds/23995/step s/compile/logs/stdio
126 # But not on Android trybots?
127 # http://build.chromium.org/p/tryserver.chromium/builders/android/builds/2136 /steps/Compile/logs/stdio
128 make -j${JOBS} "$@"
129 return
130
121 bb_setup_goma_internal 131 bb_setup_goma_internal
122 132
123 if [ "${GOMA_DIR}" = "" ]; then 133 if [ "${GOMA_DIR}" = "" ]; then
124 make -j${JOBS} "$@" 134 make -j${JOBS} "$@"
125 return 135 return
126 fi 136 fi
127 137
128 HOST_CC=$GOMA_DIR/gcc 138 HOST_CC=$GOMA_DIR/gcc
129 HOST_CXX=$GOMA_DIR/g++ 139 HOST_CXX=$GOMA_DIR/g++
130 TARGET_CC=$(/bin/ls $ANDROID_TOOLCHAIN/*-gcc | head -n1) 140 TARGET_CC=$(/bin/ls $ANDROID_TOOLCHAIN/*-gcc | head -n1)
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 function bb_run_tests_emulator { 185 function bb_run_tests_emulator {
176 echo "@@@BUILD_STEP Run Tests on an Emulator@@@" 186 echo "@@@BUILD_STEP Run Tests on an Emulator@@@"
177 build/android/run_tests.py -e --xvfb --verbose 187 build/android/run_tests.py -e --xvfb --verbose
178 } 188 }
179 189
180 # Run tests on an actual device. (Better have one plugged in!) 190 # Run tests on an actual device. (Better have one plugged in!)
181 function bb_run_tests { 191 function bb_run_tests {
182 echo "@@@BUILD_STEP Run Tests on actual hardware@@@" 192 echo "@@@BUILD_STEP Run Tests on actual hardware@@@"
183 build/android/run_tests.py --xvfb --verbose 193 build/android/run_tests.py --xvfb --verbose
184 } 194 }
OLDNEW
« 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