Disable integer sanitization on host.
Test: NFC until https://android-review.googlesource.com/#/c/329510
Change-Id: I4d1bb66821b2984bbee12438cfd72b9b63d56605
diff --git a/libcutils/Android.bp b/libcutils/Android.bp
index cf266dc..8ba7452 100644
--- a/libcutils/Android.bp
+++ b/libcutils/Android.bp
@@ -103,6 +103,9 @@
"trace-dev.c",
"uevent.c",
],
+ sanitize: {
+ misc_undefined: ["integer"],
+ },
},
android_arm: {
@@ -153,9 +156,6 @@
],
clang: true,
- sanitize: {
- misc_undefined: ["integer"],
- },
}
subdirs = ["tests"]