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 @@ -719,9 +719,9 @@ function(_add_swift_library_single target name)
719
719
${SWIFTLIB_SINGLE_SDK} STREQUAL "OSX" )
720
720
# HACK: don't build WatchKit API notes for OS X.
721
721
else ()
722
- if ( NOT IS_DIRECTORY " ${SWIFT_SOURCE_DIR} /stdlib/public/SDK/ ${framework_name} " )
723
- list ( APPEND SWIFTLIB_SINGLE_API_NOTES " ${framework_name} " )
724
- endif ( )
722
+ # Always build the "non-overlay" apinotes to keep them in sync
723
+ # rdar://40496966
724
+ list ( APPEND SWIFTLIB_SINGLE_API_NOTES " ${framework_name} " )
725
725
endif ()
726
726
endforeach ()
727
727
endif ()
@@ -732,9 +732,6 @@ function(_add_swift_library_single target name)
732
732
else ()
733
733
string (REPLACE swift "" module_name "${name} " )
734
734
endif ()
735
- if ("${module_name} " IN_LIST SWIFT_API_NOTES_INPUTS )
736
- set (SWIFTLIB_SINGLE_API_NOTES "${module_name} " )
737
- endif ()
738
735
739
736
if ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "WINDOWS" )
740
737
swift_windows_include_for_arch (${SWIFTLIB_SINGLE_ARCHITECTURE} SWIFTLIB_INCLUDE )
You can’t perform that action at this time.
0 commit comments