aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-08 21:23:15 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-08 21:23:15 +0000
commitd1e49f926e13346fa5997fac1e438b1187a6a965 (patch)
treef5cbf70a07b11d0fe1ee26a2309f95edee17990a
parent6adad0b98b13de2b3267eeb37e12365e0f10c7b3 (diff)
parentc5acbd0bdb3e407a1ce1a4857ac5e88032c9deb4 (diff)
downloadxz-embedded-d1e49f926e13346fa5997fac1e438b1187a6a965.tar.gz
Merge "Disable BCJ filters." into main
-rw-r--r--Android.bp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index d751b38..5a5b755 100644
--- a/Android.bp
+++ b/Android.bp
@@ -33,12 +33,12 @@ cc_library_static {
],
local_include_dirs: ["userspace"],
- // Enable branch/call/jump filters. See http://b/27817327.
+ // We don't enable branch/call/jump filters because they have no impact on
+ // Android OTA sizes (measured in http://b/329112384). The frequent
+ // function calls this is supposed to optimize will all go via the PLT, so
+ // the actual branch/call/jump instructions in the ELF file will be zeroed
+ // out anyway.
cflags: [
- "-DXZ_DEC_X86",
- "-DXZ_DEC_ARM",
- "-DXZ_DEC_ARM64",
- "-DXZ_DEC_ARMTHUMB",
"-Wall",
"-Werror",
],