Skip to content
Snippets Groups Projects
  • Jungshik Shin (jungshik at google)'s avatar
    ICU update to 54 - step 6 · b9090ea5
    Jungshik Shin (jungshik at google) authored
    1. Add {coll,curr,lang,locales,rbnf,region,sprep,translit,unit,zone}/*local.mk
    to exclude locale data for languages/locales that Chromium does not need.
    
    2. Run scripts/trim_data.sh to cut down the data size further by excluding
    unused entries in each locale files.
       - Keep the display names for languages/scripts/locales in Chrome's
         Accept-Language list and remove the display names outside the set.
       - Minimize the locale data in data/{locales,lang} for non-UI languages
         in the A-L list. For them,
         we just need the "native" display name and exemplar character set.
       - Exclude historic, obscure and otherwise unnecessary currency display
         names.
       - Drop unnecessary Chinese collation rules; Big5/GB2312/UniHan.
       - Keep only the minimal unit data for duration and compound units.
    
    3. Add css3transform.txt to data/translit for Greek upper/lowercasing support.
    
    4. Add the minimal locale data for ckb and ku.
    
    5. The tz db was updated previously to 2014j (the latest) so that no change
       is made except for README.chromium update.
    
    6. Add the minimal locale data for ckb and ku.
    
    7. Check in the pre-built data (icudtl.dat) shared by all non-Android
       platforms and assembly files for Linux/Mac
    
    The final data size is 10,255,584 bytes, which is about 200kB smaller than
    that for ICU 52.1.  The pristine upstream ICU has the data of
    25,343,024 bytes.
    
    The remaining steps are to build a smaller data file for Android and
    to build icudtl.dll for Windows (non-default build option).
    
    BUG=428145
    TEST=net_unittests --gtest_filter="*ilenameUtil*"
    TEST=net_unittests --gtest_filter="*IDN*"
    TEST=base_unittests --gtest_filter="*Conv*"
    TEST=browser_tests --gtest_filter="*ncoding*"
    TEST=Blink: layout tests
    R=mark@chromium.org
    
    Review URL: https://codereview.chromium.org/872903002
    b9090ea5