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

Issue 135963010: Prepare to enable icu_use_data_file_flat on CrOS (Closed)

Created:
6 years, 11 months ago by jungshik at Google
Modified:
6 years, 10 months ago
CC:
chromium-reviews, jshin+watch_chromium.org
Visibility:
Public.

Description

Prepare to enable icu_use_data_file_flag on CrOS 1. Enabling icu_use_data_file_flag led to a crash because GetStringUTF8 (that relies on ICU to determine whether the current UI language is RTL) is called before InitializeICU is called. Instead of using GetStringUTF8, get the string directly from the resource bundle because there's no need to adjust the string for the RTL locale in this particular case. 2. update chromite to a revision that copies icudtl.dat when icu_use_data_file_flag is on. The switch (icu_use_data_file) will be flipped in a follow-up CL (either in build/common.gypi or chromeos-chrome ebuild file or both as necessary). BUG=72633 TEST=cros_{amd,x86,amd64} pass all the tests. No actual change with this CL. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248325 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248954

Patch Set 1 #

Patch Set 2 : enable icu_use_data_file_flag on Chrome OS #

Patch Set 3 : fix 'typos' #

Patch Set 4 : base::string16 !! #

Patch Set 5 : UTF18 -> UTF8 #

Total comments: 1

Patch Set 6 : direct_call_to_rb_api #

Total comments: 1

Patch Set 7 : tab removed #

Patch Set 8 : roll chromite #

Patch Set 9 : do not enable icu_use_data_file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
jungshik at Google
Tony: can you take a look at l10n_utils.cc? Mark: common.gypi Mike: Do I have to ...
6 years, 10 months ago (2014-01-28 00:20:20 UTC) #1
vapier
what file should it be installing/using in the fs ?
6 years, 10 months ago (2014-01-28 00:25:54 UTC) #2
tony
https://codereview.chromium.org/135963010/diff/140001/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (right): https://codereview.chromium.org/135963010/diff/140001/ui/base/resource/resource_bundle.cc#newcode72 ui/base/resource/resource_bundle.cc:72: l10n_util::GetStringUTF8Raw(IDS_UI_FONT_FAMILY_CROS)); Can we call: ResourceBundle& rb = ResourceBundle::GetSharedInstance(); rb.GetLocalizedString(IDS_UI_FONT_FAMILY_CROS); ...
6 years, 10 months ago (2014-01-28 00:32:46 UTC) #3
jungshik at Google
On 2014/01/28 00:32:46, tony wrote: > https://codereview.chromium.org/135963010/diff/140001/ui/base/resource/resource_bundle.cc > File ui/base/resource/resource_bundle.cc (right): > > https://codereview.chromium.org/135963010/diff/140001/ui/base/resource/resource_bundle.cc#newcode72 > ...
6 years, 10 months ago (2014-01-28 00:36:03 UTC) #4
jungshik at Google
On 2014/01/28 00:25:54, vapier wrote: > what file should it be installing/using in the fs ...
6 years, 10 months ago (2014-01-28 00:37:50 UTC) #5
vapier
you'll probably want to update chromite/lib/chrome_util.py in the ChromiumOS checkout to list this new file. ...
6 years, 10 months ago (2014-01-28 01:06:02 UTC) #6
Mark Mentovai
LGTM https://codereview.chromium.org/135963010/diff/180001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/135963010/diff/180001/build/common.gypi#newcode1310 build/common.gypi:1310: # TODO(jungshik): Turn this on on Android. Use ...
6 years, 10 months ago (2014-01-28 17:19:46 UTC) #7
jungshik at Google
On 2014/01/28 01:06:02, vapier wrote: > you'll probably want to update chromite/lib/chrome_util.py in the ChromiumOS ...
6 years, 10 months ago (2014-01-28 21:26:19 UTC) #8
jungshik at Google
On 2014/01/28 17:19:46, Mark Mentovai wrote: > LGTM > > https://codereview.chromium.org/135963010/diff/180001/build/common.gypi > File build/common.gypi (right): ...
6 years, 10 months ago (2014-01-28 21:36:49 UTC) #9
Nikita (slow)
On 2014/01/28 00:20:20, Jungshik Shin wrote: > Nikita : Are you aware of any use ...
6 years, 10 months ago (2014-01-29 15:06:29 UTC) #10
jungshik at Google
On 2014/01/29 15:06:29, Nikita Kostylev wrote: > On 2014/01/28 00:20:20, Jungshik Shin wrote: > > ...
6 years, 10 months ago (2014-01-29 17:51:07 UTC) #11
tony
LGTM!
6 years, 10 months ago (2014-01-29 23:28:05 UTC) #12
jungshik at Google
Thanks, Tony ! @Mike, can you approve chromite roll to the revision with https://chromium-review.googlesource.com/#/c/184155/ ? ...
6 years, 10 months ago (2014-01-31 10:11:31 UTC) #13
vapier
lgtm
6 years, 10 months ago (2014-01-31 15:40:53 UTC) #14
jungshik at Google
The CQ bit was checked by jshin@chromium.org
6 years, 10 months ago (2014-01-31 19:31:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jshin@chromium.org/135963010/220001
6 years, 10 months ago (2014-01-31 19:32:40 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-01-31 20:58:31 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=255002
6 years, 10 months ago (2014-01-31 20:58:31 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 20:58:35 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 20:58:35 UTC) #20
jungshik at Google
The CQ bit was checked by jshin@chromium.org
6 years, 10 months ago (2014-01-31 22:20:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jshin@chromium.org/135963010/220001
6 years, 10 months ago (2014-01-31 22:20:46 UTC) #22
commit-bot: I haz the power
Change committed as 248325
6 years, 10 months ago (2014-02-01 01:44:46 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:44:53 UTC) #24
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:44:55 UTC) #25
Cait (Slow)
A revert of this CL has been created in https://codereview.chromium.org/151163003/ by caitkp@chromium.org. The reason for ...
6 years, 10 months ago (2014-02-02 04:10:50 UTC) #26
jungshik at Google
On 2014/02/02 04:10:50, Cait Phillips wrote: > A revert of this CL has been created ...
6 years, 10 months ago (2014-02-04 23:34:54 UTC) #27
jungshik at Google
The CQ bit was checked by jshin@chromium.org
6 years, 10 months ago (2014-02-04 23:35:43 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jshin@chromium.org/135963010/710001
6 years, 10 months ago (2014-02-04 23:41:16 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jshin@chromium.org/135963010/710001
6 years, 10 months ago (2014-02-05 01:37:49 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-05 06:41:10 UTC) #31
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=257497
6 years, 10 months ago (2014-02-05 06:41:11 UTC) #32
jungshik at Google
The CQ bit was checked by jshin@chromium.org
6 years, 10 months ago (2014-02-05 08:45:25 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jshin@chromium.org/135963010/710001
6 years, 10 months ago (2014-02-05 08:52:24 UTC) #34
commit-bot: I haz the power
6 years, 10 months ago (2014-02-05 10:22:13 UTC) #35
Message was sent while issue was closed.
Change committed as 248954

Powered by Google App Engine
This is Rietveld 408576698