diff options
author | Brian Carlstrom <bdc@google.com> | 2010-06-24 09:26:28 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2010-06-24 09:26:28 -0700 |
commit | f50f448eb3346a33f6b2277a48a4b4756116651e (patch) | |
tree | 0c718172326ed430be30ec416f83aba4b51b12e5 /Android.mk | |
parent | 3d95240c0ed429a5f086242dec803accf2b13c53 (diff) | |
download | libcore-f50f448eb3346a33f6b2277a48a4b4756116651e.zip libcore-f50f448eb3346a33f6b2277a48a4b4756116651e.tar.gz libcore-f50f448eb3346a33f6b2277a48a4b4756116651e.tar.bz2 |
Allow libcore test build to be skipped with environment variable LIBCORE_SKIP_TESTS
Change-Id: I108f731c55e2ccff6fbe201614a169f89431a720
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -34,3 +34,15 @@ include $(LOCAL_PATH)/NativeCode.mk # include $(LOCAL_PATH)/sqlite-jdbc/Android.mk + +# +# Disable test modules if LIBCORE_SKIP_TESTS envar is set +# + +ifneq ($(LIBCORE_SKIP_TESTS),) +$(info ********************************************************************************) +$(info * libcore tests are skipped because environment variable LIBCORE_SKIP_TESTS=$(LIBCORE_SKIP_TESTS)) +$(info ********************************************************************************) +ALL_MODULE_TAGS := $(filter-out tests,$(ALL_MODULE_TAGS)) +ALL_MODULES := $(filter-out $(ALL_MODULE_NAME_TAGS.tests),$(ALL_MODULES)) +endif |