| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index 0b00e1a5917067276def9994cea289e5eff487ad..45e186c1860d3e773026d05a8e3021f47b3279b1 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -955,7 +955,12 @@ config("optimize_max") {
|
|
|
| config("symbols") {
|
| if (is_win) {
|
| - cflags = [ "/Zi" ] # Produce PDB file, no edit and continue.
|
| + import("//build/toolchain/goma.gni")
|
| + if (use_goma) {
|
| + cflags = [ "/Z7" ] # No PDB file
|
| + } else {
|
| + cflags = [ "/Zi" ] # Produce PDB file, no edit and continue.
|
| + }
|
| ldflags = [ "/DEBUG" ]
|
| } else {
|
| cflags = [ "-g2" ]
|
|
|