File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
stdlib/public/Synchronization Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,13 @@ set(SWIFT_SYNCHRONIZATION_GYB_SOURCES
3333 Atomics/AtomicStorage.swift.gyb
3434)
3535
36- # Darwin sources
36+ # Darwin dependencies and sources
37+
38+ set (SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES)
39+
40+ if (SWIFT_BUILD_SDK_OVERLAY)
41+ set (SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES Darwin)
42+ endif ()
3743
3844set (SWIFT_SYNCHRONIZATION_DARWIN_SOURCES
3945 Mutex/DarwinImpl.swift
@@ -96,15 +102,17 @@ add_swift_target_library(swiftSynchronization ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES
96102 Mutex/MutexUnavailable.swift
97103
98104 SWIFT_MODULE_DEPENDS_OSX
99- Darwin
105+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
100106 SWIFT_MODULE_DEPENDS_IOS
101- Darwin
107+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
102108 SWIFT_MODULE_DEPENDS_TVOS
103- Darwin
109+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
104110 SWIFT_MODULE_DEPENDS_WATCHOS
105- Darwin
111+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
106112 SWIFT_MODULE_DEPENDS_XROS
107- Darwin
113+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
114+ SWIFT_MODULE_DEPENDS_MACCATALYST
115+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
108116 SWIFT_MODULE_DEPENDS_LINUX
109117 Glibc
110118 SWIFT_MODULE_DEPENDS_ANDROID
You can’t perform that action at this time.
0 commit comments