From 06a839fc77aa762aac6accc3d8ecc718ff05ecf3 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 18 Oct 2022 16:31:04 +0000 Subject: [PATCH] Remove an obsolete workaround. Bug: http://b/29412086 Test: treehugger Change-Id: I3a61db8da234b4c150816af264d796da7dfe0af6 --- libcutils/Android.bp | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) 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.