Chromium Code Reviews| Index: build/config/compiler/BUILD.gn |
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
| index b1afcca5f9230719bbdab5b4cae92e1f9ae6bcf9..08f86b9808f5cc3836b1b72b5b96bebc8c98fc22 100644 |
| --- a/build/config/compiler/BUILD.gn |
| +++ b/build/config/compiler/BUILD.gn |
| @@ -1266,7 +1266,7 @@ config("symbols") { |
| } else { |
| cflags = [ "/Zi" ] # Produce PDB file, no edit and continue. |
| } |
| - if (is_win_fastlink) { |
| + if (is_win_fastlink && visual_studio_version == "2015") { |
|
scottmg
2016/02/17 19:14:02
!= "2013" maybe?
brucedawson
2016/02/17 19:53:00
Yeah, I decided to make that change. Possibly more
|
| # Tell VS 2015+ to create a PDB that references debug |
| # information in .obj and .lib files instead of copying |
| # it all. This flag is incompatible with /PROFILE |
| @@ -1289,7 +1289,7 @@ config("minimal_symbols") { |
| if (is_win) { |
| # Linker symbols for backtraces only. |
| cflags = [] |
| - if (is_win_fastlink) { |
| + if (is_win_fastlink && visual_studio_version == "2015") { |
| # Tell VS 2015+ to create a PDB that references debug |
| # information in .obj and .lib files instead of copying |
| # it all. This flag is incompatible with /PROFILE |