diff options
author | Ying Wang <wangying@google.com> | 2011-11-17 14:51:12 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2012-10-01 10:18:40 -0700 |
commit | d0244b395a583804137cd1fe2bff4f86d66b396b (patch) | |
tree | 0040c35897c8c2ba8522c2601e66aabeb78f7d52 /core/envsetup.mk | |
parent | 72ce769beae22c012d92240d5e18afe7f7cffee4 (diff) | |
download | build-d0244b395a583804137cd1fe2bff4f86d66b396b.zip build-d0244b395a583804137cd1fe2bff4f86d66b396b.tar.gz build-d0244b395a583804137cd1fe2bff4f86d66b396b.tar.bz2 |
Remove build variant "tests"
Bug: 5368571
Now we have a phony target "tests" instead.
The target can be built in any other build variant (eg userdebug).
For example, "make PRODUCT-full-userdebug tests dist" will build and
put the *-test-* zip file in the dist dir.
The "tests" target will include all modules tagged as "tests" in
addition to other modules in specific target out directories.
Change-Id: I8383097380d8e6846c3e2107d6dd5f68788cfc39
Diffstat (limited to 'core/envsetup.mk')
-rw-r--r-- | core/envsetup.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/envsetup.mk b/core/envsetup.mk index 2ad6801..7ede47d 100644 --- a/core/envsetup.mk +++ b/core/envsetup.mk @@ -114,10 +114,10 @@ TARGET_COPY_OUT_RECOVERY := recovery # variables that we need in order to locate the output files. include $(BUILD_SYSTEM)/product_config.mk -build_variant := $(filter-out user userdebug eng tests,$(TARGET_BUILD_VARIANT)) +build_variant := $(filter-out eng user userdebug,$(TARGET_BUILD_VARIANT)) ifneq ($(build_variant)-$(words $(TARGET_BUILD_VARIANT)),-1) $(warning bad TARGET_BUILD_VARIANT: $(TARGET_BUILD_VARIANT)) -$(error must be empty or one of: user userdebug eng tests) +$(error must be empty or one of: eng user userdebug) endif # --------------------------------------------------------------- |