mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Check if building on Android through the ANDROID_DATA environment variable, then set SWIFT_ANDROID_NATIVE_SYSROOT to the default layout for the Termux app, and key all the include, lib, and other SDK paths off of that. The system libc and a few other libraries are linked against from /system/lib[64]. Finally, check if lit is running natively on Android and don't use adb if so.
4.1 KiB
4.1 KiB