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.bp
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.bp')
-rw-r--r--liblog/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/liblog/Android.bp b/liblog/Android.bp
index 59c696bbe..302e63c9f 100644
--- a/liblog/Android.bp
+++ b/liblog/Android.bp
@@ -83,6 +83,7 @@ cc_library {
83 // $(LOCAL_PATH)/event.logtags) 83 // $(LOCAL_PATH)/event.logtags)
84 // so make sure we do not regret hard-coding it as follows: 84 // so make sure we do not regret hard-coding it as follows:
85 "-DLIBLOG_LOG_TAG=1005", 85 "-DLIBLOG_LOG_TAG=1005",
86 "-DSNET_EVENT_LOG_TAG=1397638484",
86 ], 87 ],
87 compile_multilib: "both", 88 compile_multilib: "both",
88 stl: "none", 89 stl: "none",