@@ -109,7 +109,6 @@ declare_package libxml2 "libxml2" "MIT" \
109109declare_package curl " curl" " MIT" " https://curl.se"
110110declare_package boringssl " boringssl" " OpenSSL AND ISC AND MIT" \
111111 " https://boringssl.googlesource.com/boringssl/"
112- declare_package zlib " zlib" " Zlib" " https://zlib.net"
113112
114113# Parse command line arguments
115114android_sdk_version=0.1
@@ -201,8 +200,6 @@ curl_version=${curl_desc#curl-}
201200
202201boringssl_version=$( describe ${source_dir} /boringssl)
203202
204- zlib_version=$( versionFromTag ${source_dir} /zlib)
205-
206203function quiet_pushd {
207204 pushd " $1 " > /dev/null 2>&1
208205}
@@ -232,7 +229,6 @@ echo " - Swift ${swift_version}"
232229echo " - libxml2 ${libxml2_version} "
233230echo " - curl ${curl_version} "
234231echo " - BoringSSL ${boringssl_version} "
235- echo " - zlib ${zlib_version} "
236232
237233function run() {
238234 echo " $@ "
@@ -241,7 +237,7 @@ function run() {
241237
242238header " Patching Sources"
243239
244- quiet_pushd ${source_dir}
240+ quiet_pushd ${source_dir} /swift-project
245241 patch=" ${patches_dir} /swift-android.patch"
246242
247243 # patch the patch, which seems to only be needed for an API less than 28
@@ -251,9 +247,9 @@ quiet_pushd ${source_dir}
251247 # remove the need to link in android-execinfo
252248 perl -pi -e ' s/dispatch android-execinfo/dispatch/g' $patch
253249
254- if git apply --reverse --check " $patch " > /dev/null 2>&1 ; then
250+ if git apply --reverse --check " $patch " ; then
255251 echo " already patched"
256- elif git apply " $patch " > /dev/null 2>&1 ; then
252+ elif git apply " $patch " ; then
257253 echo " done"
258254 else
259255 echo " failed"
@@ -266,9 +262,9 @@ quiet_pushd ${source_dir}
266262 testing_patch=" ${patches_dir} /swift-android-testing-except-release.patch"
267263 fi
268264
269- if git apply --reverse --check " $testing_patch " > /dev/null 2>&1 ; then
265+ if git apply --reverse --check " $testing_patch " ; then
270266 echo " already patched"
271- elif git apply " $testing_patch " > /dev/null 2>&1 ; then
267+ elif git apply " $testing_patch " ; then
272268 echo " done"
273269 else
274270 echo " failed"
0 commit comments