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

Commit b54a3d08 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Don't use RBE for bp2build/queryview/api_bp2build/json_module_graph,...

Merge "Don't use RBE for bp2build/queryview/api_bp2build/json_module_graph, even with USE_RBE=true."
parents 3799533b d7ccde11
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -1375,6 +1375,11 @@ func (c *configImpl) StartGoma() bool {
}
}


func (c *configImpl) UseRBE() bool {
func (c *configImpl) UseRBE() bool {
	// These alternate modes of running Soong do not use RBE / reclient.
	if c.Bp2Build() || c.Queryview() || c.ApiBp2build() || c.JsonModuleGraph() {
		return false
	}

	authType, _ := c.rbeAuth()
	authType, _ := c.rbeAuth()
	// Do not use RBE with prod credentials in scenarios when stubby doesn't exist, since
	// Do not use RBE with prod credentials in scenarios when stubby doesn't exist, since
	// its unlikely that we will be able to obtain necessary creds without stubby.
	// its unlikely that we will be able to obtain necessary creds without stubby.