Add google_prod_creds to the list of auth mechanisms am: f7574b5484 am: f6c29aa6c9 am: 6e9b4d65d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/18890432
Change-Id: I8111a5e6e49fff5b4b25dbaab8722c065702d597
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/ui/build/config.go b/ui/build/config.go
index 7f28d3a..6b8b805 100644
--- a/ui/build/config.go
+++ b/ui/build/config.go
@@ -902,7 +902,12 @@
}
func (c *configImpl) rbeAuth() (string, string) {
- credFlags := []string{"use_application_default_credentials", "use_gce_credentials", "credential_file"}
+ credFlags := []string{
+ "use_application_default_credentials",
+ "use_gce_credentials",
+ "credential_file",
+ "use_google_prod_creds",
+ }
for _, cf := range credFlags {
for _, f := range []string{"RBE_" + cf, "FLAG_" + cf} {
if v, ok := c.environ.Get(f); ok {