Descriptionwin: Call clang-cl instead of clang-cl.exe when targeting win on a non-win host.
No behavior change, since non-win hosts targeting windows currently don't
exist. But if they did, there are three choices for how to invoke the compiler:
1. Call the compiler on the host clang-cl.exe instead of clang-cl. That's weird
because clang-cl is a host-native binary.
2. Don't append ".exe" to any program in build/toolchain/win/BUILD.gn -- it's
probably not needed on Windows. But if we end up running real Windows
binaries on non-Windows (e.g. midl.exe through wine), then those would
have a .exe extension on the non-Windows host.
3. Do what this CL does. This seems nicest.
BUG=495204
Committed: https://crrev.com/8391051c80fa58d3b4a9021f4185cbc71e69f32e
Cr-Commit-Position: refs/heads/master@{#369854}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|