Fix MSVC build.

Use $shell prefix invoking python for cp.py.

Change-Id: Ic4b40337255a91fe6f9729eb58ecb6d47c559001
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/306334
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
Stephen White 2020-07-28 17:19:03 -04:00 committed by Skia Commit-Bot
parent cd04356804
commit 5e454f8359

View File

@ -201,7 +201,7 @@ toolchain("msvc") {
tool("copy") {
cp_py = rebase_path("../cp.py")
command = "python \"$cp_py\" {{source}} {{output}}"
command = "$shell python \"$cp_py\" {{source}} {{output}}"
description = "copy {{source}} {{output}}"
}
}