You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
424 B
21 lines
424 B
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
source script/build-external-libs/env.sh
|
|
|
|
build_root=$EXTERNAL_LIBS_BUILD_ROOT
|
|
PATH=$ANDROID_NDK_ROOT/build/tools/:$PATH
|
|
|
|
args="--api 23 --stl=libc++"
|
|
archs=(arm arm64 x86 x86_64)
|
|
|
|
for arch in ${archs[@]}; do
|
|
|
|
if [ ! -d "$build_root/tool/$arch" ]; then
|
|
echo "installing $arch"
|
|
make_standalone_toolchain.py $args --arch $arch --install-dir $build_root/tool/$arch
|
|
fi
|
|
|
|
done
|