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 @@ -770,9 +770,9 @@ function(_add_swift_library_single target name)
770
770
${SWIFTLIB_SINGLE_SDK} STREQUAL "OSX" )
771
771
# HACK: don't build WatchKit API notes for OS X.
772
772
else ()
773
- if ( NOT IS_DIRECTORY " ${SWIFT_SOURCE_DIR} /stdlib/public/SDK/ ${framework_name} " )
774
- list ( APPEND SWIFTLIB_SINGLE_API_NOTES " ${framework_name} " )
775
- endif ( )
773
+ # Always build the "non-overlay" apinotes to keep them in sync
774
+ # rdar://40496966
775
+ list ( APPEND SWIFTLIB_SINGLE_API_NOTES " ${framework_name} " )
776
776
endif ()
777
777
endforeach ()
778
778
endif ()
@@ -783,9 +783,6 @@ function(_add_swift_library_single target name)
783
783
else ()
784
784
string (REPLACE swift "" module_name "${name} " )
785
785
endif ()
786
- if ("${module_name} " IN_LIST SWIFT_API_NOTES_INPUTS )
787
- set (SWIFTLIB_SINGLE_API_NOTES "${module_name} " )
788
- endif ()
789
786
790
787
if ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "WINDOWS" )
791
788
swift_windows_include_for_arch (${SWIFTLIB_SINGLE_ARCHITECTURE} SWIFTLIB_INCLUDE )
You can’t perform that action at this time.
0 commit comments