diff --git a/eng/icu.mk b/eng/icu.mk index bee46795c07..b29da2187de 100644 --- a/eng/icu.mk +++ b/eng/icu.mk @@ -99,6 +99,7 @@ endif $(eval $(call TargetBuildTemplate,icudt_CJK,icudt_CJK)) $(eval $(call TargetBuildTemplate,icudt_no_CJK,icudt_no_CJK)) $(eval $(call TargetBuildTemplate,icudt_EFIGS,icudt_EFIGS)) +$(eval $(call TargetBuildTemplate,icudt_hg_browser,icudt_hg_browser)) # build source+data for the main "icudt" filter and only data for the other filters -all: lib-icudt data-icudt data-icudt_no_CJK data-icudt_EFIGS data-icudt_CJK +all: lib-icudt data-icudt data-icudt_no_CJK data-icudt_EFIGS data-icudt_CJK data-icudt_hg_browser \ No newline at end of file diff --git a/eng/nuget/Microsoft.NETCore.Runtime.ICU.Transport.pkgproj b/eng/nuget/Microsoft.NETCore.Runtime.ICU.Transport.pkgproj index ff224503346..fb5e3243eaf 100644 --- a/eng/nuget/Microsoft.NETCore.Runtime.ICU.Transport.pkgproj +++ b/eng/nuget/Microsoft.NETCore.Runtime.ICU.Transport.pkgproj @@ -52,7 +52,7 @@ bundled in the git repo. To force a build to package using the in-tree files, pass the parameter. --> - + @@ -65,7 +65,7 @@ bundled in the git repo. To force a build to package using the in-tree files, pass the parameter. --> - + diff --git a/eng/prebuilts/hybrid/icudt_hg_browser.dat b/eng/prebuilts/hybrid/icudt_hg_browser.dat new file mode 100644 index 00000000000..a6abafeb325 Binary files /dev/null and b/eng/prebuilts/hybrid/icudt_hg_browser.dat differ diff --git a/icu-filters/icudt_hg_browser.json b/icu-filters/icudt_hg_browser.json new file mode 100644 index 00000000000..e5b9c1f1456 --- /dev/null +++ b/icu-filters/icudt_hg_browser.json @@ -0,0 +1,303 @@ +{ + "collationUCAData": "implicithan", + "localeFilter": { + "filterType": "locale", + "includeScripts": false, + "includeChildren": false, + "whitelist": [ + "ar_SA", + "am_ET", + "bg_BG", + "bn_BD", + "bn_IN", + "ca_AD", + "ca_ES", + "cs_CZ", + "da_DK", + "de_AT", + "de_BE", + "de_CH", + "de_DE", + "de_IT", + "de_LI", + "de_LU", + "el_CY", + "el_GR", + "en_AE", + "en_AG", + "en_AI", + "en_AS", + "en_AT", + "en_AU", + "en_BB", + "en_BE", + "en_BI", + "en_BM", + "en_BS", + "en_BW", + "en_BZ", + "en_CA", + "en_CC", + "en_CH", + "en_CK", + "en_CM", + "en_CX", + "en_CY", + "en_DE", + "en_DK", + "en_DM", + "en_ER", + "en_FI", + "en_FJ", + "en_FK", + "en_FM", + "en_GB", + "en_GD", + "en_GG", + "en_GH", + "en_GI", + "en_GM", + "en_GU", + "en_GY", + "en_HK", + "en_IE", + "en_IL", + "en_IM", + "en_IN", + "en_IO", + "en_JE", + "en_JM", + "en_KE", + "en_KI", + "en_KN", + "en_KY", + "en_LC", + "en_LR", + "en_LS", + "en_MG", + "en_MH", + "en_MO", + "en_MP", + "en_MS", + "en_MT", + "en_MU", + "en_MW", + "en_MY", + "en_NA", + "en_NF", + "en_NG", + "en_NL", + "en_NR", + "en_NU", + "en_NZ", + "en_PG", + "en_PH", + "en_PK", + "en_PN", + "en_PR", + "en_PW", + "en_RW", + "en_SB", + "en_SC", + "en_SD", + "en_SE", + "en_SG", + "en_SH", + "en_SI", + "en_SL", + "en_SS", + "en_SX", + "en_SZ", + "en_TC", + "en_TK", + "en_TO", + "en_TT", + "en_TV", + "en_TZ", + "en_UG", + "en_UM", + "en_US", + "en_VC", + "en_VG", + "en_VI", + "en_VU", + "en_WS", + "en_ZA", + "en_ZM", + "en_ZW", + "en_US", + "es_419", + "es_ES", + "es_MX", + "et_EE", + "fa_IR", + "fi_FI", + "fil_PH", + "fr_BE", + "fr_CA", + "fr_CH", + "fr_FR", + "gu_IN", + "he_IL", + "hi_IN", + "hr_BA", + "hr_HR", + "hu_HU", + "id_ID", + "it_CH", + "it_IT", + "ja_JP", + "kn_IN", + "ko_KR", + "lt_LT", + "lv_LV", + "ml_IN", + "mr_IN", + "ms_BN", + "ms_MY", + "ms_SG", + "nb_NO", + "no", + "no_NO", + "nl_AW", + "nl_BE", + "nl_NL", + "pl_PL", + "pt_BR", + "pt_PT", + "ro_RO", + "ru_RU", + "sk_SK", + "sl_SI", + "sr_Cyrl_RS", + "sr_Latn_RS", + "sv_AX", + "sv_SE", + "sw_CD", + "sw_KE", + "sw_TZ", + "sw_UG", + "ta_IN", + "ta_LK", + "ta_MY", + "ta_SG", + "te_IN", + "th_TH", + "tr_CY", + "tr_TR", + "uk_UA", + "vi_VN", + "zh_CN", + "zh_Hans_HK", + "zh_SG", + "zh_HK", + "zh_TW" + ] + }, + "featureFilters": { + "conversion_mappings": "exclude", + "confusables": "exclude", + "stringprep": "exclude", + "zone_tree": "exclude", + "zone_supplemental": "exclude", + "translit": "exclude", + "unames": "exclude", + "ulayout": "exclude", + "unit_tree": "exclude", + "rbnf_tree": "exclude", + "cnvalias": "exclude", + "lang_tree": "exclude", + "region_tree": "exclude", + "normalization": { + "blacklist": [ + "nfkc_cf", + "nfkc" + ] + }, + "misc": { + "whitelist": [ + "currencyNumericCodes", + "numberingSystems", + "icuver", + "supplementalData", + "keyTypeData" + ] + }, + "curr_tree": { + "whitelist": ["root"] + }, + "brkitr_dictionaries": "exclude", + "brkitr_rules": { + "whitelist": ["char"] + }, + "coll_tree": "exclude" + }, + "resourceFilters": [ + { + "categories": ["locales_tree"], + "rules": [ + "-/characterLabel", + "-/measurementSystemNames", + "-/listPattern", + "-/fields", + "-/delimiters", + "-/Ellipsis", + "-/NumberElements/latn/miscPatterns", + "-/NumberElements/latn/patternsLong", + "-/NumberElements/latn/patternsShort", + "-/NumberElements/*/patternsLong", + "-/NumberElements/*/patternsShort", + "-/NumberElements/minimalPairs", + "-/parse", + "-/AuxExemplarCharacters", + "-/ExemplarCharacters", + "-/ExemplarCharactersIndex", + "-/ExemplarCharactersNumbers", + "-/ExemplarCharactersPunctuation", + "-/MoreInformation" + ] + }, + { + "categories": ["locales_tree"], + "files": { + "blacklist": ["root"] + }, + "rules": [ + "-/calendar/*", + "+/calendar/default", + "+/calendar/gregorian", + "+/calendar/generic" + ] + }, + { + "categories": ["locales_tree"], + "files": { + "whitelist": ["ja"] + }, + "rules": [ + "-/calendar/*", + "+/calendar/default", + "+/calendar/gregorian", + "+/calendar/generic", + "+/calendar/japanese" + ] + }, + { + "categories": ["misc"], + "files": { + "whitelist": ["supplementalData"] + }, + "rules": [ + "-/*", + "+/calendarData", + "+/calendarPreferenceData", + "+/cldrVersion", + "+/measurementData", + "+/codeMappings", + "+/idValidity", + "+/timeData", + "+/weekData" + ] + } + ] +}