summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-09-09 18:05:16 -0700
committerXavier Ducrohet <xav@android.com>2009-09-09 18:05:16 -0700
commit435193132b0d5ab6c40bb85b04e11da43aeb1a4e (patch)
treead669af4c82ad888f88600af2d56edb4304de6ce
parentf59582c075560b273cd488dc06eaa3d8b13fc7f7 (diff)
downloademma-435193132b0d5ab6c40bb85b04e11da43aeb1a4e.tar.gz
Make a library version of the custom emma library.
This library is to be packaged with the SDK so that test project can embedd it to add coverage support to their test. Change-Id: Ib424500c46c03b0854598fa16be8d0c7ae0b1ccb
-rw-r--r--Android.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 102f435..a553921 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,6 +1,10 @@
# Copyright 2008 The Android Open Source Project
LOCAL_PATH := $(my-dir)
+
+
+# the custom dex'ed emma library ready to put on a device.
+# ============================================================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-java-files-under, core)
@@ -14,3 +18,17 @@ LOCAL_JAVA_RESOURCE_DIRS := core/res
LOCAL_NO_EMMA_INSTRUMENT := true
include $(BUILD_JAVA_LIBRARY)
+
+
+
+# the custom emma library to add to an SDK project.
+# ============================================================
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(call all-java-files-under, core)
+
+LOCAL_MODULE := emmalib
+
+LOCAL_JAVA_RESOURCE_DIRS := core/res
+
+include $(BUILD_HOST_JAVA_LIBRARY)