Merge "Remove unnecessary RBE sourcing in envsetup.sh" am: 8bd19a4143 am: 49433fefde am: 3a42b842ba am: 49fd1bb0b3 am: 2fb7d4ab03

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

Change-Id: I237f25a6ba0f0a32b42742b83164861d13862825
This commit is contained in:
Kousik Kumar 2021-11-09 21:39:54 +00:00 committed by Automerger Merge Worker
commit d086b0918a

View file

@ -1887,16 +1887,6 @@ function showcommands() {
fi
}
# Source necessary setup scripts needed to run the build with Remote Execution.
function source_rbe() {
local T=$(gettop)
if [[ "x$USE_RBE" != "x" && "$USE_RBE" != "false" ]]; then
. $T/build/make/rbesetup.sh --skip-envsetup
fi
}
validate_current_shell
source_vendorsetup
source_rbe
addcompletions