Merge "[androidconfigure] Read current clang version instead of hardcoding"
diff --git a/androidconfigure b/androidconfigure
index 480d6a1..e8e15f5 100755
--- a/androidconfigure
+++ b/androidconfigure
@@ -13,8 +13,9 @@
 
 HOST="arm-linux-androideabi"
 T="${ANDROID_BUILD_TOP}"
-export CC="${T}/prebuilts/clang/host/linux-x86/clang-r428724/bin/clang"
-export LD="${T}/prebuilts/clang/host/linux-x86/clang-r428724/bin/lld"
+CLANG_VERSION="$(exec ${T}/build/soong/scripts/get_clang_version.py)"
+export CC="${T}/prebuilts/clang/host/linux-x86/${CLANG_VERSION}/bin/clang"
+export LD="${T}/prebuilts/clang/host/linux-x86/${CLANG_VERSION}/bin/lld"
 
 CFLAGS=(
   "-isystem ${T}/external/libcxx/include"