Merge "Store a copy of installed-files.txt in DIST_DIR if system.img failed to build" into lmp-dev

This commit is contained in:
Ying Wang 2014-08-19 21:27:43 +00:00 committed by Android (Google) Code Review
commit 9885ba95a4
1 changed files with 1 additions and 0 deletions

View File

@ -944,6 +944,7 @@ define build-systemimage-target
|| ( echo "Out of space? the tree size of $(TARGET_OUT) is (MB): " 1>&2 ;\
du -sm $(TARGET_OUT) 1>&2;\
echo "The max is $$(( $(BOARD_SYSTEMIMAGE_PARTITION_SIZE) / 1048576 )) MB." 1>&2 ;\
mkdir -p $(DIST_DIR); cp $(INSTALLED_FILES_FILE) $(DIST_DIR)/installed-files-rescued.txt; \
exit 1 )
endef