Merge "Enable SKIP_BOOT_JARS_CHECK by default when instrumenting" am: 5313503663
am: a659799786
am: c0715eb231
Change-Id: I5dd7a5d83dc085c7f2756b76ca409c99e9cca5f0
This commit is contained in:
12
core/main.mk
12
core/main.mk
@@ -99,11 +99,21 @@ clean-dex-files:
|
|||||||
# (must be defined before including definitions.make)
|
# (must be defined before including definitions.make)
|
||||||
INTERNAL_MODIFIER_TARGETS := all
|
INTERNAL_MODIFIER_TARGETS := all
|
||||||
|
|
||||||
# EMMA_INSTRUMENT_STATIC merges the static emma library to each emma-enabled module.
|
# EMMA_INSTRUMENT_STATIC merges the static jacoco library to each
|
||||||
|
# jacoco-enabled module.
|
||||||
ifeq (true,$(EMMA_INSTRUMENT_STATIC))
|
ifeq (true,$(EMMA_INSTRUMENT_STATIC))
|
||||||
EMMA_INSTRUMENT := true
|
EMMA_INSTRUMENT := true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq (true,$(EMMA_INSTRUMENT))
|
||||||
|
# Adding the jacoco library can cause the inclusion of
|
||||||
|
# some typically banned classes
|
||||||
|
# So if the user didn't specify SKIP_BOOT_JARS_CHECK, enable it here
|
||||||
|
ifndef SKIP_BOOT_JARS_CHECK
|
||||||
|
SKIP_BOOT_JARS_CHECK := true
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# Validate ADDITIONAL_DEFAULT_PROPERTIES.
|
# Validate ADDITIONAL_DEFAULT_PROPERTIES.
|
||||||
|
Reference in New Issue
Block a user