Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
Source project has a limited visibility.
user avatar
Victor Chang authored
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
87f5809f
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..