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

Issue 1215713006: Make it possible to change libc++ library files used for android (Closed)

Created:
5 years, 5 months ago by the_jk
Modified:
5 years, 5 months ago
Reviewers:
Dirk Pranke, dpranke, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make it possible to change libc++ library files used for android Useful for specifying specific or modified libc++ library files instead of always using the one in android_ndk_root. Committed: https://crrev.com/0d15a85e73998a1de32384734f13c4e9b5f07e8f Cr-Commit-Position: refs/heads/master@{#337797}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/common.gypi View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
the_jk
5 years, 5 months ago (2015-07-06 11:20:38 UTC) #2
Dirk Pranke
lgtm
5 years, 5 months ago (2015-07-06 21:29:32 UTC) #4
Nico
lgtm, but can you explain what you intend to use this for?
5 years, 5 months ago (2015-07-06 21:33:01 UTC) #5
the_jk
On 2015/07/06 21:33:01, Nico wrote: > lgtm, but can you explain what you intend to ...
5 years, 5 months ago (2015-07-07 09:12:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215713006/1
5 years, 5 months ago (2015-07-08 09:05:38 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 5 months ago (2015-07-08 10:12:07 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/0d15a85e73998a1de32384734f13c4e9b5f07e8f Cr-Commit-Position: refs/heads/master@{#337797}
5 years, 5 months ago (2015-07-08 10:13:27 UTC) #10
Nico
On 2015/07/07 09:12:15, the_jk wrote: > On 2015/07/06 21:33:01, Nico wrote: > > lgtm, but ...
5 years, 5 months ago (2015-07-08 15:23:33 UTC) #11
the_jk
5 years, 5 months ago (2015-07-09 14:24:17 UTC) #12
Message was sent while issue was closed.
On 2015/07/08 15:23:33, Nico wrote:
> On 2015/07/07 09:12:15, the_jk wrote:
> > On 2015/07/06 21:33:01, Nico wrote:
> > > lgtm, but can you explain what you intend to use this for?
> > 
> > Short version: for temporary workarounds and project specific modifications
of
> > the libc++ library
> > 
> > Longer version: we use it two projects at the moment:
> > Project 1 wants a smaller libc++_static.a file (more similar in size to
> stlport)
> > so they repackage and remove some (to them) useless symbols (exception
> handling,
> > unwinding and unused methods from the CXXABI) from the library before
linking.
> 
> You can get at least some of that without hacking up libc++.
> https://codereview.chromium.org/1215673002/ is how we exclude the demangler in
> chromium.

Thanks for the link, yeah for the demangler that approach works quite nicely, I
had more trouble with the unhandled exception handler(s) and
generally all of the exception code. Especially when dealing with multiple
arch's.

> > Project 2 works around a bug in the exception handling in libc++ on non-arm
> > platforms when compiling with clang and not gcc by recompiling libc++
> themselves
> > and linking to the recompiled version
> 
> Is this bug filed somewhere?

It is now:
https://code.google.com/p/android/issues/detail?id=179410

Powered by Google App Engine
This is Rietveld 408576698