summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-01-22 19:45:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-01-22 19:45:05 +0000
commit23a40c7b165f3b86751f022d96f4d5ea4fe5cac4 (patch)
treebff79db43dc21cef384df2de50ef8a3aaa384d15
parentfc1c2f56abd3499a8f51398591a06c85ebba8bc8 (diff)
parent44f0023e8193caed4453e4c900be2d96979447df (diff)
downloadsystem_core-23a40c7b165f3b86751f022d96f4d5ea4fe5cac4.tar.gz
system_core-23a40c7b165f3b86751f022d96f4d5ea4fe5cac4.tar.bz2
system_core-23a40c7b165f3b86751f022d96f4d5ea4fe5cac4.zip
Merge "Add a version script for liblog for the platform"
-rw-r--r--liblog/Android.bp1
-rw-r--r--liblog/liblog.map.txt21
2 files changed, 22 insertions, 0 deletions
diff --git a/liblog/Android.bp b/liblog/Android.bp
index 4fd36f50c..bd7a5518c 100644
--- a/liblog/Android.bp
+++ b/liblog/Android.bp
@@ -73,6 +73,7 @@ cc_library {
cflags: ["-DFAKE_LOG_DEVICE=1"],
},
android: {
+ version_script: "liblog.map.txt",
srcs: liblog_target_sources,
// AddressSanitizer runtime library depends on liblog.
sanitize: {
diff --git a/liblog/liblog.map.txt b/liblog/liblog.map.txt
index 015c9cbf9..191ef1bf0 100644
--- a/liblog/liblog.map.txt
+++ b/liblog/liblog.map.txt
@@ -59,3 +59,24 @@ LIBLOG_Q {
android_log_reset; #vndk
android_log_parser_reset; #vndk
};
+
+LIBLOG_PRIVATE {
+ global:
+ __android_log_bswrite;
+ __android_log_btwrite;
+ __android_log_bwrite;
+ __android_log_close;
+ __android_log_pmsg_file_read;
+ __android_log_pmsg_file_write;
+ __android_log_security;
+ __android_log_security_bswrite;
+ __android_logger_get_buffer_size;
+ __android_logger_property_get_bool;
+ android_openEventTagMap;
+ android_log_processBinaryLogBuffer;
+ android_log_processLogBuffer;
+ android_log_read_next;
+ android_log_write_list_buffer;
+ android_lookupEventTagNum;
+ create_android_log_parser;
+};