We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44cd103 commit 1f93c92Copy full SHA for 1f93c92
docker/android-ndk.sh
@@ -21,7 +21,7 @@ NDK_URL="https://dl.google.com/android/repository/${NDK_FILENAME}"
21
main() {
22
local arch="${1}"
23
24
- install_packages curl unzip
+ install_packages curl unzip python
25
26
local td
27
td="$(mktemp -d)"
@@ -31,7 +31,10 @@ main() {
31
unzip -q "${NDK_FILENAME}"
32
rm "${NDK_FILENAME}"
33
pushd "android-ndk-${ANDROID_NDK}"
34
- mv "toolchains/llvm/prebuilt/${NDK_PLATFORM}" /android-ndk
+ ./build/tools/make_standalone_toolchain.py \
35
+ --install-dir /android-ndk \
36
+ --arch "${arch}" \
37
+ --api "${ANDROID_SDK}"
38
39
# clean up unused toolchains to reduce image size
40
local triple
0 commit comments