Merge "Add LLNDK liblog stub library for the VNDK"

This commit is contained in:
Dan Willemsen 2017-04-07 21:21:32 +00:00 committed by Gerrit Code Review
commit f8111b7df8
2 changed files with 30 additions and 5 deletions

View File

@ -107,14 +107,16 @@ ndk_headers {
license: "NOTICE",
}
cc_library_headers {
name: "liblog_vndk_headers",
export_include_dirs: ["include_vndk"],
}
ndk_library {
name: "liblog.ndk",
symbol_file: "liblog.map.txt",
first_version: "9",
unversioned_until: "current",
}
llndk_library {
name: "liblog.llndk",
symbol_file: "liblog.map.txt",
unversioned: true,
export_include_dirs: ["include_vndk"],
}

View File

@ -1,6 +1,10 @@
LIBLOG {
global:
android_name_to_log_id; # vndk
android_log_id_to_name; # vndk
__android_log_assert;
__android_log_buf_print; # vndk
__android_log_buf_write; # vndk
__android_log_print;
__android_log_vprint;
__android_log_write;
@ -8,8 +12,27 @@ LIBLOG {
*;
};
LIBLOG_L {
global:
android_logger_clear; # vndk
android_logger_get_id; # vndk
android_logger_get_log_readable_size; # vndk
android_logger_get_log_version; # vndk
android_logger_get_log_size; # vndk
android_logger_list_alloc; # vndk
android_logger_list_alloc_time; # vndk
android_logger_list_free; # vndk
android_logger_list_open; # vndk
android_logger_list_read; # vndk
android_logger_open; # vndk
android_logger_set_log_size; # vndk
};
LIBLOG_M {
global:
android_logger_get_prune_list; # vndk
android_logger_set_prune_list; # vndk
android_logger_get_statistics; # vndk
__android_log_is_loggable;
};