Merge "Remove macOS-specific workaround."

am: e5be747906

Change-Id: I8a07a2e852b9003de35997cd5d3a7bb340a079db
This commit is contained in:
Elliott Hughes
2019-09-06 12:58:01 -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