Don't build userdata.img in tests build.

Bug: 6035501

Change-Id: Ie1a0804f7fcc54383f2d8b97ac4583000e67cec5
This commit is contained in:
Ying Wang 2012-06-11 16:43:40 -07:00
parent 9802bd617b
commit 6466147220
1 changed files with 4 additions and 3 deletions

View File

@ -1215,10 +1215,11 @@ BUILT_TESTS_ZIP_PACKAGE := $(intermediates)/$(name).zip
$(BUILT_TESTS_ZIP_PACKAGE): intermediates := $(intermediates)
$(BUILT_TESTS_ZIP_PACKAGE): zip_root := $(intermediates)/$(name)
# Depending on the images guarantees that the underlying
# directories are up-to-date.
# Depending on the image dependency files, instead of the image files itself,
# guarantees that the underlying directories are up-to-date,
# but don't really build the image.
$(BUILT_TESTS_ZIP_PACKAGE): \
$(INSTALLED_USERDATAIMAGE_TARGET) \
$(INTERNAL_USERDATAIMAGE_FILES) \
| $(ACP)
@echo "Package test files: $@"
$(hide) rm -rf $@ $(zip_root)