Enable multi-dex for coverage builds to fix breakage
am: 77a51d1274
Change-Id: Ife18d443d4c6a7ffcdb183cee3f7317efafbab38
This commit is contained in:
@@ -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)
|
||||
|
||||
#########################################################################
|
||||
|
||||
Reference in New Issue
Block a user