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
33
33
Atomics/AtomicStorage.swift.gyb
34
34
)
35
35
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 ()
37
43
38
44
set (SWIFT_SYNCHRONIZATION_DARWIN_SOURCES
39
45
Mutex/DarwinImpl.swift
@@ -96,15 +102,17 @@ add_swift_target_library(swiftSynchronization ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES
96
102
Mutex/MutexUnavailable.swift
97
103
98
104
SWIFT_MODULE_DEPENDS_OSX
99
- Darwin
105
+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
100
106
SWIFT_MODULE_DEPENDS_IOS
101
- Darwin
107
+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
102
108
SWIFT_MODULE_DEPENDS_TVOS
103
- Darwin
109
+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
104
110
SWIFT_MODULE_DEPENDS_WATCHOS
105
- Darwin
111
+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
106
112
SWIFT_MODULE_DEPENDS_XROS
107
- Darwin
113
+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
114
+ SWIFT_MODULE_DEPENDS_MACCATALYST
115
+ ${SWIFT_SYNCHRONIZATION_DARWIN_DEPENDENCIES}
108
116
SWIFT_MODULE_DEPENDS_LINUX
109
117
Glibc
110
118
SWIFT_MODULE_DEPENDS_WINDOWS
You can’t perform that action at this time.
0 commit comments