Merge "Remove macOS-specific workaround." am: e5be747906 am: 6f92a637bd

am: 04eb0f1801

Change-Id: I3c8b3592074d76fdfd6ca08d62c4796547711691
This commit is contained in:
Elliott Hughes
2019-09-06 14:26:58 -07:00
committed by android-build-merger

View File

@@ -420,11 +420,7 @@ while [[ -n "$1" ]]; do
# Generate archive info
#echo "## Add $TYPE/$OS archive $SRC"
if [[ $( uname ) == "Darwin" ]]; then
SIZE=$( stat -f %z "$SRC" )
else
SIZE=$( stat -c %s "$SRC" )
fi
SIZE=$( stat -c %s "$SRC" )
SHA1=$( sha1sum "$SRC" | cut -d " " -f 1 )
if uses_new_host_os ; then