Skip to content

Commit 5eb29d9

Browse files
committed
[android] Switch to new single-header modulemap for Bionic too
1 parent fe83f98 commit 5eb29d9

File tree

8 files changed

+7
-406
lines changed

8 files changed

+7
-406
lines changed

stdlib/public/Platform/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ foreach(sdk ${SWIFT_SDKS})
130130
set(module_dir "${SWIFTLIB_DIR}/${arch_subdir}")
131131
set(module_dir_static "${SWIFTSTATICLIB_DIR}/${arch_subdir}")
132132

133-
if(${sdk} STREQUAL ANDROID)
134-
set(glibc_modulemap_source "bionic.modulemap.gyb")
135-
elseif(${sdk} STREQUAL OPENBSD)
133+
if(${sdk} STREQUAL OPENBSD)
136134
set(glibc_modulemap_source "libc-openbsd.modulemap.gyb")
137135
else()
138136
set(glibc_modulemap_source "glibc.modulemap.gyb")

stdlib/public/Platform/SwiftGlibc.h.gyb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ headers = [
2828
'tgmath.h',
2929
'time.h',
3030
'utmp.h',
31-
'utmpx.h',
3231

3332
# POSIX
3433
'aio.h',

0 commit comments

Comments
 (0)