File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -474,21 +474,22 @@ if("ANDROID" IN_LIST SWIFT_SDKS)
474
474
endif ()
475
475
endforeach ()
476
476
477
- set (android_posix_filesystem_apinotes_source "posix_filesystem.apinotes" )
478
- set (apinotes_subdir "${SWIFTLIB_DIR} /apinotes" )
479
477
add_custom_command_target (
480
478
copy_android_posix_filesystem_apinotes_resource
481
479
COMMAND
482
- " ${CMAKE_COMMAND} " "-E" " make_directory" ${apinotes_subdir}
480
+ ${CMAKE_COMMAND} -E make_directory " ${SWIFTLIB_DIR} /apinotes"
483
481
COMMAND
484
- "${CMAKE_COMMAND} " "-E" "copy_if_different"
485
- "${CMAKE_CURRENT_SOURCE_DIR} /${android_posix_filesystem_apinotes_source} " ${apinotes_subdir}
486
- OUTPUT ${apinotes_subdir} /${android_posix_filesystem_apinotes_source}
487
- COMMENT "Copying Android posix_filesystem API notes to resource directories" )
482
+ ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR} /posix_filesystem.apinotes" "${SWIFTLIB_DIR} /apinotes"
483
+ COMMAND
484
+ ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR} /spawn.apinotes" "${SWIFTLIB_DIR} /apinotes"
485
+ OUTPUT
486
+ "${SWIFTLIB_DIR} /apinotes/posix_filesystem.apinotes"
487
+ "${SWIFTLIB_DIR} /apinotes/spawn.apinotes"
488
+ COMMENT
489
+ "Copying Android API Notes to resource directories" )
488
490
add_dependencies (sdk-overlay ${copy_android_posix_filesystem_apinotes_resource} )
489
491
list (APPEND android_modulemap_target_list ${copy_android_posix_filesystem_apinotes_resource} )
490
- swift_install_in_component (FILES
491
- "${android_posix_filesystem_apinotes_source} "
492
+ swift_install_in_component (FILES posix_filesystem.apinotes spawn.apinotes
492
493
DESTINATION "lib/swift/apinotes"
493
494
COMPONENT sdk-overlay )
494
495
endif ()
Original file line number Diff line number Diff line change
1
+ ---
2
+ Name: bionic
3
+ Functions:
4
+ - Name: posix_spawnattr_init
5
+ Parameters:
6
+ - Position: 0
7
+ Type: "posix_spawnattr_t _Nullable * _Nonnull"
You can’t perform that action at this time.
0 commit comments