aboutsummaryrefslogtreecommitdiff
path: root/build-android/update_external_sources_android.sh
diff options
context:
space:
mode:
authorCody Northrop <cnorthrop@google.com>2016-11-03 14:34:17 -0600
committerCody Northrop <cnorthrop@google.com>2016-11-14 15:06:43 -0700
commit37bb15fb906931f4f3da67eaf3777f4e7622f1a1 (patch)
tree489995b66c52fc77b95a51bd563b979547b90b70 /build-android/update_external_sources_android.sh
parent4f335ae5dd44be4a707c011487904c4299749ac3 (diff)
downloadusermoji-37bb15fb906931f4f3da67eaf3777f4e7622f1a1.tar.xz
android: Pull known good toolchain versions
This includes pulling libSPIRV-Tools-opt into the build to satisfy new shaderc revision.
Diffstat (limited to 'build-android/update_external_sources_android.sh')
-rwxr-xr-xbuild-android/update_external_sources_android.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build-android/update_external_sources_android.sh b/build-android/update_external_sources_android.sh
index ba5153c6..588191fb 100755
--- a/build-android/update_external_sources_android.sh
+++ b/build-android/update_external_sources_android.sh
@@ -36,7 +36,7 @@ function create_glslang () {
echo "Creating local glslang repository ($BASEDIR/glslang)."
mkdir -p $BASEDIR/glslang
cd $BASEDIR/glslang
- git clone https://github.com/KhronosGroup/glslang.git .
+ git clone https://android.googlesource.com/platform/external/shaderc/glslang .
git checkout $GLSLANG_REVISION
}
@@ -52,7 +52,7 @@ function create_spirv-tools () {
echo "Creating local spirv-tools repository ($BASEDIR/spirv-tools)."
mkdir -p $BASEDIR/spirv-tools
cd $BASEDIR/spirv-tools
- git clone https://github.com/KhronosGroup/SPIRV-Tools.git .
+ git clone https://android.googlesource.com/platform/external/shaderc/spirv-tools .
git checkout $SPIRV_TOOLS_REVISION
}
@@ -68,7 +68,7 @@ function create_spirv-headers () {
echo "Creating local spirv-headers repository ($BASEDIR/spirv-tools/external/spirv-headers)."
mkdir -p $BASEDIR/spirv-tools/external/spirv-headers
cd $BASEDIR/spirv-tools/external/spirv-headers
- git clone https://github.com/KhronosGroup/SPIRV-Headers.git .
+ git clone https://android.googlesource.com/platform/external/shaderc/spirv-headers .
git checkout $SPIRV_HEADERS_REVISION
}
@@ -83,7 +83,7 @@ function create_shaderc () {
rm -rf $BASEDIR/shaderc
echo "Creating local shaderc repository ($BASEDIR/shaderc)."
cd $BASEDIR
- git clone https://github.com/google/shaderc.git
+ git clone https://android.googlesource.com/platform/external/shaderc/shaderc
cd shaderc
git checkout $SHADERC_REVISION
}