Skip to content

Commit 42eb57e

Browse files
authored
Revert "Android: add host destination to the workspace" (#2811)
Instead, use #2797, which made the SDK path optional, and simply pass nil by default as on linux.
1 parent be92501 commit 42eb57e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Sources/Workspace/Destination.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,6 @@ public struct Destination: Encodable, Equatable {
130130
extraSwiftCFlags: extraSwiftCFlags,
131131
extraCPPFlags: ["-lc++"]
132132
)
133-
#elseif os(Android)
134-
return Destination(
135-
target: nil,
136-
sdk: AbsolutePath(ProcessEnv.vars["PREFIX"]!).parentDirectory,
137-
binDir: binDir,
138-
extraCCFlags: ["-fPIC"],
139-
extraSwiftCFlags: [],
140-
extraCPPFlags: ["-lstdc++"]
141-
)
142133
#else
143134
return Destination(
144135
target: nil,

0 commit comments

Comments
 (0)