aboutsummaryrefslogtreecommitdiffstats
path: root/android/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/config.go')
-rw-r--r--android/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go
index 1cb543db..88bc61ae 100644
--- a/android/config.go
+++ b/android/config.go
@@ -827,6 +827,10 @@ func (c *config) UseRBE() bool {
return Bool(c.productVariables.UseRBE)
}
+func (c *config) UseRemoteBuild() bool {
+ return c.UseGoma() || c.UseRBE()
+}
+
func (c *config) RunErrorProne() bool {
return c.IsEnvTrue("RUN_ERROR_PRONE")
}