Lines Matching +full:android +full:- +full:variables
1 #!/bin/bash -u
5 # This script is part of the Android binary search triage process.
8 # README.android).
11 # Before running this script make sure you have setup the Android build
15 # the android source tree being tested. The second (optional) argument is the
21 # during the POPULATE_GOOD and POPULATE_BAD steps, see README.android for
25 # ANDROID_SERIAL=002ee16b1558a3d3 NUM_JOBS=10 android/setup.sh ~/android
27 # This will setup the bisector for Nexus5X, using 10 jobs, where the android
28 # source lives at ~/android.
32 # Furthermore, if your device is the only Android device plugged in you can
35 # This script sets all necessary environment variables, and ensures the
38 # variables used by the other scripts in the package binary search triage process.
55 NUM_JOBS=${NUM_JOBS:-"1"}
56 BISECT_ANDROID_DIR=${BISECT_DIR:-~/ANDROID_BISECT}
59 # Set up basic variables.
70 if [[ ! -d ${GOOD_BUILD} ]] ; then
75 if [[ ! -d ${BAD_BUILD} ]] ; then
80 if [[ ! -d ${WORK_BUILD} ]] ; then
98 if [ ${diff_result} -ne 0 ]; then
100 echo "diff exited with non-zero status: ${diff_result}"
105 # Ensure android build environment is setup
111 if [ -z ${ANDROID_PRODUCT_OUT+0} ]; then
112 echo "Error: Android build environment is not setup."
120 # Create common.sh file, containing appropriate environment variables.
123 COMMON_FILE="android/common.sh"
125 cat <<-EOF > ${COMMON_FILE}