Enable multi-dex for dx
am: 6b13ebc7f1
Change-Id: I78486dd1d460673ae25c80994b474cf8a044b660
This commit is contained in:
@@ -29,6 +29,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
|
||||
LOCAL_JAVA_LIBRARIES := android.test.runner
|
||||
|
||||
LOCAL_JACK_FLAGS := --multi-dex native
|
||||
LOCAL_DX_FLAGS := --multi-dex
|
||||
|
||||
LOCAL_PACKAGE_NAME := FrameworksNotificationTests
|
||||
LOCAL_COMPATIBILITY_SUITE := device-tests
|
||||
@@ -52,9 +53,4 @@ LOCAL_JNI_SHARED_LIBRARIES := \
|
||||
|
||||
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