Merge "Don't build tests in normal builds"

am: 4bf332a56b

Change-Id: I0e071f8c73482395565ff68e15d828eeb0060093
This commit is contained in:
Colin Cross 2017-02-13 22:43:06 +00:00 committed by android-build-merger
commit d364511ce7
1 changed files with 0 additions and 9 deletions

View File

@ -1078,15 +1078,6 @@ tests : host-tests target-tests
# Phony target to run all java compilations that use javac instead of jack.
.PHONY: javac-check
# To catch more build breakage, check build tests modules in eng and userdebug builds.
ifneq ($(ANDROID_NO_TEST_CHECK),true)
ifneq ($(TARGET_BUILD_PDK),true)
ifneq ($(filter eng userdebug,$(TARGET_BUILD_VARIANT)),)
droidcore : target-tests host-tests
endif
endif
endif
ifneq (,$(filter samplecode, $(MAKECMDGOALS)))
.PHONY: samplecode
sample_MODULES := $(sort $(call get-tagged-modules,samples))