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

Commit b0d5ade1 authored by Allen Hair's avatar Allen Hair Committed by android-build-merger
Browse files

Enable multi-dex for coverage builds to fix breakage

am: 77a51d12

Change-Id: Ife18d443d4c6a7ffcdb183cee3f7317efafbab38
parents 5887b6d7 77a51d12
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -47,6 +47,11 @@ LOCAL_JNI_SHARED_LIBRARIES := libservicestestsjni \

LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk

# Code coverage puts us over the dex limit, so enable multi-dex for coverage-enabled builds
ifeq (true,$(EMMA_INSTRUMENT))
LOCAL_JACK_FLAGS := --multi-dex native
endif # EMMA_INSTRUMENT_STATIC

include $(BUILD_PACKAGE)

#########################################################################