File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818TARGET_ARCHS=${TARGET_ARCHS:- aarch64,x86_64,armv7}
1919
2020ANDROID_NDK_VERSION=android-ndk-r27d
21- ANDROID_API=23
21+ ANDROID_API=24
2222
2323BASEPATH=$( dirname $( realpath $0 ) )
2424cd ${BASEPATH}
Original file line number Diff line number Diff line change 1818TARGET_ARCHS=${TARGET_ARCHS:- aarch64,x86_64,armv7}
1919
2020ANDROID_NDK_VERSION=android-ndk-r27d
21- ANDROID_API=23
21+ ANDROID_API=24
2222
2323BASEPATH=$( dirname $( realpath $0 ) )
2424cd ${BASEPATH}
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ declare_package boringssl "boringssl" "OpenSSL AND ISC AND MIT" \
128128android_sdk_version=0.1
129129sdk_name=
130130archs=aarch64,armv7,x86_64
131- android_api=23
131+ android_api=24
132132build_type=Release
133133parallel_jobs=$(( $(nproc -- all) + 2 ))
134134source_dir=
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ perl -pi -g -we "s#(call rm ... \".\{LIBDISPATCH_BUILD_DIR\}\"\n(\s+)fi\n)#\1\2i
173173# disable backtrace() for Android (needs either API33+ or libandroid-execinfo, or to manually add in backtrace backport)
174174perl -pi -e ' s;os\(Android\);os\(AndroidDISABLED\);g' swift-project/swift-testing/Sources/Testing/SourceAttribution/Backtrace.swift
175175
176- # Disable posix_spawnattr_* calls for Android API 23
176+ # Disable posix_spawnattr_* calls for Android API 24
177177perl -pi -e ' s;try _throwIfPosixError\(posix_spawnattr_init;//try _throwIfPosixError\(posix_spawnattr_init;g' swift-project/swift-corelibs-foundation/Sources/Foundation/Process.swift
178178perl -pi -e ' s;try _throwIfPosixError\(posix_spawnattr_setflags;//try _throwIfPosixError\(posix_spawnattr_setflags;g' swift-project/swift-corelibs-foundation/Sources/Foundation/Process.swift
179179perl -pi -e ' s;posix_spawnattr_destroy;//posix_spawnattr_destroy;g' swift-project/swift-corelibs-foundation/Sources/Foundation/Process.swift
You can’t perform that action at this time.
0 commit comments