summaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2012-03-13 11:22:04 -0700
committerYing Wang <wangying@google.com>2012-03-13 11:22:04 -0700
commitc5f049799c8f41136fcbed723482fb3bdc8579e5 (patch)
tree59f63ba1fc6da52b9af130ca1769452ebc806243 /core/Makefile
parent70132982656108214fbfbd20bd90eaa21c2252d7 (diff)
downloadbuild-c5f049799c8f41136fcbed723482fb3bdc8579e5.zip
build-c5f049799c8f41136fcbed723482fb3bdc8579e5.tar.gz
build-c5f049799c8f41136fcbed723482fb3bdc8579e5.tar.bz2
Remove system partition files from the test zip file.
Bug: 6157562 Change-Id: I581c6db7d47b42617f8ef6097ccd0aae52c7e1b4
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/core/Makefile b/core/Makefile
index ce22fc9..4b8b5d8 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1206,7 +1206,7 @@ endif # TARGET_PRODUCT != sdk
# -----------------------------------------------------------------
# A zip of the tests that are built when running "make tests".
# This is very similar to BUILT_TARGET_FILES_PACKAGE, but we
-# only grab SYSTEM and DATA, and it's called "*-tests-*.zip".
+# only grab DATA, and it's called "*-tests-*.zip".
#
name := $(TARGET_PRODUCT)
ifeq ($(TARGET_BUILD_TYPE),debug)
@@ -1222,21 +1222,11 @@ $(BUILT_TESTS_ZIP_PACKAGE): zip_root := $(intermediates)/$(name)
# Depending on the images guarantees that the underlying
# directories are up-to-date.
$(BUILT_TESTS_ZIP_PACKAGE): \
- $(BUILT_SYSTEMIMAGE) \
$(INSTALLED_USERDATAIMAGE_TARGET) \
| $(ACP)
@echo "Package test files: $@"
$(hide) rm -rf $@ $(zip_root)
$(hide) mkdir -p $(dir $@) $(zip_root)
- @# Some parts of the system image
- $(hide) $(call package_files-copy-root, \
- $(SYSTEMIMAGE_SOURCE_DIR)/xbin,$(zip_root)/SYSTEM/xbin)
- $(hide) $(call package_files-copy-root, \
- $(SYSTEMIMAGE_SOURCE_DIR)/lib,$(zip_root)/SYSTEM/lib)
- $(hide) $(call package_files-copy-root, \
- $(SYSTEMIMAGE_SOURCE_DIR)/framework, \
- $(zip_root)/SYSTEM/framework)
- $(hide) $(ACP) $(SYSTEMIMAGE_SOURCE_DIR)/build.prop $(zip_root)/SYSTEM
@# Contents of the data image
$(hide) $(call package_files-copy-root, \
$(TARGET_OUT_DATA),$(zip_root)/DATA)