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 50098ba34a2ab82271c17be1a3a5077c7f7119aa..6851931bfb6aa058cee785fe7f4f91b626864d17 100755 |
--- a/platform_tools/android/bin/utils/setup_toolchain.sh |
+++ b/platform_tools/android/bin/utils/setup_toolchain.sh |
@@ -42,6 +42,10 @@ function default_toolchain() { |
else |
API=14 # Android 4.0 |
fi |
+ |
+ if [ "$SKIA_VULKAN" == "true" ]; then |
+ API=24 # Android N Preview |
+ fi |
TOOLCHAIN=$ANDROID_ARCH-$NDK-$API |
HOST=`uname | tr '[A-Z]' '[a-z]'` |