-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: allow quoted batch file with standalone toolchain
It will allow the batch files to be executed using quotes and found using the PATH: "clang" "clang.cmd" "clang".cmd "<triple>-clang" Regarding the local/temp variable: * I'm hoping the _ prefix makes the variable unique. * setlocal ensures that the batch file won't affect the caller's environment. * `set "_BIN_DIR="` prevents the variable from being inherited in the clang subprocess. The quotes are necessary because `set _BIN_DIR= && ...` would set _BIN_DIR to a single space. Bug: android/ndk#616 Test: manual Test: python.exe run_tests.py --rebuild ... Change-Id: Iff37183de269931b96a6a8842578dd50d366ae31
- Loading branch information
Showing
1 changed file
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters