Customize the ICU data file for iOS |
||
Issue descriptioniOS uses iOS's WebView so that some of ICU data is not necessary on iOS. (NO v8 for Ecma 402 implementation, no line breaking, etc) Moreover, as is the case on Android, it can use (and with Michael's recent CL, it does) the native API for language display names.
,
May 5 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a9abb8f16cb14dd210cd5de4a7b6dbc2209059e6 commit a9abb8f16cb14dd210cd5de4a7b6dbc2209059e6 Author: Jungshik Shin <jshin@chromium.org> Date: Fri May 05 23:46:13 2017 Roll ICU to 4b06aa from b34251f The only substantial change is adding a separate ICU data file for iOS http://chromium.googlesource.com/chromium/deps/icu.git/+log/b34251f..4b06aad BUG= 718955 TEST=Build iOS target (debug), unittests on iOS Change-Id: Ic1896e45283415d50f605e580893be7eb857048f Reviewed-on: https://chromium-review.googlesource.com/498128 Reviewed-by: Mike Dougherty <michaeldo@chromium.org> Commit-Queue: Jungshik Shin <jshin@chromium.org> Cr-Commit-Position: refs/heads/master@{#469809} [modify] https://crrev.com/a9abb8f16cb14dd210cd5de4a7b6dbc2209059e6/DEPS
,
May 8 2017
Need to check if encoding conversion is necessary for iOS. Dropping all the converter tables would save about 500kB. GURL does use them, but iOS may not need a part of GURL requiring encoding conversion. One way to test is to disable encoding conversion code in ICU and see if there's any compile error. Oh... that won't work if GURL does use encoding conversion. Anyway, we can try that method. However, that trick (disabling ICU code that uses a category of ICU data to see if that data is necessary) would work for breakiterator. CJK dictionary is already dropped so that there is not huge saving in line, but still hundreds of kBs can be saved by dropping Thai, Khmer, Lao, Myanmar dictionaries and line/word break rule files.
,
May 22 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, May 5 2017