Disable compilation symbols on goma builds
Goma builds necessarily don't use PDBs. That means that symbols have to be put in .obj files. This means that symbols get stored redundantly, which makes the job of the linker much harder - greatly increased linker working sets and greatly increased link times. gyp deals with this by disabling symbol generation in the compile stage for goma builds. gn has not been doing this, which has made gn goma builds *significantly* slower, unless symbol_level is explicitly set to 1. gyp has an override switch (win_z7) but it appears that nobody uses it so for now I am leaving it unimplemented in gn. BUG=630074 Review-Url: https://codereview.chromium.org/2174873002 Cr-Commit-Position: refs/heads/master@{#407251}
Showing
Please register or sign in to comment