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

Commit e5eb2c42 authored by Kousik Kumar's avatar Kousik Kumar Committed by Automerger Merge Worker
Browse files

Add google_prod_creds to the list of auth mechanisms am: f7574b54 am:...

Add google_prod_creds to the list of auth mechanisms am: f7574b54 am: f6c29aa6 am: 6e9b4d65 am: 2fefa570

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/18890432



Change-Id: I63bc86b2b4309fd8744b1f5963a5eac96d909178
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 92446e3f 2fefa570
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -1008,7 +1008,12 @@ func (c *configImpl) rbeReproxy() string {
}

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 {