mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
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:
4
siso.py
4
siso.py
@@ -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 '
|
||||
|
||||
Reference in New Issue
Block a user