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

Issue 1179393004: Fix some build symbol configuration. (Closed)

Created:
5 years, 6 months ago by brettw
Modified:
5 years, 6 months ago
Reviewers:
Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix some build symbol configuration. Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant. Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission. Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team. BUG= Committed: https://crrev.com/950889c01dd934acf28bce29ea6db75610a8c441 Cr-Commit-Position: refs/heads/master@{#334510}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -41 lines) Patch
M build/common.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M build/config/compiler/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
D build/linux/dump_app_syms View 1 1 chunk +0 lines, -36 lines 0 comments Download
A build/linux/dump_app_syms.py View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/BUILD.gn View 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
brettw
I verified that a GYP official release build chrome and the dumped chrome symbol file ...
5 years, 6 months ago (2015-06-15 21:04:38 UTC) #2
Nico
lgtm, but: https://codereview.chromium.org/1179393004/diff/20001/build/linux/dump_app_syms.py File build/linux/dump_app_syms.py (right): https://codereview.chromium.org/1179393004/diff/20001/build/linux/dump_app_syms.py#newcode26 build/linux/dump_app_syms.py:26: shell=True) shell=True is only needed for the ...
5 years, 6 months ago (2015-06-15 21:13:40 UTC) #3
brettw
https://codereview.chromium.org/1179393004/diff/20001/build/linux/dump_app_syms.py File build/linux/dump_app_syms.py (right): https://codereview.chromium.org/1179393004/diff/20001/build/linux/dump_app_syms.py#newcode26 build/linux/dump_app_syms.py:26: shell=True) Nifty, thanks.
5 years, 6 months ago (2015-06-15 22:26:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1179393004/40001
5 years, 6 months ago (2015-06-15 22:28:44 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-16 00:25:15 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/950889c01dd934acf28bce29ea6db75610a8c441 Cr-Commit-Position: refs/heads/master@{#334510}
5 years, 6 months ago (2015-06-16 00:26:10 UTC) #9
Lei Zhang
5 years, 6 months ago (2015-06-16 01:09:46 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1182783006/ by thestig@chromium.org.

The reason for reverting is: Broke the Linux GN Clobber bot:

http://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20Clobber/buil...

ninja: error: '../../build/linux/dump_app_syms', needed by
'obj/chrome/linux_symbols.inputdeps.stamp', missing and no known rule to make
it.

Powered by Google App Engine
This is Rietveld 408576698