Skip to content

Commit 62572e9

Browse files
committed
Added Build Android Toolchain section to docs/Android.md
1 parent 240a02f commit 62572e9

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

docs/Android.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To follow along with this guide, you'll need:
4242
turn on remote debugging by following the official instructions:
4343
https://developer.chrome.com/devtools/docs/remote-debugging.
4444

45-
## Part One: "Hello, world" on Android
45+
## "Hello, world" on Android
4646

4747
### 1. Downloading (or building) the Swift Android stdlib dependencies
4848

@@ -309,7 +309,7 @@ Hello, Android
309309

310310
Congratulations! You've just run your first Swift program on Android.
311311

312-
## Part Two: Running the Swift test suite hosted on an Android device
312+
## Running the Swift test suite hosted on an Android device
313313

314314
When running the test suite, build products are automatically pushed to your
315315
device. As in part one, you'll need to connect your Android device via USB:
@@ -333,3 +333,19 @@ $ utils/build-script \
333333
--android-icu-i18n ~/libicu-android/armeabi-v7a/libicui18n.so \
334334
--android-icu-i18n-include ~/libicu-android/armeabi-v7a/icu/source/i18n/
335335
```
336+
337+
## Build Android Toolchain
338+
339+
This toolchain will generate the .so and .swiftmodule files of the Swift standard library and Foundation framework for the Android environment, armv7 architecture. Those files are needed when building any Swift library to be included in an application for Android.
340+
341+
To build the toolchain run:
342+
343+
```
344+
$ utils/android/build-toolchain
345+
```
346+
347+
It will be built on:
348+
349+
```
350+
path/to/swift-source/swift-android-toolchain
351+
```

utils/android/README.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)