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

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

Change-Id: I027f8a42d06a3fd35b23cf970f1145a4f8b5ef6c
This commit is contained in:
Kousik Kumar 2021-11-09 21:16:24 +00:00 committed by Automerger Merge Worker
commit 2fb7d4ab03

View file

@ -1883,16 +1883,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