From a694cdbedc221d57a7cc2c8a8953b14c17a9e267 Mon Sep 17 00:00:00 2001 From: Zac McKenney Date: Mon, 27 Nov 2023 15:34:43 -0800 Subject: [PATCH] Bug 1865634 - Use legacy packaging for native code on AAB (cherry picked from commit e29acdb26ca6263416fe379cabdb67eb5b2794e6) --- app/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 71d4366b7..db786e75e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -215,6 +215,15 @@ android { } bundle { + // Profiler issues require us to temporarily package native code compressed to + // match the previous APK packaging. + // https://bugzilla.mozilla.org/show_bug.cgi?id=1865634 + packagingOptions { + jniLibs { + it.useLegacyPackaging = true + } + } + language { // Because we have runtime language selection we will keep all strings and languages // in the base APKs.