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"]