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

Issue 1639343002: [GN][Chromecast] Add "-Wl,-rpath=\$ORIGIN" to executable and shlib defaults. (Closed)

Created:
4 years, 11 months ago by slan
Modified:
4 years, 10 months ago
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org, halliwell+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[GN][Chromecast] Add "-Wl,-rpath=\$ORIGIN" to executable and shlib defaults. Chromecast executables depend on several shared libraries in $ORIGIN for platform and OEM abstraction. The rpath for executables should be updated so that these libraries can be found at runtime. This logic is added here, instead of //build/config/gcc:executable_ldconfig, to keep Chromecast-specific configs as concentrated as possible. A note about security concerns: Chrome only enables this by default for component and sanitizer builds, never shipped builds. This is to protect users from arbitrary binaries being run in the shared lib directory. Chromecast does not share these concerns, as it only runs trusted web applications in practice. BUG=516899 Committed: https://crrev.com/875b6f2a243ffbfb5bc3cd86f8ae97c3659c010d Cr-Commit-Position: refs/heads/master@{#371886}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M build/config/chromecast/BUILD.gn View 2 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
slan
Hey Dirk, Per our discussion yesterday, I would like to add a default rpath here ...
4 years, 11 months ago (2016-01-27 16:39:40 UTC) #2
Dirk Pranke
lgtm, though I'm not sure I would've bothered with the extra layer of indirection.
4 years, 11 months ago (2016-01-27 17:59:15 UTC) #3
slan
On 2016/01/27 17:59:15, Dirk Pranke wrote: > lgtm, though I'm not sure I would've bothered ...
4 years, 11 months ago (2016-01-27 18:06:57 UTC) #4
alokp
On 2016/01/27 18:06:57, slan wrote: > On 2016/01/27 17:59:15, Dirk Pranke wrote: > > lgtm, ...
4 years, 11 months ago (2016-01-27 18:17:21 UTC) #5
slan
On 2016/01/27 18:17:21, alokp wrote: > On 2016/01/27 18:06:57, slan wrote: > > On 2016/01/27 ...
4 years, 11 months ago (2016-01-27 18:48:35 UTC) #6
dougsteed
On 2016/01/27 18:48:35, slan wrote: > On 2016/01/27 18:17:21, alokp wrote: > > On 2016/01/27 ...
4 years, 10 months ago (2016-01-27 20:43:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639343002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639343002/1
4 years, 10 months ago (2016-01-27 20:47:13 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-01-27 22:10:30 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-01-27 22:11:41 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/875b6f2a243ffbfb5bc3cd86f8ae97c3659c010d
Cr-Commit-Position: refs/heads/master@{#371886}

Powered by Google App Engine
This is Rietveld 408576698