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

Issue 843583006: GN: Add -Wl,-z defs on linux and fix errors (Closed)

Created:
5 years, 11 months ago by jamesr
Modified:
5 years, 11 months ago
Reviewers:
brettw, Nico
CC:
chromium-reviews, sadrul, hguihot+watch_chromium.org, mikhal+watch_chromium.org, jdduke+watch_chromium.org, miu+watch_chromium.org, jam, eme-reviews_chromium.org, darin-cc_chromium.org, kalyank, hubbe+watch_chromium.org, mlamouri+watch-content_chromium.org, imcheng+watch_chromium.org, tdresser+watch_chromium.org, jasonroberts+watch_google.com, feature-media-reviews_chromium.org, piman+watch_chromium.org, hclam+watch_chromium.org, tfarina, avayvod+watch_chromium.org, pwestin+watch_google.com, mkwst+moarreviews-renderer_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Add -Wl,-z defs on linux and fix errors This tells the linker to resolve symbols for shared libraries at build time, not run time. This alerts developers much earlier that their dependencies are underspecified. BUG=371125 Committed: https://crrev.com/4359db72cde4fe4eeb4125d9a88af765fcdf39f1 Cr-Commit-Position: refs/heads/master@{#312317}

Patch Set 1 #

Total comments: 10

Patch Set 2 : fixes for android #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -15 lines) Patch
M ash/BUILD.gn View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M build/config/compiler/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/BUILD.gn View 1 2 3 4 1 chunk +15 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M components/wallpaper/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/app/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M device/vibration/android/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/config/BUILD.gn View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M media/BUILD.gn View 1 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/cdm/ppapi/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/linux/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ui/android/BUILD.gn View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ui/aura/BUILD.gn View 1 chunk +6 lines, -1 line 0 comments Download
M ui/base/BUILD.gn View 1 2 3 2 chunks +1 line, -4 lines 0 comments Download
M ui/display/util/BUILD.gn View 1 chunk +4 lines, -1 line 0 comments Download
M ui/events/platform/x11/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/keyboard/BUILD.gn View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M ui/wm/BUILD.gn View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (14 generated)
jamesr
5 years, 11 months ago (2015-01-15 23:25:00 UTC) #2
jamesr
D'oh, this requires a change in ffmpeg too.
5 years, 11 months ago (2015-01-15 23:29:46 UTC) #3
Nico
lgtm, looks plausible Sorry, forgot about gn when I did the ffmpeg change :-( I ...
5 years, 11 months ago (2015-01-15 23:35:07 UTC) #4
jamesr
ffmpeg patch up here: https://gerrit.chromium.org/gerrit/#/c/73516/
5 years, 11 months ago (2015-01-15 23:40:26 UTC) #5
jamesr
On 2015/01/15 23:35:07, Nico wrote: > lgtm, looks plausible > > Sorry, forgot about gn ...
5 years, 11 months ago (2015-01-15 23:41:24 UTC) #6
jamesr
https://codereview.chromium.org/843583006/diff/1/content/renderer/BUILD.gn File content/renderer/BUILD.gn (right): https://codereview.chromium.org/843583006/diff/1/content/renderer/BUILD.gn#newcode121 content/renderer/BUILD.gn:121: print("webrtc enabled") On 2015/01/15 23:35:07, Nico wrote: > print("remove ...
5 years, 11 months ago (2015-01-16 01:53:45 UTC) #7
Nico
https://codereview.chromium.org/843583006/diff/20001/device/vibration/android/BUILD.gn File device/vibration/android/BUILD.gn (right): https://codereview.chromium.org/843583006/diff/20001/device/vibration/android/BUILD.gn#newcode16 device/vibration/android/BUILD.gn:16: defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ] For a source_set? Shouldn't ...
5 years, 11 months ago (2015-01-16 01:57:50 UTC) #8
jamesr
PTAL. ffmpeg roll is pending, will submit new batch of tryjobs once it lands https://codereview.chromium.org/843583006/diff/1/gpu/config/BUILD.gn ...
5 years, 11 months ago (2015-01-16 02:00:45 UTC) #9
Nico
Did you see the vibration comment above?
5 years, 11 months ago (2015-01-16 02:11:24 UTC) #10
jamesr
On 2015/01/16 01:57:50, Nico wrote: > https://codereview.chromium.org/843583006/diff/20001/device/vibration/android/BUILD.gn > File device/vibration/android/BUILD.gn (right): > > https://codereview.chromium.org/843583006/diff/20001/device/vibration/android/BUILD.gn#newcode16 > ...
5 years, 11 months ago (2015-01-16 02:13:18 UTC) #11
Nico
On 2015/01/16 02:13:18, jamesr wrote: > On 2015/01/16 01:57:50, Nico wrote: > > > https://codereview.chromium.org/843583006/diff/20001/device/vibration/android/BUILD.gn ...
5 years, 11 months ago (2015-01-16 02:17:42 UTC) #12
jamesr
source_set is designed specifically for this use case (primarily the mess in //content). Best practice ...
5 years, 11 months ago (2015-01-16 06:07:21 UTC) #13
Nico
On 2015/01/16 06:07:21, jamesr wrote: > source_set is designed specifically for this use case (primarily ...
5 years, 11 months ago (2015-01-16 17:48:35 UTC) #14
jamesr
Brett - please review for build/config/ and top-level OWNERS.
5 years, 11 months ago (2015-01-16 20:55:46 UTC) #15
jamesr
One more ffmpeg patch for precise here: https://gerrit.chromium.org/gerrit/#/c/73528/
5 years, 11 months ago (2015-01-16 21:18:31 UTC) #16
jamesr
Another ffmpeg roll here that should green up the gn linux bots: https://codereview.chromium.org/851323003/
5 years, 11 months ago (2015-01-16 22:55:19 UTC) #17
Nico
land land land
5 years, 11 months ago (2015-01-20 18:54:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843583006/30001
5 years, 11 months ago (2015-01-20 19:00:18 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/37065) Try jobs failed on following ...
5 years, 11 months ago (2015-01-20 19:09:24 UTC) #22
Nico
On 2015/01/20 19:09:24, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 11 months ago (2015-01-20 19:46:00 UTC) #23
brettw
lgtm
5 years, 11 months ago (2015-01-20 20:22:33 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843583006/50001
5 years, 11 months ago (2015-01-20 21:04:40 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/51324)
5 years, 11 months ago (2015-01-20 21:12:20 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843583006/70001
5 years, 11 months ago (2015-01-20 21:38:06 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/50652) ios_rel_device_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/2621)
5 years, 11 months ago (2015-01-21 00:08:17 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843583006/70001
5 years, 11 months ago (2015-01-21 00:30:59 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/50624) ios_rel_device_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/2593) ios_rel_device_ninja_ng ...
5 years, 11 months ago (2015-01-21 00:32:24 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843583006/90001
5 years, 11 months ago (2015-01-21 00:50:33 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/27029)
5 years, 11 months ago (2015-01-21 02:46:09 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843583006/90001
5 years, 11 months ago (2015-01-21 03:14:30 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/27029)
5 years, 11 months ago (2015-01-21 04:14:29 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843583006/90001
5 years, 11 months ago (2015-01-21 04:27:34 UTC) #46
commit-bot: I haz the power
Committed patchset #6 (id:90001)
5 years, 11 months ago (2015-01-21 12:40:33 UTC) #47
commit-bot: I haz the power
5 years, 11 months ago (2015-01-21 12:41:25 UTC) #48
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4359db72cde4fe4eeb4125d9a88af765fcdf39f1
Cr-Commit-Position: refs/heads/master@{#312317}

Powered by Google App Engine
This is Rietveld 408576698