Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 0a32c0abbc526c4464f2d2922b1f48897eb863e7..a60cd7f733afc5d460e0cae85f743ad0ed195f99 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1789,6 +1789,16 @@ |
} |
} |
}], |
+ ['"<(GENERATOR)"=="msvs"', { |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ # Make the pdb name sane. Otherwise foo.exe and foo.dll both |
+ # have foo.pdb. The ninja generator already defaults to this and |
+ # can't handle the $(TargetPath) macro. |
+ 'ProgramDatabaseFile': '$(TargetPath).pdb', |
+ } |
+ }, |
+ }], |
], # win_z7!=0 |
}], # OS==win |
['enable_task_manager==1', { |