siso: fix GOOGLE_API_USE_CLIENT_CERTIFICATE

GOOGLE_API_USE_CLIENT_CERTIFICATE=false was not passed
to siso process.

Change-Id: I44e1d63c7fbf8184822d9d888495b4818b511eac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7171141
Auto-Submit: Fumitoshi Ukai <ukai@google.com>
Commit-Queue: Alex Ovsienko <ovsienko@google.com>
Reviewed-by: Alex Ovsienko <ovsienko@google.com>
This commit is contained in:
Fumitoshi Ukai
2025-11-18 23:49:18 -08:00
committed by LUCI CQ
parent 5ba2fb94f5
commit a40c63a40b
2 changed files with 3 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ def apply_telemetry_flags(args: list[str], env: dict[str, str]) -> list[str]:
# Despite go.dev/issue/68312 being fixed, the issue is still reproducible
# for googlers. Due to this, the flag is still applied while the
# issue is being investigated.
os.environ.setdefault("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false")
env.setdefault("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false")
flags_to_add = []
for flag in telemetry_flags:
found = False
@@ -318,7 +318,7 @@ def main(args, telemetry_cfg: Optional[build_telemetry.Config] = None):
file=sys.stderr)
return 1
if siso_override_path:
return caffeinate.run([siso_override_path] + args[1:])
return caffeinate.run([siso_override_path] + args[1:], env=env)
print(
'depot_tools/siso.py: Could not find .sisoenv under build/config/siso '