summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorGuang Zhu <guangzhu@google.com>2010-03-16 19:08:54 -0700
committerGuang Zhu <guangzhu@google.com>2010-04-20 13:39:49 -0700
commitac075190b9a6f10c2f24c3e3d1de035aa0329fa4 (patch)
tree5467444e24a4302bebea40de6c64b83494dcdaf7 /Android.mk
parent865b16c4ba3d2a3dfe0ab2feb32e71894f218cbd (diff)
downloadframeworks_base-ac075190b9a6f10c2f24c3e3d1de035aa0329fa4.zip
frameworks_base-ac075190b9a6f10c2f24c3e3d1de035aa0329fa4.tar.gz
frameworks_base-ac075190b9a6f10c2f24c3e3d1de035aa0329fa4.tar.bz2
disable emma instrumentation for framework, ext and services
When these libraries are instrumented with emma instructions, runtime keeps restarting on native crashes. To acheive a fully emma instrumented build, we need to disable emma instrumentation on these libraries. Change-Id: I914b7b88cfc39eddbf273e653e603d4edfdf5837
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 8783934..f6aa1e9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -197,6 +197,9 @@ LOCAL_JAVA_LIBRARIES := core ext
LOCAL_MODULE := framework
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
+LOCAL_NO_EMMA_INSTRUMENT := true
+LOCAL_NO_EMMA_COMPILE := true
+
# List of classes and interfaces which should be loaded by the Zygote.
LOCAL_JAVA_RESOURCE_FILES += $(LOCAL_PATH)/preloaded-classes
@@ -583,6 +586,9 @@ LOCAL_JAVA_LIBRARIES := core
LOCAL_MODULE := ext
+LOCAL_NO_EMMA_INSTRUMENT := true
+LOCAL_NO_EMMA_COMPILE := true
+
include $(BUILD_JAVA_LIBRARY)