From 38c08d80c8bffc6e08a34e75fe4d761912935a30 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 11 Apr 2024 18:05:45 +0000 Subject: Revert "Disable BCJ filters." This reverts commit c5acbd0bdb3e407a1ce1a4857ac5e88032c9deb4. Reason for revert: http://b/333826436 Change-Id: I2958f235b8b2e44fd5445fe7c11defc979913541 --- Android.bp | 10 +++++----- 1 file 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", ], -- cgit v1.2.3