Index: build/toolchain/win/BUILD.gn |
diff --git a/build/toolchain/win/BUILD.gn b/build/toolchain/win/BUILD.gn |
index 7c359b8128194af20cd39b72079f930ef7f0c8bb..9a92643ab6e82d0abf9459070d05c9e2ed46aa5f 100644 |
--- a/build/toolchain/win/BUILD.gn |
+++ b/build/toolchain/win/BUILD.gn |
@@ -74,7 +74,7 @@ template("msvc_toolchain") { |
rspfile = "{{output}}.rsp" |
precompiled_header_type = "msvc" |
pdbname = "{{target_out_dir}}/{{label_name}}_c.pdb" |
- command = "ninja -t msvc -e $env -- $cl /nologo /showIncludes /FC @$rspfile /c {{source}} /Fo{{output}} /Fd$pdbname" |
+ command = "ninja -t msvc -e $env -- $cl /nologo /showIncludes /FC @$rspfile /c {{source}} /Fo{{output}} /Fd\"$pdbname\"" |
Dirk Pranke
2016/03/31 18:50:38
Don't you have this issue all over the place if ta
brettw
2016/03/31 23:08:48
I added a comment explaining the reason for this.
|
depsformat = "msvc" |
description = "CC {{output}}" |
outputs = [ |
@@ -89,7 +89,7 @@ template("msvc_toolchain") { |
# The PDB name needs to be different between C and C++ compiled files. |
pdbname = "{{target_out_dir}}/{{label_name}}_cc.pdb" |
- command = "ninja -t msvc -e $env -- $cl /nologo /showIncludes /FC @$rspfile /c {{source}} /Fo{{output}} /Fd$pdbname" |
+ command = "ninja -t msvc -e $env -- $cl /nologo /showIncludes /FC @$rspfile /c {{source}} /Fo{{output}} /Fd\"$pdbname\"" |
depsformat = "msvc" |
description = "CXX {{output}}" |
outputs = [ |