summaryrefslogtreecommitdiffstats
path: root/JavaLibrary.mk
diff options
context:
space:
mode:
Diffstat (limited to 'JavaLibrary.mk')
-rw-r--r--JavaLibrary.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/JavaLibrary.mk b/JavaLibrary.mk
index a51f233..391f29e 100644
--- a/JavaLibrary.mk
+++ b/JavaLibrary.mk
@@ -67,8 +67,8 @@ LOCAL_SRC_FILES := $(core_src_files)
LOCAL_JAVA_RESOURCE_DIRS := $(core_resource_dirs)
ifeq ($(EMMA_INSTRUMENT),true)
-LOCAL_SRC_FILES += $(call all-java-files-under, ../../external/emma/core ../../external/emma/pregenerated)
-LOCAL_JAVA_RESOURCE_DIRS += ../../external/emma/core/res ../../external/emma/pregenerated/res
+LOCAL_SRC_FILES += $(call all-java-files-under, ../external/emma/core ../external/emma/pregenerated)
+LOCAL_JAVA_RESOURCE_DIRS += ../external/emma/core/res ../external/emma/pregenerated/res
endif
LOCAL_NO_STANDARD_LIBRARIES := true
@@ -161,6 +161,10 @@ LOCAL_JAVA_LIBRARIES := \
LOCAL_DX_FLAGS := --core-library
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE := core-tests
+
+LOCAL_NO_EMMA_INSTRUMENT := true
+LOCAL_NO_EMMA_COMPILE := true
+
include $(BUILD_JAVA_LIBRARY)
include $(CLEAR_VARS)