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

Issue 854753002: linux/gyp: Find missing symbols at build time, not runtime. (Closed)

Created:
5 years, 11 months ago by Nico
Modified:
5 years, 11 months ago
CC:
chromium-reviews, sadrul, tdresser+watch_chromium.org, tfarina, jam, dcheng, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, jdduke+watch_chromium.org, inferno, Alexander Potapenko, earthdok
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

linux/gyp: Find missing symbols at build time, not runtime. Limited to very few cases for now (non-chromeos, non-android, non-official, component builds only). BUG=371125 TBR=piman,dalecurtis Committed: https://crrev.com/faffc1a04d17dd977ff9eb335c0c67b3b86dad5e Cr-Commit-Position: refs/heads/master@{#312020} Committed: https://crrev.com/fdaea4c9e63c845db9c009d236205e7ed4fcb663 Cr-Commit-Position: refs/heads/master@{#312032}

Patch Set 1 #

Patch Set 2 : chrome links #

Patch Set 3 : nicer #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Total comments: 5

Patch Set 7 : system.gyp:x11, and rt for clearkey so #

Total comments: 2

Patch Set 8 : goddammit #

Patch Set 9 : . #

Patch Set 10 : ozone #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -0 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/libgtk2ui.gyp View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/gpu_config.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M media/media_cdm.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/mesa/mesa.gyp View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M ui/aura/aura.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/base/ui_base.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ui/display/display.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/events.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/platform/x11/x11_events_platform.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M ui/wm/wm.gyp View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
Nico
5 years, 11 months ago (2015-01-17 01:11:36 UTC) #2
jamesr
https://codereview.chromium.org/854753002/diff/100001/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp File chrome/browser/ui/libgtk2ui/libgtk2ui.gyp (right): https://codereview.chromium.org/854753002/diff/100001/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp#newcode100 chrome/browser/ui/libgtk2ui/libgtk2ui.gyp:100: 'link_settings': { 'libraries': [ '-lX11' ] }, hmm, is ...
5 years, 11 months ago (2015-01-17 01:21:25 UTC) #3
Nico
Also added one -lrt that the trybots told me about. I expect that it'll tell ...
5 years, 11 months ago (2015-01-17 02:01:43 UTC) #4
jamesr
lgtm https://codereview.chromium.org/854753002/diff/120001/content/content_shell.gypi File content/content_shell.gypi (right): https://codereview.chromium.org/854753002/diff/120001/content/content_shell.gypi#newcode734 content/content_shell.gypi:734: 'link_settings': { 'libraries': [ '-lX11' ] }, system.gyp:x11
5 years, 11 months ago (2015-01-17 02:07:08 UTC) #5
Nico
Thanks! tbring. piman: gpu, third_party/mesa dalecurtis: media https://codereview.chromium.org/854753002/diff/120001/content/content_shell.gypi File content/content_shell.gypi (right): https://codereview.chromium.org/854753002/diff/120001/content/content_shell.gypi#newcode734 content/content_shell.gypi:734: 'link_settings': { ...
5 years, 11 months ago (2015-01-17 03:18:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854753002/140001
5 years, 11 months ago (2015-01-17 03:19:12 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/38298) android_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_rel/builds/6677) Try ...
5 years, 11 months ago (2015-01-17 03:26:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854753002/160001
5 years, 11 months ago (2015-01-17 03:57:16 UTC) #13
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 11 months ago (2015-01-17 04:58:48 UTC) #14
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/faffc1a04d17dd977ff9eb335c0c67b3b86dad5e Cr-Commit-Position: refs/heads/master@{#312020}
5 years, 11 months ago (2015-01-17 04:59:37 UTC) #15
Lei Zhang
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/851313004/ by thestig@chromium.org. ...
5 years, 11 months ago (2015-01-17 08:15:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854753002/180001
5 years, 11 months ago (2015-01-17 08:48:56 UTC) #18
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 11 months ago (2015-01-17 09:51:49 UTC) #19
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/fdaea4c9e63c845db9c009d236205e7ed4fcb663 Cr-Commit-Position: refs/heads/master@{#312032}
5 years, 11 months ago (2015-01-17 09:52:43 UTC) #20
Michael Achenbach
Possible that this breaks *SAN debug? http://build.chromium.org/p/chromium.lkgr/builders/ASAN%20Debug/builds/9775/ The lkgr range between the last successful build ...
5 years, 11 months ago (2015-01-18 10:49:12 UTC) #22
Timothy Loh
5 years, 11 months ago (2015-01-19 05:19:18 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:180001) has been created in
https://codereview.chromium.org/835223006/ by timloh@chromium.org.

The reason for reverting is: Breaks compile on chromium.webkit/Linux Tests (dbg)
and probably also chromium.lkgr/ASAN Debug

http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests%20%28dbg%2...
http://build.chromium.org/p/chromium.lkgr/builders/ASAN%20Debug.

Powered by Google App Engine
This is Rietveld 408576698