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

Issue 1967523002: Add big endian support (Closed)

Created:
4 years, 7 months ago by miran.karic
Modified:
4 years, 4 months ago
CC:
chromium-reviews, Dan Ehrenberg
Base URL:
https://chromium.googlesource.com/chromium/deps/icu.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add big endian support Add a script that generates an assembly file from a .dat file. This is needed for generating big endian assembly file after using icupkg to convert little endian icudtl.dat to big endian icudtb.dat. Also the icu.gyp file is modified so big endian architectures use appropriate files. BUG=v8:4828

Patch Set 1 #

Total comments: 3

Patch Set 2 : Change script name and modify it to look for version number in input file #

Patch Set 3 : Update description #

Total comments: 2

Patch Set 4 : Adjust the script #

Total comments: 8

Patch Set 5 : New adjustments of the script #

Total comments: 12

Patch Set 6 : Minor changes in the script and gyp file #

Patch Set 7 : Change icu.gyp to generate icu assembly files #

Total comments: 6

Patch Set 8 : Modify icu.gyp to generate only the appropriate assembly file #

Total comments: 4

Patch Set 9 : A few fixes in icu.gyp #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -5 lines) Patch
M icu.gyp View 1 2 3 4 5 6 7 8 7 chunks +78 lines, -5 lines 2 comments Download
A scripts/make_data_assembly.py View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (4 generated)
miran.karic
4 years, 7 months ago (2016-05-10 14:19:37 UTC) #2
jungshik at Google
Thank you for the CL. In the CL description, 'BUG=None' should be 'BUG=v8:4828'. In gyp ...
4 years, 7 months ago (2016-05-12 08:52:52 UTC) #3
jungshik at Google
https://codereview.chromium.org/1967523002/diff/1/scripts/gen_datS.py File scripts/gen_datS.py (right): https://codereview.chromium.org/1967523002/diff/1/scripts/gen_datS.py#newcode16 scripts/gen_datS.py:16: output.write(".globl icudt54_dat\n") On 2016/05/12 08:52:52, jshin (jungshik at google) ...
4 years, 7 months ago (2016-05-12 17:27:15 UTC) #4
jungshik at Google
On 2016/05/12 08:52:52, jshin (jungshik at google) wrote: > Thank you for the CL. > ...
4 years, 7 months ago (2016-05-13 22:17:44 UTC) #5
miran.karic
On 2016/05/13 22:17:44, jshin (jungshik at google) wrote: > On 2016/05/12 08:52:52, jshin (jungshik at ...
4 years, 7 months ago (2016-05-16 11:01:31 UTC) #7
jungshik at Google
Thank you for the update. Below are my comments. https://codereview.chromium.org/1967523002/diff/40001/scripts/make_data_assembly.py File scripts/make_data_assembly.py (right): https://codereview.chromium.org/1967523002/diff/40001/scripts/make_data_assembly.py#newcode7 scripts/make_data_assembly.py:7: ...
4 years, 7 months ago (2016-05-17 00:32:01 UTC) #8
miran.karic
On 2016/05/17 00:32:01, jshin (jungshik at google) wrote: > Thank you for the update. Below ...
4 years, 7 months ago (2016-05-17 15:38:43 UTC) #9
jungshik at Google
Thank you for the update. A few more comments below. Sorry that I didn't catch ...
4 years, 7 months ago (2016-05-17 17:51:59 UTC) #10
jungshik at Google
A couple of more nits. https://codereview.chromium.org/1967523002/diff/60001/scripts/make_data_assembly.py File scripts/make_data_assembly.py (right): https://codereview.chromium.org/1967523002/diff/60001/scripts/make_data_assembly.py#newcode1 scripts/make_data_assembly.py:1: #!/usr/bin/env python Add these ...
4 years, 7 months ago (2016-05-17 18:09:52 UTC) #11
jungshik at Google
https://codereview.chromium.org/1967523002/diff/60001/scripts/make_data_assembly.py File scripts/make_data_assembly.py (right): https://codereview.chromium.org/1967523002/diff/60001/scripts/make_data_assembly.py#newcode14 scripts/make_data_assembly.py:14: output_file = input_file[0:n] + "_dat.S" For use with gyp ...
4 years, 7 months ago (2016-05-17 20:33:13 UTC) #12
jungshik at Google
I'm adding you to AUTHORS file in the top level directory. https://codereview.chromium.org/1967523002/ Could you double-check ...
4 years, 7 months ago (2016-05-17 20:44:21 UTC) #13
miran.karic
On 2016/05/17 20:33:13, jshin (jungshik at google) wrote: > https://codereview.chromium.org/1967523002/diff/60001/scripts/make_data_assembly.py > File scripts/make_data_assembly.py (right): > ...
4 years, 7 months ago (2016-05-18 12:16:55 UTC) #14
jungshik at Google
Thank you for the update. Almost there. As for gyp file update, gyp is in ...
4 years, 7 months ago (2016-05-18 20:51:24 UTC) #15
miran.karic
https://codereview.chromium.org/1967523002/diff/80001/scripts/make_data_assembly.py File scripts/make_data_assembly.py (right): https://codereview.chromium.org/1967523002/diff/80001/scripts/make_data_assembly.py#newcode2 scripts/make_data_assembly.py:2: # Copyright 2016 The Chromium Authors. All rights reserved. ...
4 years, 7 months ago (2016-05-19 11:46:33 UTC) #16
miran.karic
On 2016/05/19 11:46:33, miran.karic wrote: > https://codereview.chromium.org/1967523002/diff/80001/scripts/make_data_assembly.py > File scripts/make_data_assembly.py (right): > > https://codereview.chromium.org/1967523002/diff/80001/scripts/make_data_assembly.py#newcode2 > ...
4 years, 7 months ago (2016-05-20 14:36:01 UTC) #17
jungshik at Google
Thank you for the update. Mark, can you take a look? Background: To add Intl ...
4 years, 7 months ago (2016-05-25 08:22:58 UTC) #19
miran.karic
On 2016/05/25 08:22:58, jshin (slow- 23-26) wrote: > Thank you for the update. > > ...
4 years, 7 months ago (2016-05-25 09:24:10 UTC) #20
miran.karic
https://codereview.chromium.org/1967523002/diff/120001/icu.gyp File icu.gyp (right): https://codereview.chromium.org/1967523002/diff/120001/icu.gyp#newcode113 icu.gyp:113: 'common/icudtb.dat', On 2016/05/25 08:22:58, jungshik at google wrote: > ...
4 years, 6 months ago (2016-05-31 16:44:10 UTC) #21
miran.karic
Uploaded a new patch set.
4 years, 6 months ago (2016-05-31 16:52:08 UTC) #22
jungshik at Google
Thank you for the update. https://codereview.chromium.org/1967523002/diff/140001/icu.gyp File icu.gyp (right): https://codereview.chromium.org/1967523002/diff/140001/icu.gyp#newcode139 icu.gyp:139: '<@(_data_assembly_outputs)', "..data.._outputs" should not ...
4 years, 6 months ago (2016-06-02 18:45:42 UTC) #23
jungshik at Google
A bit more. https://codereview.chromium.org/1967523002/diff/140001/icu.gyp File icu.gyp (right): https://codereview.chromium.org/1967523002/diff/140001/icu.gyp#newcode121 icu.gyp:121: '<(SHARED_INTERMEDIATE_DIR)/icudtb_dat.S', Change the output path to ...
4 years, 6 months ago (2016-06-02 18:58:42 UTC) #24
miran.karic
On 2016/06/02 18:58:42, jungshik at google wrote: > A bit more. > > https://codereview.chromium.org/1967523002/diff/140001/icu.gyp > ...
4 years, 6 months ago (2016-06-03 10:31:03 UTC) #25
miran.karic
All done, PTAL
4 years, 6 months ago (2016-06-03 10:32:23 UTC) #26
miran.karic
Reminder, PTAL.
4 years, 6 months ago (2016-06-14 08:40:37 UTC) #27
miran.karic
Reminder, PTAL.
4 years, 5 months ago (2016-07-19 07:10:33 UTC) #28
jungshik at Google
On 2016/07/19 07:10:33, miran.karic wrote: > Reminder, PTAL. Terribly sorry. I didn't forget this. I'll ...
4 years, 5 months ago (2016-07-19 20:18:06 UTC) #29
jungshik at Google
https://codereview.chromium.org/1967523002/diff/160001/icu.gyp File icu.gyp (right): https://codereview.chromium.org/1967523002/diff/160001/icu.gyp#newcode420 icu.gyp:420: ], This gave me an error when running v8/gypfiles/gyp_v8. ...
4 years, 5 months ago (2016-07-19 23:01:30 UTC) #30
jungshik at Google
With two changes I suggested, ninja file generation works and I was able to build ...
4 years, 5 months ago (2016-07-20 00:08:40 UTC) #32
jungshik at Google
With two changes I suggested, ninja file generation works and I was able to build ...
4 years, 5 months ago (2016-07-20 00:08:45 UTC) #33
jungshik at Google
jochen@, machenbach@: can you take a look? I didn't ask Miran to change Mac/Android section ...
4 years, 5 months ago (2016-07-20 00:15:25 UTC) #34
jochen (gone - plz use gerrit)
note that V8 is also almost done switching to gn...
4 years, 5 months ago (2016-07-20 11:08:38 UTC) #35
Michael Achenbach
If it's not too difficult, I suggest to support gyp on all platforms as well. ...
4 years, 5 months ago (2016-07-20 11:36:55 UTC) #36
jungshik at Google
On 2016/07/20 00:15:25, jungshik at google wrote: > jochen@, machenbach@: can you take a look? ...
4 years, 5 months ago (2016-07-20 16:42:30 UTC) #37
jungshik at Google
On 2016/07/20 11:36:55, Michael Achenbach (slow) wrote: > If it's not too difficult, I suggest ...
4 years, 5 months ago (2016-07-20 18:08:47 UTC) #38
jungshik at Google
On 2016/07/20 18:08:47, jungshik at google wrote: > On 2016/07/20 11:36:55, Michael Achenbach (slow) wrote: ...
4 years, 5 months ago (2016-07-20 19:34:59 UTC) #39
Michael Achenbach
On 2016/07/20 19:34:59, jungshik at google wrote: > On 2016/07/20 18:08:47, jungshik at google wrote: ...
4 years, 5 months ago (2016-07-21 07:40:33 UTC) #40
miran.karic
On 2016/07/19 20:18:06, jungshik at google wrote: > On 2016/07/19 07:10:33, miran.karic wrote: > > ...
4 years, 5 months ago (2016-07-21 11:51:27 UTC) #41
jungshik at Google
On 2016/07/21 11:51:27, miran.karic wrote: > On 2016/07/19 20:18:06, jungshik at google wrote: > > ...
4 years, 5 months ago (2016-07-21 20:59:47 UTC) #42
miran.karic
On 2016/07/21 20:59:47, jungshik at google wrote: > On 2016/07/21 11:51:27, miran.karic wrote: > > ...
4 years, 5 months ago (2016-07-22 09:59:43 UTC) #43
jungshik at Google
4 years, 4 months ago (2016-08-18 07:43:41 UTC) #44
I'm closing this CL because it's moved to another CL  and updated and landed.

Thanks again for the CL !

Powered by Google App Engine
This is Rietveld 408576698