Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac075190 authored by Guang Zhu's avatar Guang Zhu
Browse files

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
parent 865b16c4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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)


+3 −1
Original line number Diff line number Diff line
@@ -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)