aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2024-04-11 18:05:45 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-11 18:05:45 +0000
commit38c08d80c8bffc6e08a34e75fe4d761912935a30 (patch)
tree0390024e3df46ff0c1d710077100e2e1a8de801d
parentc5acbd0bdb3e407a1ce1a4857ac5e88032c9deb4 (diff)
downloadxz-embedded-38c08d80c8bffc6e08a34e75fe4d761912935a30.tar.gz
Revert "Disable BCJ filters."
This reverts commit c5acbd0bdb3e407a1ce1a4857ac5e88032c9deb4. Reason for revert: http://b/333826436 Change-Id: I2958f235b8b2e44fd5445fe7c11defc979913541
-rw-r--r--Android.bp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index bc04048..f9f46a9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -29,12 +29,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",
],