Merge "Do not archive the logs directory" am: 11c7f85510 am: 27f08495d5

am: 29243a834c

Change-Id: Ia532de7ae1e228f168be3ec0109421d900f4b837
This commit is contained in:
Michael Schwartz
2017-12-01 03:57:10 +00:00
committed by android-build-merger

View File

@@ -110,7 +110,7 @@ if [ -n "$DIST_DIR" ]; then
mkdir -p "$DIST_DIR" || true
fi
# Archive all the device artifacts.
cp -R "$DEVICE_DIR"/* "$DIST_DIR"
rsync -av --exclude='logs' "$DEVICE_DIR"/* "$DIST_DIR"
# Overwrite the image archive with the Mixed Build archive.
OUT_ARCHIVE="$DIST_DIR"/"$(basename $DEVICE_ARCHIVE)"
cp "$DEVICE_IMAGES_DIR"/mixed.zip "$OUT_ARCHIVE"