File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -780,9 +780,9 @@ function(_add_swift_library_single target name)
780
780
${SWIFTLIB_SINGLE_SDK} STREQUAL "OSX" )
781
781
# HACK: don't build WatchKit API notes for OS X.
782
782
else ()
783
- if ( NOT IS_DIRECTORY " ${SWIFT_SOURCE_DIR} /stdlib/public/SDK/ ${framework_name} " )
784
- list ( APPEND SWIFTLIB_SINGLE_API_NOTES " ${framework_name} " )
785
- endif ( )
783
+ # Always build the "non-overlay" apinotes to keep them in sync
784
+ # rdar://40496966
785
+ list ( APPEND SWIFTLIB_SINGLE_API_NOTES " ${framework_name} " )
786
786
endif ()
787
787
endforeach ()
788
788
endif ()
@@ -793,9 +793,6 @@ function(_add_swift_library_single target name)
793
793
else ()
794
794
string (REPLACE swift "" module_name "${name} " )
795
795
endif ()
796
- if ("${module_name} " IN_LIST SWIFT_API_NOTES_INPUTS )
797
- set (SWIFTLIB_SINGLE_API_NOTES "${module_name} " )
798
- endif ()
799
796
800
797
if ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "WINDOWS" )
801
798
swift_windows_include_for_arch (${SWIFTLIB_SINGLE_ARCHITECTURE} SWIFTLIB_INCLUDE )
You can’t perform that action at this time.
0 commit comments