mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-17 21:48:19 +00:00
Remove unused shell script function arguments
Only the first two arguments of the `build_for_type` and `copy_libs` functions are used.
This commit is contained in:
parent
ceb1640320
commit
b2c2a74db7
|
@ -123,19 +123,19 @@ function build_for_type() {
|
|||
mkdir ${_DEFAULT_BUILD_FOLDER}
|
||||
|
||||
if [[ "${_DEFAULT_ANDROID_BUILD}" == "arm" || "${_DEFAULT_ANDROID_BUILD}" == "all" ]]; then
|
||||
build_for_type arm armeabi-v7a arm eabi &
|
||||
build_for_type arm armeabi-v7a &
|
||||
fi
|
||||
|
||||
if [[ "${_DEFAULT_ANDROID_BUILD}" == "arm64" || "${_DEFAULT_ANDROID_BUILD}" == "all" ]]; then
|
||||
build_for_type arm64 arm64-v8a aarch64 &
|
||||
build_for_type arm64 arm64-v8a &
|
||||
fi
|
||||
|
||||
if [[ "${_DEFAULT_ANDROID_BUILD}" == "x86" || "${_DEFAULT_ANDROID_BUILD}" == "all" ]]; then
|
||||
build_for_type x86 x86 i686 &
|
||||
build_for_type x86 x86 &
|
||||
fi
|
||||
|
||||
if [[ "${_DEFAULT_ANDROID_BUILD}" == "x86_64" || "${_DEFAULT_ANDROID_BUILD}" == "x64" || "${_DEFAULT_ANDROID_BUILD}" == "all" ]]; then
|
||||
build_for_type x86_64 x86_64 x86_64 &
|
||||
build_for_type x86_64 x86_64 &
|
||||
fi
|
||||
|
||||
wait
|
||||
|
@ -177,19 +177,19 @@ function copy_libs() {
|
|||
}
|
||||
|
||||
if [[ "${_DEFAULT_ANDROID_BUILD}" == "arm" || "${_DEFAULT_ANDROID_BUILD}" == "all" ]]; then
|
||||
copy_libs arm armeabi-v7a arm eabi
|
||||
copy_libs arm armeabi-v7a
|
||||
fi
|
||||
|
||||
if [[ "${_DEFAULT_ANDROID_BUILD}" == "arm64" || "${_DEFAULT_ANDROID_BUILD}" == "all" ]]; then
|
||||
copy_libs arm64 arm64-v8a aarch64
|
||||
copy_libs arm64 arm64-v8a
|
||||
fi
|
||||
|
||||
if [[ "${_DEFAULT_ANDROID_BUILD}" == "x86" || "${_DEFAULT_ANDROID_BUILD}" == "all" ]]; then
|
||||
copy_libs x86 x86 i686
|
||||
copy_libs x86 x86
|
||||
fi
|
||||
|
||||
if [[ "${_DEFAULT_ANDROID_BUILD}" == "x86_64" || "${_DEFAULT_ANDROID_BUILD}" == "x64" || "${_DEFAULT_ANDROID_BUILD}" == "all" ]]; then
|
||||
copy_libs x86_64 x86_64 x86_64
|
||||
copy_libs x86_64 x86_64
|
||||
fi
|
||||
|
||||
_DEFAULT_ANDROID_BUILD_DUMMY=$_DEFAULT_ANDROID_BUILD
|
||||
|
|
Loading…
Reference in a new issue