aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmine Cha <chajasmine@google.com>2022-12-28 14:31:19 +0800
committerJasmine Cha <chajasmine@google.com>2022-12-29 16:31:34 +0800
commitf3d1517d7b852a3d62569e1bdb1d4a76b611a83d (patch)
treead4a4b399b4b085ef22648bd96d80c6e4cf00895
parent3d5a0ffc235c9ded5cde873da00e6cde75f1dc60 (diff)
downloadtinyalsa_new-f3d1517d7b852a3d62569e1bdb1d4a76b611a83d.tar.gz
- bypassing linking error in host. - remove diag due to higher performance https://source.android.com/docs/security/test/bounds-sanitizer#diag Bug: 263841853 Test: run host test with 64 version vendor.google.whitechapel.audio.hal.audio_tests vendor.google.whitechapel.audio.hal.audio.tuner_tests vendor.google.whitechapel.audio.hal.soundtrigger.tests vendor.google.whitechapel.audio.hal.utils.bluenote_tests Change-Id: Ibd0be525fbd881c4b84ff6b14923c9d372334dda Signed-off-by: Jasmine Cha <chajasmine@google.com>
-rw-r--r--Android.bp18
1 files changed, 10 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index 8fc5ed6..a60b12f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -52,14 +52,16 @@ cc_library {
bionic: {
system_shared_libs: ["libc", "libdl"],
},
- },
-
- sanitize: {
- integer_overflow: true,
- misc_undefined: ["bounds"],
- diag: {
- integer_overflow: true,
- misc_undefined: ["bounds"],
+ android: {
+ // TODO(b/263841853): check linking error for host
+ sanitize: {
+ integer_overflow: true,
+ misc_undefined: ["bounds"],
+ diag: {
+ integer_overflow: true,
+ misc_undefined: ["bounds"],
+ },
+ },
},
},
}