summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Allen Hair <allenhair@google.com> 2016-06-27 17:01:50 -0700
committer Allen Hair <allenhair@google.com> 2016-06-27 17:20:24 -0700
commit0e4f014c206d549888d899d60c052f5cbbdd83eb (patch)
tree3365a9632ffe8ab4a967fd59d559123c8ff76ff3
parentec3f8409b84e555f21290372de911ff704406e72 (diff)
Add a flag to enable instrumentation of the framework classes.
Bug: 29777843 Change-Id: I0f3639ad1303a9b2cc612f99cde427dedff4874f
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index c2d398794fa1..dec667e9b71c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -495,6 +495,10 @@ LOCAL_JACK_FLAGS := --multi-dex native
LOCAL_RMTYPEDEFS := true
+ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
+LOCAL_EMMA_INSTRUMENT := true
+endif
+
include $(BUILD_JAVA_LIBRARY)
framework_module := $(LOCAL_INSTALLED_MODULE)