Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0890b93 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Specify speed compiler filter for image

To get better performance, specify speed compiler filter. This will
enable system server to run with a compiled boot image

Bug: 73313191
Test: make and flash sailfish
Change-Id: Ic41870c53620b9ae4cc48fc560740f8c7e09e5b2
parent 053a04f6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -23,6 +23,9 @@ PRODUCT_DEX_PREOPT_BOOT_IMAGE_PROFILE_LOCATION := build/target/product/empty-pro
PRODUCT_DEX_PREOPT_BOOT_FLAGS := --count-hotness-in-compiled-code
DEX_PREOPT_DEFAULT := nostripping

# Disable uncompressing priv apps so that there is enough space to build the system partition.
DONT_UNCOMPRESS_PRIV_APPS_DEXS := true

# Use an empty preloaded-classes list.
PRODUCT_COPY_FILES += \
    build/target/product/empty-preloaded-classes:system/etc/preloaded-classes
@@ -36,3 +39,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
    dalvik.vm.extra-opts=-Xps-profile-boot-class-path \
    dalvik.vm.profilesystemserver=true \
    dalvik.vm.profilebootimage=true

# Use speed compiler filter since system server doesn't have JIT.
PRODUCT_DEX_PREOPT_BOOT_FLAGS += --compiler-filter=speed