Index: build/android/envsetup.sh |
diff --git a/build/android/envsetup.sh b/build/android/envsetup.sh |
index 82370ccee63ebefc9910e42cf277d31ad6fcef87..27e84276c661f1d34f6444f31b9af6c60a734061 100755 |
--- a/build/android/envsetup.sh |
+++ b/build/android/envsetup.sh |
@@ -95,10 +95,11 @@ if [[ -d $GOMA_DIR ]]; then |
fi |
export ANDROID_GOMA_WRAPPER |
-export CC_target=$(basename ${ANDROID_TOOLCHAIN}/*-gcc) |
-export CXX_target=$(basename ${ANDROID_TOOLCHAIN}/*-g++) |
-export LINK_target=$(basename ${ANDROID_TOOLCHAIN}/*-gcc) |
-export AR_target=$(basename ${ANDROID_TOOLCHAIN}/*-ar) |
+export CC_target="${ANDROID_GOMA_WRAPPER} $(echo -n ${ANDROID_TOOLCHAIN}/*-gcc)" |
+export CXX_target="${ANDROID_GOMA_WRAPPER} \ |
+ $(echo -n ${ANDROID_TOOLCHAIN}/*-g++)" |
+export LINK_target=$(echo -n ${ANDROID_TOOLCHAIN}/*-gcc) |
+export AR_target=$(echo -n ${ANDROID_TOOLCHAIN}/*-ar) |
# Performs a gyp_chromium run to convert gyp->Makefile for android code. |
android_gyp() { |