Skip to content

Commit 96e9cb6

Browse files
committed
Add support for new Android overlay being worked on in swiftlang/swift#72634
1 parent 3a2d24b commit 96e9cb6

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

Fixtures/DependencyResolution/External/Complex/FisherYates/src/Fisher-Yates_Shuffle.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import Darwin
44
import Glibc
55
#elseif canImport(Musl)
66
import Musl
7+
#elseif canImport(Android)
8+
import Android
79
#endif
810

911
public extension Collection {

Fixtures/Miscellaneous/EchoExecutable/Sources/secho/main.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import Glibc
33
#elseif canImport(Musl)
44
import Musl
5+
#elseif canImport(Android)
6+
import Android
57
#else
68
import Darwin.C
79
#endif

Sources/Build/TestObservation.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ public func generateTestObservationCode(buildParameters: BuildParameters) -> Str
132132
@_exported import WinSDK
133133
#elseif os(WASI)
134134
@_exported import WASILibc
135+
#elseif canImport(Android)
136+
@_exported import Android
135137
#else
136138
@_exported import Darwin.C
137139
#endif

Sources/CoreCommands/SwiftCommandState.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ import Darwin
3939
import Glibc
4040
#elseif canImport(Musl)
4141
import Musl
42+
#elseif canImport(Android)
43+
import Android
4244
#endif
4345

4446
import func TSCBasic.exec

0 commit comments

Comments
 (0)