aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-11 22:14:09 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-11 22:14:09 +0000
commitd241875ca89f235b9543ed8fe26b97d9266d9ce0 (patch)
tree16b5670d65e58ea1055ffeb470c1dce551a2eda3
parentd1e49f926e13346fa5997fac1e438b1187a6a965 (diff)
parent38c08d80c8bffc6e08a34e75fe4d761912935a30 (diff)
downloadxz-embedded-d241875ca89f235b9543ed8fe26b97d9266d9ce0.tar.gz
Merge "Revert "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 5a5b755..d751b38 100644
--- a/Android.bp
+++ b/Android.bp
@@ -33,12 +33,12 @@ cc_library_static {
],
local_include_dirs: ["userspace"],
- // 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.
+ // Enable branch/call/jump filters. See http://b/27817327.
cflags: [
+ "-DXZ_DEC_X86",
+ "-DXZ_DEC_ARM",
+ "-DXZ_DEC_ARM64",
+ "-DXZ_DEC_ARMTHUMB",
"-Wall",
"-Werror",
],