diff options
author | Guang Zhu <guangzhu@google.com> | 2010-03-16 19:08:54 -0700 |
---|---|---|
committer | Guang Zhu <guangzhu@google.com> | 2010-05-18 16:02:28 -0700 |
commit | 864feb8dfac48092fd627a3b77ff2c3bf9000357 (patch) | |
tree | fb3f7e6df4a59f3a42c726b88830ef748558621a | |
parent | 4ec730cabb68ee8347c6aa5dc929b09651275aca (diff) | |
download | frameworks_base-864feb8dfac48092fd627a3b77ff2c3bf9000357.zip frameworks_base-864feb8dfac48092fd627a3b77ff2c3bf9000357.tar.gz frameworks_base-864feb8dfac48092fd627a3b77ff2c3bf9000357.tar.bz2 |
disable emma instrumentation for framework, ext and services (DO NOT MERGE)
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: I51cb3bf71e0e348264fe5f21a27085fb2b9e6670
-rw-r--r-- | Android.mk | 6 | ||||
-rw-r--r-- | services/java/Android.mk | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -198,6 +198,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 @@ -596,6 +599,9 @@ LOCAL_JAVA_LIBRARIES := core LOCAL_MODULE := ext +LOCAL_NO_EMMA_INSTRUMENT := true +LOCAL_NO_EMMA_COMPILE := true + include $(BUILD_JAVA_LIBRARY) diff --git a/services/java/Android.mk b/services/java/Android.mk index 934712c..c756d29 100644 --- a/services/java/Android.mk +++ b/services/java/Android.mk @@ -13,7 +13,9 @@ LOCAL_MODULE:= services LOCAL_JAVA_LIBRARIES := android.policy +LOCAL_NO_EMMA_INSTRUMENT := true +LOCAL_NO_EMMA_COMPILE := true + include $(BUILD_JAVA_LIBRARY) include $(BUILD_DROIDDOC) - |