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

Issue 2174993002: Support Big Endian in ICU: part 3 (Closed)

Created:
4 years, 5 months ago by jungshik at Google
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/deps/icu.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Support Big Endian in ICU: part 3 Add big endian (mips and mips64) support to BUILD.gn - icudt[lb]_dat.S (assembly source) is generated at build-time from icudt[lb].dat (data bundle) when icu_use_data_file is false. - icudt[lb].dat is copied depending on the endinaness when icu_use_data_file is true. Part 1: https://codereview.chromium.org/2162393003 Part 2: https://codereview.chromium.org/2165403003 It works on Linux (both Chrome and v8) and Mac (v8). Android was also tested by building base_unittests target with icu_use_data_file=true/false. v8 does not yet support mips/mips64 in GN so that this CL cannot be tested with target_cpu={mips,mips64}. With Chrome on Mac, TEST below has to be done with https://codereview.chromium.org/2181043003 for http://crbug.com/630929. Windows should not be affected at all. BUG=v8:4828 TEST='gn args <builddir>' with icu_use_data_file set to true or false TEST=build base_unittests and run with --gtest_filter=ICU* TEST=build base_unittests and run with --gtest_filter=Message*ormat* TEST=build 'd8' (v8) and try `(new Date()).toLocaleString("de")` R=machenbach@chromium.org Committed: https://chromium.googlesource.com/chromium/deps/icu/+/ec9c1133693148470ffe2e5e53576998e3650c1d

Patch Set 1 #

Patch Set 2 : now working #

Total comments: 6

Patch Set 3 : simplify per reviewer comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -41 lines) Patch
M BUILD.gn View 1 2 2 chunks +34 lines, -41 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
jungshik at Google
Can you take a look? Thanks
4 years, 5 months ago (2016-07-25 05:54:02 UTC) #9
jungshik at Google
4 years, 5 months ago (2016-07-25 05:56:07 UTC) #11
jungshik at Google
There's a build difference between gyp and GN when icu_use_data_file=false (GN) / icu_use_data_file_flag=0 (gyp). With ...
4 years, 5 months ago (2016-07-25 06:02:58 UTC) #12
jochen (gone - plz use gerrit)
4 years, 5 months ago (2016-07-25 16:22:12 UTC) #14
Michael Achenbach
Ignore the trybots. I'm experimenting with enabling icu changes on v8 trybots directly.
4 years, 4 months ago (2016-07-26 08:43:53 UTC) #17
Michael Achenbach
lgtm fyi: If you'd rebase this change to https://codereview.chromium.org/2182943002/ you would be able to run ...
4 years, 4 months ago (2016-07-26 09:18:56 UTC) #18
Michael Achenbach
FYI: I was playing with the v8 trybot here: https://codereview.chromium.org/2182553003/
4 years, 4 months ago (2016-07-26 09:29:07 UTC) #19
Michael Achenbach
https://codereview.chromium.org/2174993002/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2174993002/diff/20001/BUILD.gn#newcode612 BUILD.gn:612: } else { Note that v8 isn't using this ...
4 years, 4 months ago (2016-07-26 09:29:45 UTC) #20
jungshik at Google
Thank you, Michael ! https://codereview.chromium.org/2174993002/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2174993002/diff/20001/BUILD.gn#newcode584 BUILD.gn:584: ] On 2016/07/26 09:18:56, Michael ...
4 years, 4 months ago (2016-07-26 19:58:15 UTC) #21
jungshik at Google
On 2016/07/26 08:43:53, Michael Achenbach (slow) wrote: > Ignore the trybots. I'm experimenting with enabling ...
4 years, 4 months ago (2016-07-26 20:32:08 UTC) #24
jungshik at Google
On 2016/07/26 09:18:56, Michael Achenbach (slow) wrote: > lgtm > > fyi: If you'd rebase ...
4 years, 4 months ago (2016-07-26 21:41:05 UTC) #25
jungshik at Google
Committed patchset #3 (id:40001) manually as ec9c1133693148470ffe2e5e53576998e3650c1d (presubmit successful).
4 years, 4 months ago (2016-07-26 21:43:12 UTC) #27
Michael Achenbach
I thought rebase and reupload would be enough. It should work for newly uploaded CLs. ...
4 years, 4 months ago (2016-07-27 06:08:08 UTC) #28
jungshik at Google
On 2016/07/27 06:08:08, Michael Achenbach (slow) wrote: > I thought rebase and reupload would be ...
4 years, 4 months ago (2016-07-27 21:14:52 UTC) #29
Nico
4 years, 4 months ago (2016-07-29 18:02:31 UTC) #30
Message was sent while issue was closed.
Out of interest, why do we care about big endian support? Lots of code in chrome
assumes little endian (imo, rightfully so). What's the motivation here?

Powered by Google App Engine
This is Rietveld 408576698