summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2016-03-25 17:50:46 -0500
committerMark Salyzyn2016-03-29 15:52:21 -0500
commit7ef5249afacffe3901e3a602372c7d34cf655675 (patch)
tree608776f5c0e1444cdacd32a106ba91b7ea198605 /liblog/Android.mk
parentfbdbf100cb48f18d308c96f1959945cf7d1909ec (diff)
downloadplatform-system-core-7ef5249afacffe3901e3a602372c7d34cf655675.tar.gz
platform-system-core-7ef5249afacffe3901e3a602372c7d34cf655675.tar.xz
platform-system-core-7ef5249afacffe3901e3a602372c7d34cf655675.zip
liblog: suppress pmsg on user builds
- add optimized & cached LIBLOG_HIDDEN __android_log_is_debuggable() - check when writing, either LOG_ID_SECURITY, SafetyNet or debuggable when pushing content to the pmsg buffer. Bug: 27566046 Change-Id: I85f1b55ec329b38e00f4183836b6ed53046c323d
Diffstat (limited to 'liblog/Android.mk')
-rw-r--r--liblog/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/liblog/Android.mk b/liblog/Android.mk
index 01c8e77b2..b24b489aa 100644
--- a/liblog/Android.mk
+++ b/liblog/Android.mk
@@ -23,6 +23,7 @@ include $(CLEAR_VARS)
23# $(LOCAL_PATH)/event.logtags) 23# $(LOCAL_PATH)/event.logtags)
24# so make sure we do not regret hard-coding it as follows: 24# so make sure we do not regret hard-coding it as follows:
25liblog_cflags := -DLIBLOG_LOG_TAG=1005 25liblog_cflags := -DLIBLOG_LOG_TAG=1005
26liblog_cflags += -DSNET_EVENT_LOG_TAG=1397638484
26 27
27liblog_sources := log_event_list.c log_event_write.c logger_write.c 28liblog_sources := log_event_list.c log_event_write.c logger_write.c
28liblog_sources += config_write.c logger_name.c logger_lock.c 29liblog_sources += config_write.c logger_name.c logger_lock.c