Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 87f5809f authored by Victor Chang's avatar Victor Chang
Browse files

Fix frameworks/base/tools/localedata/extract_icu_data.py

LocaleDataTables.cpp will be generated in a separate CL.

likelySubtags.txt has been removed from ICU4C. ICU4C reads the encoded
mapping from  lsrnum in external/icu/icu4c/source/data/misc/langInfo.txt
instead.

For this script, we read the text mapping from likelySubtags.xml in CLDR
instead for simplicity.

The size of mapping increases significantly due to CLDR-16380 fixed in CLDR 44.

Bug: 330126402
Test: croot frameworks/base && ./tools/localedata/extract_icu_data.py $ANDROID_BUILD_TOP > libs/androidfw/LocaleDataTables.cpp
Change-Id: I66b83035ad858ab9482a981c6e63be104741cd52
parent a362fe46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment