mirror of
https://gitee.com/openharmony/third_party_libuv
synced 2024-12-28 07:33:12 +00:00
add to sdk
Signed-off-by: zhangxiao <zhangxiao72@huawei.com>
This commit is contained in:
parent
7b66e48859
commit
90ef5c89b7
11
BUILD.gn
11
BUILD.gn
@ -290,3 +290,14 @@ if (defined(ohos_lite)) {
|
||||
public_configs = [ ":libuv_config" ]
|
||||
}
|
||||
}
|
||||
|
||||
ohos_ndk_library("libuv_ndk") {
|
||||
ndk_description_file = "./libuv.ndk.json"
|
||||
min_compact_version = "1"
|
||||
output_name = "uv"
|
||||
}
|
||||
|
||||
ohos_ndk_headers("libuv_header") {
|
||||
dest_dir = "$ndk_headers_out_dir/libuv"
|
||||
sources = [ "./include/uv.h" ]
|
||||
}
|
||||
|
284
libuv.ndk.json
Normal file
284
libuv.ndk.json
Normal file
@ -0,0 +1,284 @@
|
||||
[
|
||||
{"name": "uv_version"},
|
||||
{"name":"uv_version_string"},
|
||||
{"name":"uv_replace_allocator"},
|
||||
{"name":"uv_default_loop"},
|
||||
{"name":"uv_loop_init"},
|
||||
{"name":"uv_loop_close"},
|
||||
{"name":"uv_loop_new"},
|
||||
{"name":"uv_loop_delete"},
|
||||
{"name":"uv_loop_size"},
|
||||
{"name":"uv_loop_alive"},
|
||||
{"name":"uv_loop_configure"},
|
||||
{"name":"uv_loop_fork"},
|
||||
{"name":"uv_run"},
|
||||
{"name":"uv_stop"},
|
||||
{"name":"uv_ref"},
|
||||
{"name":"uv_unref"},
|
||||
{"name":"uv_has_ref"},
|
||||
{"name":"uv_update_time"},
|
||||
{"name":"uv_now"},
|
||||
{"name":"uv_backend_fd"},
|
||||
{"name":"uv_backend_timeout"},
|
||||
{"name":"uv_translate_sys_error"},
|
||||
{"name":"uv_strerror"},
|
||||
{"name":"uv_strerror_r"},
|
||||
{"name":"uv_err_name"},
|
||||
{"name":"uv_err_name_r"},
|
||||
{"name":"uv_shutdown"},
|
||||
{"name":"uv_handle_size"},
|
||||
{"name":"uv_handle_get_type"},
|
||||
{"name":"uv_handle_type_name"},
|
||||
{"name":"uv_handle_get_data"},
|
||||
{"name":"uv_handle_get_loop"},
|
||||
{"name":"uv_handle_set_data"},
|
||||
{"name":"uv_req_size"},
|
||||
{"name":"uv_req_get_data"},
|
||||
{"name":"uv_req_set_data"},
|
||||
{"name":"uv_req_get_type"},
|
||||
{"name":"uv_req_type_name"},
|
||||
{"name":"uv_is_active"},
|
||||
{"name":"uv_walk"},
|
||||
{"name":"uv_print_all_handles"},
|
||||
{"name":"uv_print_active_handles"},
|
||||
{"name":"uv_close"},
|
||||
{"name":"uv_send_buffer_size"},
|
||||
{"name":"uv_recv_buffer_size"},
|
||||
{"name":"uv_fileno"},
|
||||
{"name":"uv_buf_init"},
|
||||
{"name":"uv_stream_get_write_queue_size"},
|
||||
{"name":"uv_listen"},
|
||||
{"name":"uv_accept"},
|
||||
{"name":"uv_read_start"},
|
||||
{"name":"uv_read_stop"},
|
||||
{"name":"uv_write"},
|
||||
{"name":"uv_write2"},
|
||||
{"name":"uv_try_write"},
|
||||
{"name":"uv_is_readable"},
|
||||
{"name":"uv_is_writable"},
|
||||
{"name":"uv_stream_set_blocking"},
|
||||
{"name":"uv_is_closing"},
|
||||
{"name":"uv_tcp_init"},
|
||||
{"name":"uv_tcp_init_ex"},
|
||||
{"name":"uv_tcp_open"},
|
||||
{"name":"uv_tcp_nodelay"},
|
||||
{"name":"uv_tcp_keepalive"},
|
||||
{"name":"uv_tcp_simultaneous_accepts"},
|
||||
{"name":"uv_tcp_bind"},
|
||||
{"name":"uv_tcp_getsockname"},
|
||||
{"name":"uv_tcp_getpeername"},
|
||||
{"name":"uv_tcp_close_reset"},
|
||||
{"name":"uv_tcp_connect"},
|
||||
{"name":"uv_udp_init"},
|
||||
{"name":"uv_udp_init_ex"},
|
||||
{"name":"uv_udp_open"},
|
||||
{"name":"uv_udp_bind"},
|
||||
{"name":"uv_udp_connect"},
|
||||
{"name":"uv_udp_getpeername"},
|
||||
{"name":"uv_udp_getsockname"},
|
||||
{"name":"uv_udp_set_membership"},
|
||||
{"name":"uv_udp_set_source_membership"},
|
||||
{"name":"uv_udp_set_multicast_loop"},
|
||||
{"name":"uv_udp_set_multicast_ttl"},
|
||||
{"name":"uv_udp_set_multicast_interface"},
|
||||
{"name":"uv_udp_set_broadcast"},
|
||||
{"name":"uv_udp_set_ttl"},
|
||||
{"name":"uv_udp_send"},
|
||||
{"name":"uv_udp_try_send"},
|
||||
{"name":"uv_udp_recv_start"},
|
||||
{"name":"uv_udp_recv_stop"},
|
||||
{"name":"uv_udp_get_send_queue_size"},
|
||||
{"name":"uv_udp_get_send_queue_count"},
|
||||
{"name":"uv_tty_init"},
|
||||
{"name":"uv_tty_set_mode"},
|
||||
{"name":"uv_tty_reset_mode"},
|
||||
{"name":"uv_tty_get_winsize"},
|
||||
{"name":"uv_tty_set_vterm_state"},
|
||||
{"name":"uv_tty_get_vterm_state"},
|
||||
{"name":"uv_guess_handle"},
|
||||
{"name":"uv_pipe_init"},
|
||||
{"name":"uv_pipe_open"},
|
||||
{"name":"uv_pipe_bind"},
|
||||
{"name":"uv_pipe_connect"},
|
||||
{"name":"uv_pipe_getsockname"},
|
||||
{"name":"uv_pipe_getpeername"},
|
||||
{"name":"uv_pipe_pending_instances"},
|
||||
{"name":"uv_pipe_pending_count"},
|
||||
{"name":"uv_pipe_pending_type"},
|
||||
{"name":"uv_pipe_chmod"},
|
||||
{"name":"uv_poll_init"},
|
||||
{"name":"uv_poll_init_socket"},
|
||||
{"name":"uv_poll_start"},
|
||||
{"name":"uv_poll_stop"},
|
||||
{"name":"uv_prepare_init"},
|
||||
{"name":"uv_prepare_start"},
|
||||
{"name":"uv_prepare_stop"},
|
||||
{"name":"uv_check_init"},
|
||||
{"name":"uv_check_start"},
|
||||
{"name":"uv_check_stop"},
|
||||
{"name":"uv_idle_init"},
|
||||
{"name":"uv_idle_start"},
|
||||
{"name":"uv_idle_stop"},
|
||||
{"name":"uv_async_init"},
|
||||
{"name":"uv_async_send"},
|
||||
{"name":"uv_timer_init"},
|
||||
{"name":"uv_timer_start"},
|
||||
{"name":"uv_timer_stop"},
|
||||
{"name":"uv_timer_again"},
|
||||
{"name":"uv_timer_set_repeat"},
|
||||
{"name":"uv_timer_get_repeat"},
|
||||
{"name":"uv_getaddrinfo"},
|
||||
{"name":"uv_freeaddrinfo"},
|
||||
{"name":"uv_getnameinfo"},
|
||||
{"name":"uv_spawn"},
|
||||
{"name":"uv_process_kill"},
|
||||
{"name":"uv_kill"},
|
||||
{"name":"uv_process_get_pid"},
|
||||
{"name":"uv_queue_work"},
|
||||
{"name":"uv_cancel"},
|
||||
{"name":"uv_setup_args"},
|
||||
{"name":"uv_get_process_title"},
|
||||
{"name":"uv_set_process_title"},
|
||||
{"name":"uv_resident_set_memory"},
|
||||
{"name":"uv_uptime"},
|
||||
{"name":"uv_get_osfhandle"},
|
||||
{"name":"uv_open_osfhandle"},
|
||||
{"name":"uv_getrusage"},
|
||||
{"name":"uv_os_homedir"},
|
||||
{"name":"uv_os_tmpdir"},
|
||||
{"name":"uv_os_get_passwd"},
|
||||
{"name":"uv_os_free_passwd"},
|
||||
{"name":"uv_os_getpid"},
|
||||
{"name":"uv_os_getppid"},
|
||||
{"name":"uv_os_getpriority"},
|
||||
{"name":"uv_os_setpriority"},
|
||||
{"name":"uv_cpu_info"},
|
||||
{"name":"uv_free_cpu_info"},
|
||||
{"name":"uv_interface_addresses"},
|
||||
{"name":"uv_free_interface_addresses"},
|
||||
{"name":"uv_os_environ"},
|
||||
{"name":"uv_os_free_environ"},
|
||||
{"name":"uv_os_getenv"},
|
||||
{"name":"uv_os_setenv"},
|
||||
{"name":"uv_os_unsetenv"},
|
||||
{"name":"uv_os_gethostname"},
|
||||
{"name":"uv_os_uname"},
|
||||
{"name":"uv_fs_get_type"},
|
||||
{"name":"uv_fs_get_result"},
|
||||
{"name":"uv_fs_get_ptr"},
|
||||
{"name":"uv_fs_get_path"},
|
||||
{"name":"uv_fs_get_statbuf"},
|
||||
{"name":"uv_fs_req_cleanup"},
|
||||
{"name":"uv_fs_close"},
|
||||
{"name":"uv_fs_open"},
|
||||
{"name":"uv_fs_read"},
|
||||
{"name":"uv_fs_unlink"},
|
||||
{"name":"uv_fs_write"},
|
||||
{"name":"uv_fs_copyfile"},
|
||||
{"name":"uv_fs_mkdir"},
|
||||
{"name":"uv_fs_mkdtemp"},
|
||||
{"name":"uv_fs_mkstemp"},
|
||||
{"name":"uv_fs_rmdir"},
|
||||
{"name":"uv_fs_scandir"},
|
||||
{"name":"uv_fs_scandir_next"},
|
||||
{"name":"uv_fs_opendir"},
|
||||
{"name":"uv_fs_readdir"},
|
||||
{"name":"uv_fs_closedir"},
|
||||
{"name":"uv_fs_stat"},
|
||||
{"name":"uv_fs_fstat"},
|
||||
{"name":"uv_fs_rename"},
|
||||
{"name":"uv_fs_fsync"},
|
||||
{"name":"uv_fs_fdatasync"},
|
||||
{"name":"uv_fs_ftruncate"},
|
||||
{"name":"uv_fs_sendfile"},
|
||||
{"name":"uv_fs_access"},
|
||||
{"name":"uv_fs_chmod"},
|
||||
{"name":"uv_fs_utime"},
|
||||
{"name":"uv_fs_futime"},
|
||||
{"name":"uv_fs_lstat"},
|
||||
{"name":"uv_fs_link"},
|
||||
{"name":"uv_fs_symlink"},
|
||||
{"name":"uv_fs_readlink"},
|
||||
{"name":"uv_fs_realpath"},
|
||||
{"name":"uv_fs_fchmod"},
|
||||
{"name":"uv_fs_chown"},
|
||||
{"name":"uv_fs_fchown"},
|
||||
{"name":"uv_fs_lchown"},
|
||||
{"name":"uv_fs_statfs"},
|
||||
{"name":"uv_fs_poll_init"},
|
||||
{"name":"uv_fs_poll_start"},
|
||||
{"name":"uv_fs_poll_stop"},
|
||||
{"name":"uv_fs_poll_getpath"},
|
||||
{"name":"uv_signal_init"},
|
||||
{"name":"uv_signal_start"},
|
||||
{"name":"uv_signal_start_oneshot"},
|
||||
{"name":"uv_signal_stop"},
|
||||
{"name":"uv_loadavg"},
|
||||
{"name":"uv_fs_event_init"},
|
||||
{"name":"uv_fs_event_start"},
|
||||
{"name":"uv_fs_event_stop"},
|
||||
{"name":"uv_fs_event_getpath"},
|
||||
{"name":"uv_ip4_addr"},
|
||||
{"name":"uv_ip6_addr"},
|
||||
{"name":"uv_ip4_name"},
|
||||
{"name":"uv_ip6_name"},
|
||||
{"name":"uv_inet_ntop"},
|
||||
{"name":"uv_inet_pton"},
|
||||
{"name":"uv_random"},
|
||||
{"name":"uv_if_indextoname"},
|
||||
{"name":"uv_if_indextoiid"},
|
||||
{"name":"uv_exepath"},
|
||||
{"name":"uv_cwd"},
|
||||
{"name":"uv_chdir"},
|
||||
{"name":"uv_get_free_memory"},
|
||||
{"name":"uv_get_total_memory"},
|
||||
{"name":"uv_get_constrained_memory"},
|
||||
{"name":"uv_hrtime"},
|
||||
{"name":"uv_sleep"},
|
||||
{"name":"uv_disable_stdio_inheritance"},
|
||||
{"name":"uv_dlopen"},
|
||||
{"name":"uv_dlclose"},
|
||||
{"name":"uv_dlsym"},
|
||||
{"name":"uv_dlerror"},
|
||||
{"name":"uv_mutex_init"},
|
||||
{"name":"uv_mutex_init_recursive"},
|
||||
{"name":"uv_mutex_destroy"},
|
||||
{"name":"uv_mutex_lock"},
|
||||
{"name":"uv_mutex_trylock"},
|
||||
{"name":"uv_mutex_unlock"},
|
||||
{"name":"uv_rwlock_init"},
|
||||
{"name":"uv_rwlock_destroy"},
|
||||
{"name":"uv_rwlock_rdlock"},
|
||||
{"name":"uv_rwlock_tryrdlock"},
|
||||
{"name":"uv_rwlock_rdunlock"},
|
||||
{"name":"uv_rwlock_wrlock"},
|
||||
{"name":"uv_rwlock_trywrlock"},
|
||||
{"name":"uv_rwlock_wrunlock"},
|
||||
{"name":"uv_sem_init"},
|
||||
{"name":"uv_sem_destroy"},
|
||||
{"name":"uv_sem_post"},
|
||||
{"name":"uv_sem_wait"},
|
||||
{"name":"uv_sem_trywait"},
|
||||
{"name":"uv_cond_init"},
|
||||
{"name":"uv_cond_destroy"},
|
||||
{"name":"uv_cond_signal"},
|
||||
{"name":"uv_cond_broadcast"},
|
||||
{"name":"uv_barrier_init"},
|
||||
{"name":"uv_barrier_destroy"},
|
||||
{"name":"uv_barrier_wait"},
|
||||
{"name":"uv_cond_wait"},
|
||||
{"name":"uv_cond_timedwait"},
|
||||
{"name":"uv_once"},
|
||||
{"name":"uv_key_create"},
|
||||
{"name":"uv_key_delete"},
|
||||
{"name":"uv_key_get"},
|
||||
{"name":"uv_key_set"},
|
||||
{"name":"uv_gettimeofday"},
|
||||
{"name":"uv_thread_create"},
|
||||
{"name":"uv_thread_create_ex"},
|
||||
{"name":"uv_thread_self"},
|
||||
{"name":"uv_thread_join"},
|
||||
{"name":"uv_thread_equal"},
|
||||
{"name":"uv_loop_get_data"},
|
||||
{"name":"uv_loop_set_data"}
|
||||
]
|
Loading…
Reference in New Issue
Block a user