Merge "Add variable ANDROID_NO_TEST_CHECK to not build all test modules"
This commit is contained in:
commit
82f6383fa6
1 changed files with 2 additions and 0 deletions
|
@ -1008,11 +1008,13 @@ target-native-tests : native-target-tests
|
||||||
tests : host-tests target-tests
|
tests : host-tests target-tests
|
||||||
|
|
||||||
# To catch more build breakage, check build tests modules in eng and userdebug builds.
|
# 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 ($(TARGET_BUILD_PDK),true)
|
||||||
ifneq ($(filter eng userdebug,$(TARGET_BUILD_VARIANT)),)
|
ifneq ($(filter eng userdebug,$(TARGET_BUILD_VARIANT)),)
|
||||||
droidcore : target-tests host-tests
|
droidcore : target-tests host-tests
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: lintall
|
.PHONY: lintall
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue