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

Issue 372813002: Fix solink and add a postsolink hook (use the hook for android strip) (Closed)

Created:
6 years, 5 months ago by cjhopman
Modified:
6 years, 4 months ago
Reviewers:
brettw, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@gn-arm
Project:
chromium
Visibility:
Public.

Description

Fix solink and add a postsolink hook (use the hook for android strip) The solink command included the "real" link command twice and only used the libs_section_prefix/postfix in one of the two. This splits the construction of the link command up a bit to make it clearer. This adds a simple post_solink arg to gcc_toolchain that allows the caller to add more stuff to the solink command. This is used to automatically strip all shared libraries in Android builds (in gyp, we do this for a library once for each apk that it is in :/ ). BUG=359249 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286282

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebase #

Patch Set 3 : Add comment for new arg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -4 lines) Patch
M build/toolchain/android/BUILD.gn View 1 1 chunk +6 lines, -0 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 1 2 2 chunks +19 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
cjhopman
https://codereview.chromium.org/372813002/diff/1/build/toolchain/android/BUILD.gn File build/toolchain/android/BUILD.gn (right): https://codereview.chromium.org/372813002/diff/1/build/toolchain/android/BUILD.gn#newcode44 build/toolchain/android/BUILD.gn:44: mkdir_command = "mkdir -p lib.stripped" This mkdir isn't needed ...
6 years, 5 months ago (2014-07-07 23:00:50 UTC) #1
brettw
lgtm https://codereview.chromium.org/372813002/diff/1/build/toolchain/android/BUILD.gn File build/toolchain/android/BUILD.gn (right): https://codereview.chromium.org/372813002/diff/1/build/toolchain/android/BUILD.gn#newcode44 build/toolchain/android/BUILD.gn:44: mkdir_command = "mkdir -p lib.stripped" On 2014/07/07 23:00:50, ...
6 years, 5 months ago (2014-07-08 22:06:54 UTC) #2
Nico
https://codereview.chromium.org/372813002/diff/1/build/toolchain/android/BUILD.gn File build/toolchain/android/BUILD.gn (right): https://codereview.chromium.org/372813002/diff/1/build/toolchain/android/BUILD.gn#newcode44 build/toolchain/android/BUILD.gn:44: mkdir_command = "mkdir -p lib.stripped" Can we not use ...
6 years, 5 months ago (2014-07-08 23:02:29 UTC) #3
brettw
I'm happy if we find a different way to do this, but I've never personally ...
6 years, 5 months ago (2014-07-09 00:00:12 UTC) #4
cjhopman
https://codereview.chromium.org/372813002/diff/1/build/toolchain/android/BUILD.gn File build/toolchain/android/BUILD.gn (right): https://codereview.chromium.org/372813002/diff/1/build/toolchain/android/BUILD.gn#newcode44 build/toolchain/android/BUILD.gn:44: mkdir_command = "mkdir -p lib.stripped" On 2014/07/08 23:02:29, Nico ...
6 years, 5 months ago (2014-07-11 20:48:50 UTC) #5
cjhopman
The CQ bit was checked by cjhopman@chromium.org
6 years, 4 months ago (2014-07-29 17:15:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/372813002/60001
6 years, 4 months ago (2014-07-29 17:16:35 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 20:15:34 UTC) #8
Message was sent while issue was closed.
Change committed as 286282

Powered by Google App Engine
This is Rietveld 408576698