Skip to content
Snippets Groups Projects
  1. Jan 31, 2015
    • Jungshik Shin (jungshik at google)'s avatar
      ICU update to 54.1 step 7 · 26c111a7
      Jungshik Shin (jungshik at google) authored
      1. Fix a Windows build failure due to:
         a. 'signed vs unsigned' comparison
         b. 'possible data loss' in conversion : Apply pkasting's patch at
            http://bugs.icu-project.org/trac/ticket/11104
      
      2. Drop a few currencies to cut down the data size by 50kB for non-Android
         platforms.
      
      2. Build the ICU data for Android and check in.
        - Drop all display names for languages/scripts/regions except for zh-Han{s,t}
          as before. ( ~ 1.2MB reduction)
        - Drop cjdict by applying android/brkitr.patch. (~ 2MB reduction)
        - Include the display names for only 60+ currencies ( ~ 400kB reduction
          from the non-Android data.
        - Minimize the locale data for 9 locales Chrome on Android is not localized
          to. Drop currency names for those 9 locales. ( ~ 150kB reduction)
      
      Size change:
        1. Non-android: 10,255,584 to 10,200,880
        2. Android:
           - Final : 6,270,880
             With 60+ currency names added (for bug 370849) and
             9 unnecessary locale data dropped.
             It's 232,240 bytes larger than ICU 52.1 (6,038,640).
           - Without any currency names but with 9 unnecessary locale data: 6,026,816
           - With 60+ currency names and 9 unnecessary locale data: 6,426,368
      
      BUG=370849,428145
      TEST=Build on Windows. Blink layout tests, webkit unittests.
      R=mark@chromium.org, wangxianzhu@chromium.org
      
      Review URL: https://codereview.chromium.org/877193003
      26c111a7
  2. Jan 23, 2015
    • 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
Loading