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

Issue 691783003: [WIP NOT FOR COMMIT] Switch Android to libc++ (Closed)

Created:
6 years, 1 month ago by Fabrice (no longer in Chrome)
Modified:
5 years, 9 months ago
Reviewers:
pasko, jdduke (slow), Nico, Torne
CC:
chromium-reviews, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, sadrul, jam, gavinp+memory_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org, android-webview-reviews_chromium.org, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WIP NOT FOR COMMIT] Switch Android to libc++ BUG=427718

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 5

Patch Set 3 : Review comment + more cleanup #

Patch Set 4 : Rebase #

Patch Set 5 : Add gn changes #

Total comments: 17

Patch Set 6 : Rebase #

Patch Set 7 : Review comments #

Total comments: 6

Patch Set 8 : Rebase + Style fix #

Patch Set 9 : Rebase #

Patch Set 10 : Remove unused patch file #

Patch Set 11 : Remove more unused stuff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -136 lines) Patch
M android_webview/native/aw_contents.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M base/android/jni_array.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M base/containers/hash_tables.h View 1 2 3 chunks +0 lines, -8 lines 0 comments Download
M base/strings/string_util.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -4 lines 0 comments Download
M base/strings/stringprintf_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M build/android/setup.gyp View 1 2 3 4 6 7 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 6 chunks +16 lines, -20 lines 0 comments Download
M build/config/android/config.gni View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +22 lines, -39 lines 0 comments Download
M net/base/net_util_linux.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -4 lines 0 comments Download
M net/spdy/spdy_prefixed_buffer_reader_test.cc View 1 2 3 4 5 6 7 5 chunks +6 lines, -6 lines 0 comments Download
M third_party/mesa/mesa.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -7 lines 0 comments Download
M third_party/re2/README.chromium View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
D third_party/re2/patches/re2-android.patch View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -30 lines 0 comments Download
M third_party/re2/patches/re2-libcxx.patch View 1 2 3 4 5 6 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/re2/util/util.h View 1 2 3 4 5 6 3 chunks +2 lines, -4 lines 0 comments Download
M tools/android/run_pie/run_pie.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (4 generated)
pasko
needs some more cleanups anyway, so here are my not really useful notes https://codereview.chromium.org/691783003/diff/20001/content/browser/android/content_view_statics.cc File ...
6 years, 1 month ago (2014-10-30 15:20:31 UTC) #2
Nico
Awesome :-) It looks like there are a few things that could be landed independently ...
6 years, 1 month ago (2014-10-30 17:02:41 UTC) #4
Fabrice (no longer in Chrome)
I cleaned up the patch a bit more. If someone wants to try to understand ...
6 years, 1 month ago (2014-10-30 17:32:53 UTC) #5
pasko
On 2014/10/30 17:02:41, Nico wrote: > Awesome :-) > > It looks like there are ...
6 years, 1 month ago (2014-10-30 17:38:55 UTC) #6
Fabrice (no longer in Chrome)
Rebased following https://codereview.chromium.org/693773003/ and added gn changes, found a bunch of stuff we shouldn't need ...
6 years, 1 month ago (2014-11-05 12:33:06 UTC) #8
Torne
In principle webview should be fine, however I've just landed https://codereview.chromium.org/705753002/ which does the exact ...
6 years, 1 month ago (2014-11-05 12:37:19 UTC) #9
pasko
Nico, are you going to work out a way to build on Mac with libc++ ...
6 years, 1 month ago (2014-11-05 13:02:45 UTC) #10
Fabrice (no longer in Chrome)
On 2014/11/05 12:37:19, Torne wrote: > In principle webview should be fine, however I've just ...
6 years, 1 month ago (2014-11-05 13:13:04 UTC) #11
Torne
On 2014/11/05 13:13:04, Fabrice de Gans wrote: > On 2014/11/05 12:37:19, Torne wrote: > > ...
6 years, 1 month ago (2014-11-05 13:56:00 UTC) #12
Nico
On Wed, Nov 5, 2014 at 5:02 AM, <pasko@chromium.org> wrote: > Nico, are you going ...
6 years, 1 month ago (2014-11-05 17:19:28 UTC) #13
Nico
https://codereview.chromium.org/691783003/diff/80001/base/containers/hash_tables.h File base/containers/hash_tables.h (right): https://codereview.chromium.org/691783003/diff/80001/base/containers/hash_tables.h#newcode36 base/containers/hash_tables.h:36: #elif defined(COMPILER_GCC) On 2014/11/05 12:33:05, Fabrice de Gans wrote: ...
6 years, 1 month ago (2014-11-05 17:30:10 UTC) #14
Nico
https://codereview.chromium.org/691783003/diff/80001/net/base/address_tracker_linux_unittest.cc File net/base/address_tracker_linux_unittest.cc (right): https://codereview.chromium.org/691783003/diff/80001/net/base/address_tracker_linux_unittest.cc#newcode145 net/base/address_tracker_linux_unittest.cc:145: std::vector<int8_t> buffer_; On 2014/11/05 17:30:10, Nico wrote: > I'm ...
6 years, 1 month ago (2014-11-07 00:56:39 UTC) #15
pasko
https://codereview.chromium.org/691783003/diff/80001/net/spdy/spdy_prefixed_buffer_reader_test.cc File net/spdy/spdy_prefixed_buffer_reader_test.cc (right): https://codereview.chromium.org/691783003/diff/80001/net/spdy/spdy_prefixed_buffer_reader_test.cc#newcode35 net/spdy/spdy_prefixed_buffer_reader_test.cc:35: //EXPECT_THAT(buffer_copy, ElementsAreArray("foobar")); On 2014/11/07 00:56:39, Nico wrote: > Is ...
6 years, 1 month ago (2014-11-07 11:05:52 UTC) #16
Nico
https://codereview.chromium.org/691783003/diff/80001/net/spdy/spdy_prefixed_buffer_reader_test.cc File net/spdy/spdy_prefixed_buffer_reader_test.cc (right): https://codereview.chromium.org/691783003/diff/80001/net/spdy/spdy_prefixed_buffer_reader_test.cc#newcode35 net/spdy/spdy_prefixed_buffer_reader_test.cc:35: //EXPECT_THAT(buffer_copy, ElementsAreArray("foobar")); On 2014/11/07 11:05:52, pasko wrote: > On ...
6 years, 1 month ago (2014-11-07 16:37:01 UTC) #17
Fabrice (no longer in Chrome)
I copied the comments to the latest patch set. I am trying to figure out ...
6 years, 1 month ago (2014-11-12 11:52:30 UTC) #18
pasko
https://codereview.chromium.org/691783003/diff/120001/net/spdy/spdy_prefixed_buffer_reader_test.cc File net/spdy/spdy_prefixed_buffer_reader_test.cc (right): https://codereview.chromium.org/691783003/diff/120001/net/spdy/spdy_prefixed_buffer_reader_test.cc#newcode35 net/spdy/spdy_prefixed_buffer_reader_test.cc:35: //EXPECT_THAT(buffer_copy, ElementsAreArray("foobar")); On 2014/11/12 11:52:30, Fabrice wrote: > On ...
6 years, 1 month ago (2014-11-12 12:52:52 UTC) #19
Nico
It'd be good to understand what's going on with the spdy tests. (Funnily, they were ...
6 years, 1 month ago (2014-11-13 06:21:12 UTC) #20
Fabrice (no longer in Chrome)
https://codereview.chromium.org/691783003/diff/120001/net/base/address_tracker_linux_unittest.cc File net/base/address_tracker_linux_unittest.cc (right): https://codereview.chromium.org/691783003/diff/120001/net/base/address_tracker_linux_unittest.cc#newcode125 net/base/address_tracker_linux_unittest.cc:125: output->insert(output->end(), buffer_.begin(), buffer_.end()); On 2014/11/13 06:21:12, Nico wrote: > ...
6 years, 1 month ago (2014-11-13 10:52:07 UTC) #21
pasko
On 2014/11/13 10:52:07, Fabrice wrote: > https://codereview.chromium.org/691783003/diff/120001/net/base/address_tracker_linux_unittest.cc > File net/base/address_tracker_linux_unittest.cc (right): > > https://codereview.chromium.org/691783003/diff/120001/net/base/address_tracker_linux_unittest.cc#newcode125 > ...
6 years, 1 month ago (2014-11-13 12:20:12 UTC) #22
jdduke (slow)
What else needs to happen here? Are there components of this change that that we ...
6 years ago (2014-12-16 01:36:39 UTC) #24
Fabrice (no longer in Chrome)
On 2014/12/16 01:36:39, jdduke wrote: > What else needs to happen here? Are there components ...
6 years ago (2014-12-16 12:18:54 UTC) #25
jdduke (slow)
On 2014/12/16 12:18:54, Fabrice (ooo until Jan 5) wrote: > On 2014/12/16 01:36:39, jdduke wrote: ...
5 years, 11 months ago (2015-01-06 21:32:53 UTC) #26
pasko
On 2015/01/06 21:32:53, jdduke wrote: > On 2014/12/16 12:18:54, Fabrice (ooo until Jan 5) wrote: ...
5 years, 11 months ago (2015-01-13 13:01:15 UTC) #27
jdduke (slow)
5 years, 11 months ago (2015-01-14 01:47:40 UTC) #28
On 2015/01/13 13:01:15, pasko wrote:
> On 2015/01/06 21:32:53, jdduke wrote:
> > On 2014/12/16 12:18:54, Fabrice (ooo until Jan 5) wrote:
> > > On 2014/12/16 01:36:39, jdduke wrote:
> > > > What else needs to happen here? Are there components of this change that
> > that
> > > we
> > > > can start pushing forward? Does the latest 10d NDK release
> > > > (https://developer.android.com/tools/sdk/ndk/index.html) change the
> > landscape
> > > > in any fashion?
> > > 
> > > At this point, we're mostly blocked on b/18366844. There is another test
> > failure
> > > but it has to do with positional parameters in the printf family of
> functions,
> > > which are not used in the Chromium codebase.
> > > Then, we need to do some benchmarking for size and speed.
> > 
> > Can I ask why we're blocked on b/18366844? As far as I can tell, the
> compilation
> > failure in address_tracker_linux_unittest.cc is the only such instance, and
> > there are a good number of workarounds (see my rebase of this patch at
> > https://codereview.chromium.org/835633003/). We definitely want the
underlying
> > issue resolved going forward, but it would be a shame for that bug to block
> > progress when, at the moment, it's quite a minor hiccup in the codebase.
> 
> the workaround sgtm, we should not be blocked on it, thank you, Jared

FWIW, the ARC folks ran into some similar issues with positional parameters on
Android, though I'm not sure if it's related:
https://code.google.com/p/chromium/issues/detail?id=248851

Powered by Google App Engine
This is Rietveld 408576698