Commit 41ed8341 authored by Robert Iannucci's avatar Robert Iannucci Committed by LUCI CQ

[windows_sdk] Fix json finder arguments.

R=bryner

Bug: 1250098
Recipe-Nontrivial-Roll: build
Recipe-Nontrivial-Roll: build_limited
Recipe-Nontrivial-Roll: infra
Change-Id: If19660a8ae9f1c3f4946b9367e150d2bf9b097a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3288863Reviewed-by: 's avatarBrian Ryner <bryner@google.com>
Commit-Queue: Brian Ryner <bryner@google.com>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
Auto-Submit: Robbie Iannucci <iannucci@chromium.org>
parent 99c78e11
......@@ -104,9 +104,13 @@ class WindowsSDKApi(recipe_api.RecipeApi):
data = self.m.step('read SetEnv json', [
'python3',
self.resource('find_env_json.py'), '--sdk_root', sdk_dir,
'--target_arch', target_arch,
self.m.json.output()
self.resource('find_env_json.py'),
'--sdk_root',
sdk_dir,
'--target_arch',
target_arch,
'--output_json',
self.m.json.output(),
],
step_test_data=lambda: self.m.json.test_api.output({
'env': {
......
......@@ -36,6 +36,7 @@
"[CACHE]\\windows_sdk",
"--target_arch",
"x64",
"--output_json",
"/path/to/tmp/json"
],
"name": "read SetEnv json",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment