Commit 2ee83757 authored by Takuto Ikuta's avatar Takuto Ikuta Committed by Commit Bot

[autoninja] use custom status in non-windows too

This is non-windows version of
https://chromium.googlesource.com/chromium/tools/depot_tools/+/840a6d66ec4f8969f38207573230624f7b8a6a46

Change-Id: Iaddd3a153011f9c15cf065e7ef96e320d1737ab0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1632034
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: 's avatarDirk Pranke <dpranke@chromium.org>
Reviewed-by: 's avatarBruce Dawson <brucedawson@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
parent b97d193b
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
AUTONINJA_BUILD_ID="$(python -c "import uuid; print uuid.uuid4()")" AUTONINJA_BUILD_ID="$(python -c "import uuid; print uuid.uuid4()")"
export AUTONINJA_BUILD_ID export AUTONINJA_BUILD_ID
if [ "$NINJA_SUMMARIZE_BUILD" == "1" ]; then
export NINJA_STATUS="[%r processes, %f/%t @ %o/s : %es ] "
fi
# Execute whatever is printed by autoninja.py. # Execute whatever is printed by autoninja.py.
# Also print it to reassure that the right settings are being used. # Also print it to reassure that the right settings are being used.
command=$(python "$(dirname -- "$0")/autoninja.py" "$@") command=$(python "$(dirname -- "$0")/autoninja.py" "$@")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment