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

Issue 951983002: Reland "Enable libc++ on Android" (Closed)

Created:
5 years, 10 months ago by jdduke (slow)
Modified:
5 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, android-webview-reviews_chromium.org, yfriedman+watch_chromium.org, klundberg+watch_chromium.org, erikwright+watch_chromium.org, jbudorick+watch_chromium.org, jshin+watch_chromium.org, andrewhsieh, Tom Hudson, reveman, vmpstr, hans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland "Enable libc++ on Android" Switch all Android builds to use libc++ instead of stlport. This change originally landed in crrev.com/315085, but was reverted in crrev.com/315174 due to CQ execution time regressions. The root cause of the test time regression was determined to be an issue with MD5 hash computation, where hashing failed to produce a consistent result in turn preventing deployment optimizations. This was resolved in crbug.com/456396, leaving libc++ test runs comparable with stlport runs. BUG=456396, 427718 Committed: https://crrev.com/9f355f21c4049c622c71fc66a50e0288c5211335 Cr-Commit-Position: refs/heads/master@{#328296}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Final rebase #

Total comments: 1

Patch Set 4 : Rebase #

Patch Set 5 : Cleanup #

Patch Set 6 : Fix clang+mesa #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -79 lines) Patch
M android_webview/native/aw_contents.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M base/android/jni_array.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M base/containers/hash_tables.h View 1 2 3 3 chunks +0 lines, -8 lines 0 comments Download
M base/strings/string_util.cc View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M build/android/setup.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 4 7 chunks +20 lines, -14 lines 0 comments Download
M build/config/android/config.gni View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 4 chunks +30 lines, -31 lines 0 comments Download
M net/base/net_util_linux.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/mesa/mesa.gyp View 1 2 3 4 5 1 chunk +1 line, -7 lines 0 comments Download
M third_party/re2/patches/re2-libcxx.patch View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/re2/util/util.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/android/run_pie/run_pie.gyp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tools/clang/scripts/update.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 49 (5 generated)
jdduke (slow)
Created Revert of Revert of Enable libc++ on Android
5 years, 10 months ago (2015-02-24 16:17:17 UTC) #1
Fabrice (no longer in Chrome)
Looks like it needs a rebase. Also, looking at the patch now, it seems we ...
5 years, 10 months ago (2015-02-24 16:26:59 UTC) #2
Nico
Since this was good enough to land once already, I think just rebasing is enough ...
5 years, 10 months ago (2015-02-24 16:38:24 UTC) #3
jdduke (slow)
On 2015/02/24 16:38:24, Nico wrote: > Since this was good enough to land once already, ...
5 years, 10 months ago (2015-02-24 16:42:23 UTC) #4
Nico
lgtm, makes sense
5 years, 10 months ago (2015-02-24 17:12:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/951983002/280001
5 years, 10 months ago (2015-02-24 17:32:21 UTC) #7
jam
not lgtm, test runs are slower than normal. please watch this closely by doing manual ...
5 years, 10 months ago (2015-02-24 19:15:25 UTC) #9
jdduke (slow)
On 2015/02/24 19:15:25, jam wrote: > not lgtm, > > test runs are slower than ...
5 years, 10 months ago (2015-02-24 19:20:13 UTC) #10
jdduke (slow)
On 2015/02/24 19:20:13, jdduke wrote: > On 2015/02/24 19:15:25, jam wrote: > > not lgtm, ...
5 years, 10 months ago (2015-02-24 19:23:21 UTC) #11
jam
On 2015/02/24 19:23:21, jdduke wrote: > On 2015/02/24 19:20:13, jdduke wrote: > > On 2015/02/24 ...
5 years, 10 months ago (2015-02-24 19:26:35 UTC) #12
Nico
There will be a compile time hit. libc++ includes more stuff, and that takes longer ...
5 years, 10 months ago (2015-02-24 19:28:07 UTC) #13
jbudorick
On 2015/02/24 19:26:35, jam wrote: > On 2015/02/24 19:23:21, jdduke wrote: > > On 2015/02/24 ...
5 years, 10 months ago (2015-02-24 19:28:35 UTC) #14
Nico
since i found this very confusing the last time too: can you please link to ...
5 years, 10 months ago (2015-02-24 19:30:54 UTC) #15
jdduke (slow)
On 2015/02/24 19:30:54, Nico wrote: > since i found this very confusing the last time ...
5 years, 10 months ago (2015-02-24 19:36:44 UTC) #16
Nico
Isn't the way the tests work that they compare the md5 of a bunch of ...
5 years, 10 months ago (2015-02-24 19:48:13 UTC) #17
jbudorick
On 2015/02/24 19:48:13, Nico wrote: > Isn't the way the tests work that they compare ...
5 years, 10 months ago (2015-02-24 19:51:24 UTC) #18
Nico
I tried to repro this upload time difference locally and failed so far :-/ I ...
5 years, 9 months ago (2015-02-28 00:11:51 UTC) #19
danakj
https://codereview.chromium.org/951983002/diff/280001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/951983002/diff/280001/build/common.gypi#newcode4750 build/common.gypi:4750: }, { # else: android_webview_build!=0 This appears to be ...
5 years, 8 months ago (2015-04-24 21:25:30 UTC) #21
danakj
On 2015/04/24 21:25:30, danakj wrote: > https://codereview.chromium.org/951983002/diff/280001/build/common.gypi > File build/common.gypi (right): > > https://codereview.chromium.org/951983002/diff/280001/build/common.gypi#newcode4750 > ...
5 years, 8 months ago (2015-04-24 21:26:12 UTC) #22
Torne
On 2015/04/24 21:25:30, danakj wrote: > https://codereview.chromium.org/951983002/diff/280001/build/common.gypi > File build/common.gypi (right): > > https://codereview.chromium.org/951983002/diff/280001/build/common.gypi#newcode4750 > ...
5 years, 8 months ago (2015-04-24 21:34:55 UTC) #23
danakj
I build everything and ran the same command for libcxx vs stlport. With libcxx and ...
5 years, 8 months ago (2015-04-24 22:51:31 UTC) #24
danakj
There's a lot of noise in that. Here's what it's doing extra for libcxx: [host]> ...
5 years, 8 months ago (2015-04-24 22:57:12 UTC) #25
danakj
All that appears to be to unzip something in /storage/emulated/legacy/ with a bunch of subdirs ...
5 years, 8 months ago (2015-04-24 22:58:58 UTC) #26
jdduke (slow)
I went ahead and rebased the change, basic compilation at least should work.
5 years, 8 months ago (2015-04-24 23:12:14 UTC) #27
danakj
Now when I run it the libcxx version it doesn't spend time unzipping /storage/emulated/legacy. It ...
5 years, 8 months ago (2015-04-24 23:27:13 UTC) #28
danakj
OK I'm failing to reproduce this locally as well. I'm going to take it to ...
5 years, 8 months ago (2015-04-27 21:56:45 UTC) #29
jdduke (slow)
jam@: Any objections to trying to reland this and monitor build times per discussion on ...
5 years, 8 months ago (2015-04-28 00:37:04 UTC) #30
jabdelmalek
On 2015/04/28 00:37:04, jdduke wrote: > jam@: Any objections to trying to reland this and ...
5 years, 7 months ago (2015-04-28 20:03:03 UTC) #31
danakj
On 2015/04/28 20:03:03, jabdelmalek wrote: > On 2015/04/28 00:37:04, jdduke wrote: > > jam@: Any ...
5 years, 7 months ago (2015-04-28 20:04:48 UTC) #32
Nico
On 2015/04/28 20:03:03, jabdelmalek wrote: > On 2015/04/28 00:37:04, jdduke wrote: > > jam@: Any ...
5 years, 7 months ago (2015-04-28 20:10:05 UTC) #33
danakj
On 2015/04/28 20:04:48, danakj wrote: > On 2015/04/28 20:03:03, jabdelmalek wrote: > > On 2015/04/28 ...
5 years, 7 months ago (2015-04-28 21:54:38 UTC) #34
danakj
On 2015/04/28 21:54:38, danakj wrote: > On 2015/04/28 20:04:48, danakj wrote: > > On 2015/04/28 ...
5 years, 7 months ago (2015-04-28 21:55:00 UTC) #35
jam
On 2015/04/28 21:54:38, danakj wrote: > On 2015/04/28 20:04:48, danakj wrote: > > On 2015/04/28 ...
5 years, 7 months ago (2015-04-29 00:21:27 UTC) #36
danakj
On Tue, Apr 28, 2015 at 5:21 PM, <jam@chromium.org> wrote: > On 2015/04/28 21:54:38, danakj ...
5 years, 7 months ago (2015-04-29 18:29:17 UTC) #37
danakj
@jam: https://code.google.com/p/chromium/issues/detail?id=456396#c63
5 years, 7 months ago (2015-04-29 20:23:22 UTC) #38
danakj
On 2015/04/29 20:23:22, danakj wrote: > @jam: https://code.google.com/p/chromium/issues/detail?id=456396#c63 Copy paste from the bug for jam, ...
5 years, 7 months ago (2015-04-30 18:26:25 UTC) #39
Nico
I talked to jam in person. He was concerned that these results have 6 devices ...
5 years, 7 months ago (2015-04-30 22:58:35 UTC) #40
jbudorick
On 2015/04/30 22:58:35, Nico wrote: > I talked to jam in person. He was concerned ...
5 years, 7 months ago (2015-05-01 00:04:45 UTC) #41
Nico
jam: I was able to reproduce the slowdown on a slave, found the cause, fixed ...
5 years, 7 months ago (2015-05-05 03:00:08 UTC) #42
jdduke (slow)
On 2015/05/05 03:00:08, Nico wrote: > jam: I was able to reproduce the slowdown on ...
5 years, 7 months ago (2015-05-05 03:48:25 UTC) #43
jam
On 2015/05/05 03:00:08, Nico wrote: > jam: I was able to reproduce the slowdown on ...
5 years, 7 months ago (2015-05-05 05:46:45 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/951983002/340001
5 years, 7 months ago (2015-05-05 05:50:05 UTC) #47
commit-bot: I haz the power
Committed patchset #6 (id:340001)
5 years, 7 months ago (2015-05-05 07:34:25 UTC) #48
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 07:35:26 UTC) #49
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9f355f21c4049c622c71fc66a50e0288c5211335
Cr-Commit-Position: refs/heads/master@{#328296}

Powered by Google App Engine
This is Rietveld 408576698