mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
At least test_rth.swift is checking the name of the executable during the test, so renaming every executable to __executable in Android will never work. Also, during the rth tool execution, all the results from before and after are pushed for every test. Since Android copies the passed files without relative paths, the library files will overwrite each other, making the test fail. Depends on #19949 (more or less)
Build Android Toolchain
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.
To build the toolchain run:
android$ ./build-toolchain
It will be built on:
path/to/swift-source/swift-android-toolchain