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

Issue 2888623003: Use a GN arg for controlling linker map file generation. (Closed)

Created:
3 years, 7 months ago by estevenson
Modified:
3 years, 7 months ago
Reviewers:
agrieve
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a GN arg for controlling linker map file generation. Map files aren't generated on Linux by default now that linker map file generation is hooked into !use_lld (https://crbug.com/716209). This CL adds a GN arg, enable_linker_map, that defaults to true for Android and makes it easy to generate map files on Linux. BUG=717550, 716209 Review-Url: https://codereview.chromium.org/2888623003 Cr-Commit-Position: refs/heads/master@{#472834} Committed: https://chromium.googlesource.com/chromium/src/+/0f24feacbffe77af7d69f64e739c73d834fa19b4

Patch Set 1 #

Patch Set 2 : Keep existing toolchain scope for map files #

Total comments: 4

Patch Set 3 : agrieve comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -3 lines) Patch
M build/toolchain/gcc_toolchain.gni View 1 1 chunk +1 line, -3 lines 0 comments Download
M build/toolchain/toolchain.gni View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M tools/binary_size/diagnose_bloat.py View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
estevenson
ptal! In ps1 I removed all old instances of "enable_linker_map = true" but then the ...
3 years, 7 months ago (2017-05-17 14:00:37 UTC) #2
agrieve
lgtm. Might make sense to update diagnose_bloat.py to add that gn arg in this change ...
3 years, 7 months ago (2017-05-17 14:33:11 UTC) #4
estevenson
Another option would be to forgo the GN arg altogether and just set enable_linker_map like ...
3 years, 7 months ago (2017-05-17 23:02:08 UTC) #5
agrieve
I think my preference is to keep them separate, since then we'll be able to ...
3 years, 7 months ago (2017-05-17 23:19:25 UTC) #6
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/2888623003/40001
3 years, 7 months ago (2017-05-18 14:50:32 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 16:18:05 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/0f24feacbffe77af7d69f64e739c...

Powered by Google App Engine
This is Rietveld 408576698