Merge "Move jacocoagent into the bootclasspath" am: 68dad73d34
am: a6af8ef91f
am: e9a7688567
Change-Id: I8941916da85a2c221c5ac7d6bb5217bd9b79baef
This commit is contained in:
13
core/java.mk
13
core/java.mk
@@ -18,6 +18,19 @@ endif #PDK
|
||||
LOCAL_NO_STANDARD_LIBRARIES:=$(strip $(LOCAL_NO_STANDARD_LIBRARIES))
|
||||
LOCAL_SDK_VERSION:=$(strip $(LOCAL_SDK_VERSION))
|
||||
|
||||
ifneq ($(LOCAL_MODULE),jacocoagent)
|
||||
ifneq ($(LOCAL_NO_STANDARD_LIBRARIES),true)
|
||||
ifeq ($(EMMA_INSTRUMENT),true)
|
||||
ifneq ($(EMMA_INSTRUMENT_STATIC),true)
|
||||
# For instrumented build, if Jacoco is not being included statically
|
||||
# in instrumented packages then include Jacoco classes into the
|
||||
# bootclasspath.
|
||||
LOCAL_JAVA_LIBRARIES := jacocoagent $(LOCAL_JAVA_LIBRARIES)
|
||||
endif # EMMA_INSTRUMENT_STATIC
|
||||
endif # EMMA_INSTRUMENT
|
||||
endif # !LOCAL_NO_STANDARD_LIBRARIES
|
||||
endif # LOCAL_MODULE == jacocoagent
|
||||
|
||||
ifneq ($(LOCAL_SDK_VERSION),)
|
||||
ifeq ($(LOCAL_NO_STANDARD_LIBRARIES),true)
|
||||
$(error $(LOCAL_PATH): Must not define both LOCAL_NO_STANDARD_LIBRARIES and LOCAL_SDK_VERSION)
|
||||
|
Reference in New Issue
Block a user