Fix tests build.

Use the conditional only after the tests build variant is phased out.

Change-Id: Ide691700dda4bbf56c6f81f923d1b8c5eb196b85
This commit is contained in:
Ying Wang 2012-03-13 19:49:59 -07:00
parent 30e8093f5f
commit bf69aa32c9
1 changed files with 0 additions and 2 deletions

View File

@ -1224,7 +1224,6 @@ endif # TARGET_PRODUCT != sdk
# This is very similar to BUILT_TARGET_FILES_PACKAGE, but we
# only grab DATA, and it's called "*-tests-*.zip".
#
ifdef is_tests_build
name := $(TARGET_PRODUCT)
ifeq ($(TARGET_BUILD_TYPE),debug)
name := $(name)_debug
@ -1268,7 +1267,6 @@ tests: $(BUILT_TESTS_ZIP_PACKAGE)
ifneq (,$(filter tests, $(MAKECMDGOALS)))
$(call dist-for-goals, tests, $(BUILT_TESTS_ZIP_PACKAGE))
endif
endif # is_tests_build
# -----------------------------------------------------------------
# A zip of the symbols directory. Keep the full paths to make it