mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Runtimes: add overlay for Android platform
This introduces the Android and Math modules for Android in the platform specific overlay.
This commit is contained in:
@@ -104,11 +104,35 @@ copy_library_sources("linker-support" "" "Overlay")
|
||||
message(STATUS "Clang[${StdlibSources}/public/ClangOverlays] -> ${CMAKE_CURRENT_LIST_DIR}/Overlay/clang")
|
||||
copy_files(public/ClangOverlays Overlay/clang FILES float.swift.gyb)
|
||||
|
||||
# Android Overlay
|
||||
message(STATUS "Android modulemaps[${StdlibSources}/Platform] -> ${CMAKE_CURRENT_LIST_DIR}/Overlay/Android/clang")
|
||||
copy_files(public/Platform Overlay/Android/clang
|
||||
FILES
|
||||
android.modulemap
|
||||
posix_filesystem.apinotes
|
||||
spawn.apinotes
|
||||
SwiftAndroidNDK.h
|
||||
SwiftBionic.h)
|
||||
|
||||
message(STATUS "Android Android[${StdlibSources}/Platform] -> ${CMAKE_CURRENT_LIST_DIR}/Overlay/Android/Android")
|
||||
copy_files(public/Platform Overlay/Android/Android
|
||||
FILES
|
||||
Android.swift
|
||||
Platform.swift
|
||||
POSIXError.swift
|
||||
TiocConstants.swift
|
||||
tgmath.swift.gyb)
|
||||
|
||||
message(STATUS "Android Math[${StdlibSources}/Platform] -> ${CMAKE_CURRENT_LIST_DIR}/Overlay/Android/Math")
|
||||
copy_files(public/Platform Overlay/Android/Math
|
||||
FILES
|
||||
Math.swift)
|
||||
|
||||
# Windows Overlay
|
||||
message(STATUS "WinSDK[${StdlibSources}/public/Windows] -> ${CMAKE_CURRENT_LIST_DIR}/Overlay/Windows/WinSDK")
|
||||
copy_files(public/Windows Overlay/Windows/WinSDK FILES WinSDK.swift)
|
||||
|
||||
message(STATUS "Windows Modulemaps[${StdlibSources}/Platform] -> ${CMAKE_CURRENT_LIST_DIR}/Overlay/Windows/clang")
|
||||
message(STATUS "Windows modulemaps[${StdlibSources}/Platform] -> ${CMAKE_CURRENT_LIST_DIR}/Overlay/Windows/clang")
|
||||
copy_files(public/Platform Overlay/Windows/clang
|
||||
FILES
|
||||
ucrt.modulemap
|
||||
|
||||
Reference in New Issue
Block a user