!23 change uv path and postfix

Merge pull request !23 from zhanghaibo/libuv
This commit is contained in:
openharmony_ci 2022-02-10 07:17:09 +00:00 committed by Gitee
commit 5509fcf501
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -290,6 +290,9 @@ if (defined(ohos_lite)) {
public_configs = [ ":libuv_config" ]
subsystem_name = "ace"
part_name = "napi"
if (is_ohos) {
output_extension = "so"
}
}
}
@ -297,15 +300,16 @@ ohos_ndk_library("libuv_ndk") {
ndk_description_file = "./libuv.ndk.json"
min_compact_version = "1"
output_name = "uv"
output_extension = "so"
}
ohos_ndk_headers("libuv_header") {
dest_dir = "$ndk_headers_out_dir/libuv"
dest_dir = "$ndk_headers_out_dir"
sources = [ "include/uv.h" ]
}
ohos_ndk_headers("libuv_uv_header") {
dest_dir = "$ndk_headers_out_dir/libuv/uv"
dest_dir = "$ndk_headers_out_dir/uv"
sources = [
"include/uv/aix.h",
"include/uv/android-ifaddrs.h",