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)
780780 ${SWIFTLIB_SINGLE_SDK} STREQUAL "OSX" )
781781 # HACK: don't build WatchKit API notes for OS X.
782782 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} " )
786786 endif ()
787787 endforeach ()
788788 endif ()
@@ -793,9 +793,6 @@ function(_add_swift_library_single target name)
793793 else ()
794794 string (REPLACE swift "" module_name "${name} " )
795795 endif ()
796- if ("${module_name} " IN_LIST SWIFT_API_NOTES_INPUTS)
797- set (SWIFTLIB_SINGLE_API_NOTES "${module_name} " )
798- endif ()
799796
800797 if ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "WINDOWS" )
801798 swift_windows_include_for_arch(${SWIFTLIB_SINGLE_ARCHITECTURE} SWIFTLIB_INCLUDE)
You can’t perform that action at this time.
0 commit comments