From 96aa535b782f31df0f063213c2958acba32a808d Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Tue, 19 Jun 2018 10:34:32 -0400 Subject: Remove .bat and .exe from commands where possible. We expect .BAT and .EXE to be on PATHEXT. Also, although Python CreateProcess doesn't honor PATHEXT, it will try .EXE. This allows most commands to be platform-independent, and also resolves the issue with the cpython package not including python.bat. No-Tree-Checks: true Docs-Preview: https://skia.org/?cl=135626 Bug: chromium:852581 Change-Id: Iab4189407df44ff4ad4d37da07ff52414229d397 Reviewed-on: https://skia-review.googlesource.com/135626 Commit-Queue: Ben Wagner Auto-Submit: Ben Wagner Reviewed-by: Eric Boren Reviewed-by: Mike Klein --- site/user/build.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'site') diff --git a/site/user/build.md b/site/user/build.md index 899a11b581..eaf0f68b1c 100644 --- a/site/user/build.md +++ b/site/user/build.md @@ -263,6 +263,8 @@ You can then pass the VC and SDK paths to GN by setting your GN args: This toolchain is the only way we support 32-bit builds, by also setting `target_cpu="x86"`. There is also a corresponding 2015 toolchain, downloaded via `infra/bots/assets/win_toolchain_2015`. +The Skia build assumes that the PATHEXT environment variable contains ".EXE". + ### Visual Studio Solutions If you use Visual Studio, you may want to pass `--ide=vs` to `bin/gn gen` to -- cgit v1.2.3