diff --git a/libcutils/Android.bp b/libcutils/Android.bp index 753edf768..b135e57bc 100644 --- a/libcutils/Android.bp +++ b/libcutils/Android.bp @@ -193,6 +193,9 @@ cc_library { ], }, android: { + sanitize: { + misc_undefined: ["integer"], + }, static_libs: [ "libasync_safe", ], @@ -209,37 +212,6 @@ cc_library { ], }, - android_arm: { - sanitize: { - misc_undefined: ["integer"], - }, - }, - android_arm64: { - sanitize: { - misc_undefined: ["integer"], - }, - }, - android_riscv64: { - sanitize: { - misc_undefined: ["integer"], - }, - }, - - android_x86: { - // TODO: This is to work around b/29412086. - // Remove once __mulodi4 is available and move the "sanitize" block - // to the android target. - sanitize: { - misc_undefined: [], - }, - }, - - android_x86_64: { - sanitize: { - misc_undefined: ["integer"], - }, - }, - // qtaguid.cpp loads libnetd_client.so with dlopen(). Since // the interface of libnetd_client.so may vary between AOSP // releases, exclude qtaguid.cpp from the VNDK-SP variant.