Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11dd7c70 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add a prompt to try out RBE for local builds" am: f72c0fac am:...

Merge "Add a prompt to try out RBE for local builds" am: f72c0fac am: 859caa8d am: ac007172 am: 33de4bbe

Original change: https://android-review.googlesource.com/c/platform/build/+/1806336

Change-Id: Ib2a6aacf8897ee78b422511ee58a08f6d309cbe6
parents 04066c20 33de4bbe
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1661,12 +1661,19 @@ function _wrap_build()
    if [ -n "$ncolors" ] && [ $ncolors -ge 8 ]; then
        color_failed=$'\E'"[0;31m"
        color_success=$'\E'"[0;32m"
        color_warning=$'\E'"[0;33m"
        color_reset=$'\E'"[00m"
    else
        color_failed=""
        color_success=""
        color_reset=""
    fi

    if [[ "x${USE_RBE}" == "x" && $mins -gt 15 && "${ANDROID_BUILD_ENVIRONMENT_CONFIG}" == "googler" ]]; then
        echo
        echo "${color_warning}Start using RBE (http://go/build-fast) to get faster builds!${color_reset}"
    fi

    echo
    if [ $ret -eq 0 ] ; then
        echo -n "${color_success}#### build completed successfully "