File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ #
4+ # *** build-android.sh ***
5+ #
6+ # This script automates editing the libiconv and libicu source code and build
7+ # directives to build the libraries correctly to use when building swift for
8+ # Android. Original instructions that this script automates are available at
9+ # https://github.com/apple/swift/blob/4bf6f5475ddf5c9ff4a7e383bac41c8a0464cd90/docs/Android.md#adding-swift-suffix-to-icu-libraries
10+ #
11+
12+ set -e
13+
14+ echo " warning: this script assumes it's running from the root of the libiconv-libicu-android directory"
15+
16+ # Create armeabi-v7a dir
17+ mkdir armeabi-v7a && cd armeabi-v7a
18+ tar xvf ../icu4c-55_1-src.tgz
19+
20+ # Edit icu configure file
21+
22+ # Edit build.sh file
23+
24+ # 🎉 Run build.sh, with the edited sources
25+ ./build.sh
26+
27+ echo " Done building 🎉🎉🎉"
28+ echo " Check out the armeabi-v7a directory."
You can’t perform that action at this time.
0 commit comments