File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ $HOST_TOOLCHAIN/bin/swift --version
38
38
export PATH=$HOST_TOOLCHAIN /bin:$PATH
39
39
40
40
export ANDROID_NDK_HOME=${SDKROOT} /ndk/${ANDROID_NDK_VERSION}
41
- export ANDROID_NDK=${ANDROID_NDK_HOME}
42
41
43
42
if [[ ! -d ${ANDROID_NDK_HOME} ]]; then
44
43
mkdir -p $( dirname ${ANDROID_NDK_HOME} )
51
50
52
51
mkdir -p ${SDKROOT} /products
53
52
54
- ./scripts/fetch-source.sh --source-dir ${SDKROOT} /src --swift-tag ${SWIFT_TAG}
55
- ./scripts/patch-sources.sh ${SDKROOT} /src
56
-
57
- ./scripts/build.sh --products-dir ${SDKROOT} /products --source-dir ${SDKROOT} /src --build-dir ${SDKROOT} /build --ndk-home ${ANDROID_NDK_HOME} --android-api ${ANDROID_API} --host-toolchain ${HOST_TOOLCHAIN} --archs ${TARGET_ARCHS} ${@ }
53
+ ./scripts/fetch-source.sh --source-dir ${SDKROOT} /source --swift-tag ${SWIFT_TAG}
54
+ ./scripts/patch-sources.sh ${SDKROOT} /source
55
+
56
+ ./scripts/build.sh \
57
+ --source-dir ${SDKROOT} /source \
58
+ --products-dir ${SDKROOT} /products
59
+ --build-dir ${SDKROOT} /build \
60
+ --host-toolchain ${HOST_TOOLCHAIN} \
61
+ --android-api ${ANDROID_API} \
62
+ --ndk-home ${ANDROID_NDK_HOME} \
63
+ --archs ${TARGET_ARCHS} ${@ }
You can’t perform that action at this time.
0 commit comments