Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 2948363004: Fix remove_webcore_debug_symbols to avoid constant building (Closed)

Created:
3 years, 6 months ago by brucedawson
Modified:
3 years, 5 months ago
Reviewers:
Dirk Pranke, hashimoto
CC:
chromium-reviews, blink-reviews, haraken, kinuko+watch, platform-architecture-syd+reviews-web_chromium.org, hashimoto
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix remove_webcore_debug_symbols to avoid constant building The original gn implementation of remove_webcore_debug_symbols (in crrev.com/1716523003) didn't generate PDBs for some of the webkit DLLs in component builds, but that caused problems because ninja still expects them to be outputs. This caused the build to never be clean (on Windows) when this flag is used. This change gets these DLLs to use minimal_symbols (on Windows builds where symbol_level != 0) so that a PDB is always generated when expected. Doing test builds on my Windows machine of blink_core.dll I see the following full-link times and chrome.dll.pdb sizes when I do a debug component build with symbol_level = 2 when remove_webcore_debug_symbols is set to the following configs: symbols: 71 s, 348 MB minimal_symbols: 49 s, 82 MB no_symbols: 49 s, missing - builds never clean This suggests that minimal_symbols is a reasonable choice (no increase in build times) and a good fix for the not-clean builds. This change does not alter the behavior on other platforms because they don't have the not-clean issue. In addition to avoiding constant building this also means that there will be enough symbols for full call stacks. BUG=647525 Review-Url: https://codereview.chromium.org/2948363004 Cr-Commit-Position: refs/heads/master@{#482917} Committed: https://chromium.googlesource.com/chromium/src/+/b919d95a7f8be9ca291d6bbff942cfb42d08d5a1

Patch Set 1 #

Patch Set 2 : Reduce duplication #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -6 lines) Patch
M third_party/WebKit/Source/config.gni View 1 2 chunks +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/core.gni View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/modules.gni View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/wtf/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (12 generated)
brucedawson
3 years, 5 months ago (2017-06-26 18:35:35 UTC) #9
brucedawson
On 2017/06/26 18:35:35, brucedawson wrote: BTW, the other fix for these not-clean builds is crrev.com/2951413004, ...
3 years, 5 months ago (2017-06-26 18:37:51 UTC) #10
brucedawson
I updated this change to avoid duplicating the logic in a half-dozen files. It's much ...
3 years, 5 months ago (2017-06-27 20:06:04 UTC) #11
Dirk Pranke
Makes sense, nice fix. lgtm.
3 years, 5 months ago (2017-06-28 02:00:42 UTC) #12
hashimoto
lgtm
3 years, 5 months ago (2017-06-28 02:30:42 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2948363004/20001
3 years, 5 months ago (2017-06-28 06:18:41 UTC) #16
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 08:20:21 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b919d95a7f8be9ca291d6bbff942...

Powered by Google App Engine
This is Rietveld 408576698