forked from openkylin/platform_build
Merge "Don't build tests in normal builds"
This commit is contained in:
commit
4bf332a56b
|
@ -1078,15 +1078,6 @@ tests : host-tests target-tests
|
||||||
# Phony target to run all java compilations that use javac instead of jack.
|
# Phony target to run all java compilations that use javac instead of jack.
|
||||||
.PHONY: javac-check
|
.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)))
|
ifneq (,$(filter samplecode, $(MAKECMDGOALS)))
|
||||||
.PHONY: samplecode
|
.PHONY: samplecode
|
||||||
sample_MODULES := $(sort $(call get-tagged-modules,samples))
|
sample_MODULES := $(sort $(call get-tagged-modules,samples))
|
||||||
|
|
Loading…
Reference in New Issue