From c6743b43e07300e0caf5112f2f846a2b24b80aa2 Mon Sep 17 00:00:00 2001 From: Tony Mak Date: Thu, 25 May 2023 08:32:13 +0000 Subject: Set compile_multilib to be "both" BUG: 274028926 Change-Id: I4b2815541704c618d9e732fc3f36d2f3529208fc --- native/Android.bp | 11 +++++++++-- native/AndroidTest.xml | 5 +++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/native/Android.bp b/native/Android.bp index ae7f5c8..efea632 100644 --- a/native/Android.bp +++ b/native/Android.bp @@ -278,8 +278,15 @@ cc_test { "libtextclassifier_fbgen_utils_lua_utils_tests", ], - compile_multilib: "prefer32", - + compile_multilib: "both", + multilib: { + lib32: { + suffix: "32", + }, + lib64: { + suffix: "64", + }, + }, // A workaround for code coverage. See b/166040889#comment23 sdk_variant_only: true, } diff --git a/native/AndroidTest.xml b/native/AndroidTest.xml index 11893f5..15ce73e 100644 --- a/native/AndroidTest.xml +++ b/native/AndroidTest.xml @@ -21,6 +21,11 @@ + + +