From 54c7886c403dfe097b23389c16d9c735c4142bcc Mon Sep 17 00:00:00 2001 From: Evgenii Stepanov Date: Tue, 31 Jan 2017 16:33:53 -0800 Subject: [PATCH] Disable integer sanitization on host. Test: NFC until https://android-review.googlesource.com/#/c/329510 Change-Id: I4d1bb66821b2984bbee12438cfd72b9b63d56605 --- libcutils/Android.bp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcutils/Android.bp b/libcutils/Android.bp index cf266dcd5..8ba7452ef 100644 --- a/libcutils/Android.bp +++ b/libcutils/Android.bp @@ -103,6 +103,9 @@ cc_library { "trace-dev.c", "uevent.c", ], + sanitize: { + misc_undefined: ["integer"], + }, }, android_arm: { @@ -153,9 +156,6 @@ cc_library { ], clang: true, - sanitize: { - misc_undefined: ["integer"], - }, } subdirs = ["tests"]