Commit Graph

6 Commits

Author SHA1 Message Date
Saleem Abdulrasool
ccfa499d43 Android: treat module similar to WinSDK
Setup the interface include directory that seems to not be setup
implicitly by CMake as it should be. This workaround is necessary to
ensure that we are able to build against this module.
2025-07-28 17:27:38 -07:00
Saleem Abdulrasool
9d079f30ee Runtimes: export the SwiftOverlay targets
This allows wiring up dependencies across the projects. In particular,
this is needed to get the generated VFS mapping in the Android build for
the explicit dependencies to work. The PCM emission does not receive the
required mapping and thus is unable to load the modulemaps for the build
of the PCM.
2025-07-16 08:58:52 -07:00
Saleem Abdulrasool
505827eb7b Runtimes: correct the Android overlay install more precisely
The install location of the APINotes is separate from the rest of the
overlay content. These are installed unlabelled by the OS (which is a
potential issue if there are conflicts with other OSes!). The swift
swift-driver properly locates the APINotes it appears, but the C++
swift-driver does not. Install the APINotes to a location that both will
function with.
2025-07-15 11:52:53 -07:00
Saleem Abdulrasool
a337076cd2 Runtime: install APINotes to the right location
The installation location for API Notes needs to be non-static always.

Fixes: swiftlang/swift#82993
2025-07-14 08:35:32 -07:00
Saleem Abdulrasool
104eb77272 Runtimes: adjust for incorrect Android behaviour
The runtime mixes `swift` and `swift_static` SDK layouts when building
Swift code on Android. The overlay is always referenced in `swift` and
never from `swift_static`. Adjust the layout to match the driver.
2025-06-23 08:40:43 -07:00
Saleem Abdulrasool
4b376025ce Runtimes: add overlay for Android platform
This introduces the Android and Math modules for Android in the platform
specific overlay.
2025-04-07 16:03:58 -07:00