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

Issue 1412803002: Switch Chrome to dlopen() the Google Chrome Framework.framework. (Closed)

Created:
5 years, 2 months ago by Greg K
Modified:
5 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch Chrome to dlopen() the Google Chrome Framework.framework. Switch Chrome to dlopen() the Google Chrome Framework.framework, instead of relying on the linker. This is necessary to opt into the restrict flag, because the restrict flag will not allow relative search paths to be used for linking libraries. BUG=523041 Committed: https://crrev.com/ae428cc69d7a7fbc5b321851ba94b93369628a7a Cr-Commit-Position: refs/heads/master@{#358110}

Patch Set 1 : #

Total comments: 20

Patch Set 2 : #

Patch Set 3 : Rebased onto latest master #

Total comments: 10

Patch Set 4 : Add a shim so that Chrome does not link chrome_dll #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -29 lines) Patch
M build/filename_rules.gypi View 1 chunk +1 line, -1 line 0 comments Download
M chrome/BUILD.gn View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/app/chrome_exe_main_mac.c View 1 2 3 1 chunk +90 lines, -0 lines 1 comment Download
M chrome/app/chrome_exe_main_mac.cc View 1 chunk +0 lines, -21 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +8 lines, -4 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 36 (15 generated)
Greg K
5 years, 2 months ago (2015-10-22 22:52:06 UTC) #10
Mark Mentovai
The CL description says that this is necessary for restrict, but not why. We know ...
5 years, 2 months ago (2015-10-22 23:15:12 UTC) #11
Greg K
https://codereview.chromium.org/1412803002/diff/140001/chrome/app/chrome_exe_main_mac.c File chrome/app/chrome_exe_main_mac.c (right): https://codereview.chromium.org/1412803002/diff/140001/chrome/app/chrome_exe_main_mac.c#newcode38 chrome/app/chrome_exe_main_mac.c:38: char* exec_path = malloc(exec_path_size); On 2015/10/22 23:15:11, Mark Mentovai ...
5 years, 2 months ago (2015-10-23 19:12:49 UTC) #12
Mark Mentovai
This is the good stuff. LGTM with these changes. https://codereview.chromium.org/1412803002/diff/180001/chrome/app/chrome_exe_main_mac.c File chrome/app/chrome_exe_main_mac.c (right): https://codereview.chromium.org/1412803002/diff/180001/chrome/app/chrome_exe_main_mac.c#newcode1 chrome/app/chrome_exe_main_mac.c:1: ...
5 years, 2 months ago (2015-10-23 20:56:35 UTC) #14
Mark Mentovai
Actually, not LGTM until this is fixed. You do want to build chrome_dll as dependency ...
5 years, 2 months ago (2015-10-23 20:58:15 UTC) #15
Greg K
https://codereview.chromium.org/1412803002/diff/180001/chrome/app/chrome_exe_main_mac.c File chrome/app/chrome_exe_main_mac.c (right): https://codereview.chromium.org/1412803002/diff/180001/chrome/app/chrome_exe_main_mac.c#newcode1 chrome/app/chrome_exe_main_mac.c:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
5 years, 1 month ago (2015-10-30 20:12:16 UTC) #16
Greg K
https://codereview.chromium.org/1412803002/diff/180001/chrome/app/chrome_exe_main_mac.c File chrome/app/chrome_exe_main_mac.c (right): https://codereview.chromium.org/1412803002/diff/180001/chrome/app/chrome_exe_main_mac.c#newcode1 chrome/app/chrome_exe_main_mac.c:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
5 years, 1 month ago (2015-10-30 20:12:16 UTC) #17
Mark Mentovai
You said something earlier about maybe not needing this, but I didn’t really follow. What’s ...
5 years, 1 month ago (2015-10-30 20:13:11 UTC) #18
Greg K
On 2015/10/30 20:13:11, Mark Mentovai wrote: > You said something earlier about maybe not needing ...
5 years, 1 month ago (2015-10-30 20:17:28 UTC) #19
Mark Mentovai
I thought that the only @rpath stuff we had was for the component=shared_library build. We ...
5 years, 1 month ago (2015-10-30 20:41:40 UTC) #20
Mark Mentovai
Yes, yes, yes! LGTM.
5 years, 1 month ago (2015-10-30 20:44:21 UTC) #21
Greg K
jochen@chromium.org: please provide an OWNERS review. Thank you.
5 years, 1 month ago (2015-10-30 20:47:14 UTC) #23
jochen (gone - plz use gerrit)
why's the gyp configuration so much more complicated than the gn config? (+brettw for gn ...
5 years, 1 month ago (2015-11-03 07:15:04 UTC) #25
Greg K
On 2015/11/03 07:15:04, jochen wrote: > why's the gyp configuration so much more complicated than ...
5 years, 1 month ago (2015-11-04 01:05:46 UTC) #28
brettw
GN build LGTM. helper_app doesn't exist in GN Mac yet, and GN can also natively ...
5 years, 1 month ago (2015-11-04 05:37:05 UTC) #29
Greg K
On 2015/11/04 05:37:05, brettw wrote: > GN build LGTM. helper_app doesn't exist in GN Mac ...
5 years, 1 month ago (2015-11-04 18:05:54 UTC) #30
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-05 01:29:24 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412803002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412803002/200001
5 years, 1 month ago (2015-11-05 18:07:38 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:200001)
5 years, 1 month ago (2015-11-05 19:48:55 UTC) #34
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/ae428cc69d7a7fbc5b321851ba94b93369628a7a Cr-Commit-Position: refs/heads/master@{#358110}
5 years, 1 month ago (2015-11-05 19:49:52 UTC) #35
michaeln
5 years, 1 month ago (2015-11-07 02:20:29 UTC) #36
Message was sent while issue was closed.
Could this change be the cause of this bug?
https://code.google.com/p/chromium/issues/detail?id=552655

Powered by Google App Engine
This is Rietveld 408576698