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

Unified Diff: platform_tools/android/bin/utils/setup_toolchain.sh

Issue 1810603002: Cleanup download scripts related to new Android NDK. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « platform_tools/android/bin/android_gdb_native ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/android/bin/utils/setup_toolchain.sh
diff --git a/platform_tools/android/bin/utils/setup_toolchain.sh b/platform_tools/android/bin/utils/setup_toolchain.sh
index 93322da48f2eac962f54f8936a7e437ea550941d..c2c6a522091b69fa8458ed0d8eee553abd30bdad 100755
--- a/platform_tools/android/bin/utils/setup_toolchain.sh
+++ b/platform_tools/android/bin/utils/setup_toolchain.sh
@@ -53,13 +53,14 @@ function default_toolchain() {
pushd $TOOLCHAINS
curl -o $NDK.zip https://dl.google.com/android/repository/android-ndk-$NDK-$HOST-x86_64.zip
unzip $NDK.zip
- UNZIPPED=android-ndk-$NDK-$HOST-x86_64.tar.bz2
+ UNZIPPED=android-ndk-$NDK
./$UNZIPPED/build/tools/make-standalone-toolchain.sh \
--use-llvm \
--arch=$ANDROID_ARCH \
--platform=android-$API \
--install_dir=$TOOLCHAIN
cp $UNZIPPED/prebuilt/android-$ANDROID_ARCH/gdbserver/gdbserver $TOOLCHAIN
+ cp $UNZIPPED/prebuilt/${HOST}-x86_64/bin/gdb $TOOLCHAIN
rm $NDK.zip
rm -rf $UNZIPPED
popd
« no previous file with comments | « platform_tools/android/bin/android_gdb_native ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698