xref: /base/global/i18n/frameworks/intl/BUILD.gn (revision 9596a2c1)
19596a2c1Sopenharmony_ci# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
29596a2c1Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
39596a2c1Sopenharmony_ci# you may not use this file except in compliance with the License.
49596a2c1Sopenharmony_ci# You may obtain a copy of the License at
59596a2c1Sopenharmony_ci#
69596a2c1Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
79596a2c1Sopenharmony_ci#
89596a2c1Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
99596a2c1Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
109596a2c1Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
119596a2c1Sopenharmony_ci# See the License for the specific language governing permissions and
129596a2c1Sopenharmony_ci# limitations under the License.
139596a2c1Sopenharmony_ci
149596a2c1Sopenharmony_ciimport("//base/global/i18n/i18n.gni")
159596a2c1Sopenharmony_ciimport("//build/config/components/init/param/param_fixer.gni")
169596a2c1Sopenharmony_ciimport("//build/ohos.gni")
179596a2c1Sopenharmony_ci
189596a2c1Sopenharmony_cigroup("build_module") {
199596a2c1Sopenharmony_ci  deps = [
209596a2c1Sopenharmony_ci    ":intl_util",
219596a2c1Sopenharmony_ci    ":preferred_language",
229596a2c1Sopenharmony_ci  ]
239596a2c1Sopenharmony_ci}
249596a2c1Sopenharmony_ci
259596a2c1Sopenharmony_cigroup("geocoding_depends") {
269596a2c1Sopenharmony_ci  external_deps = [ "libphonenumber:geocoding" ]
279596a2c1Sopenharmony_ci}
289596a2c1Sopenharmony_ci
299596a2c1Sopenharmony_ciconfig("preferred_language_config") {
309596a2c1Sopenharmony_ci  include_dirs = [
319596a2c1Sopenharmony_ci    "//base/global/i18n/interfaces/native/inner_api/preferred_language/include",
329596a2c1Sopenharmony_ci  ]
339596a2c1Sopenharmony_ci}
349596a2c1Sopenharmony_ciohos_shared_library("preferred_language") {
359596a2c1Sopenharmony_ci  public_configs = [ ":preferred_language_config" ]
369596a2c1Sopenharmony_ci  include_dirs = [ "include" ]
379596a2c1Sopenharmony_ci  sources = [ "src/preferred_language.cpp" ]
389596a2c1Sopenharmony_ci  cflags_cc = [
399596a2c1Sopenharmony_ci    "-Wall",
409596a2c1Sopenharmony_ci    "-fPIC",
419596a2c1Sopenharmony_ci  ]
429596a2c1Sopenharmony_ci  deps = [ "//base/global/i18n/frameworks/intl:intl_util" ]
439596a2c1Sopenharmony_ci  external_deps = [
449596a2c1Sopenharmony_ci    "hilog:libhilog",
459596a2c1Sopenharmony_ci    "init:libbegetutil",
469596a2c1Sopenharmony_ci  ]
479596a2c1Sopenharmony_ci  if (i18n_support_app_preferred_language) {
489596a2c1Sopenharmony_ci    external_deps += [
499596a2c1Sopenharmony_ci      "ability_runtime:app_context",
509596a2c1Sopenharmony_ci      "bundle_framework:appexecfwk_base",
519596a2c1Sopenharmony_ci      "bundle_framework:appexecfwk_core",
529596a2c1Sopenharmony_ci      "c_utils:utils",
539596a2c1Sopenharmony_ci      "ipc:ipc_core",
549596a2c1Sopenharmony_ci      "resource_management:global_resmgr",
559596a2c1Sopenharmony_ci      "samgr:samgr_proxy",
569596a2c1Sopenharmony_ci    ]
579596a2c1Sopenharmony_ci    if (!(host_os == "linux" && host_cpu == "arm64")) {
589596a2c1Sopenharmony_ci      external_deps += [ "preferences:native_preferences" ]
599596a2c1Sopenharmony_ci    }
609596a2c1Sopenharmony_ci    defines = [ "SUPPORT_APP_PREFERRED_LANGUAGE" ]
619596a2c1Sopenharmony_ci  }
629596a2c1Sopenharmony_ci  subsystem_name = "global"
639596a2c1Sopenharmony_ci  innerapi_tags = [ "platformsdk" ]
649596a2c1Sopenharmony_ci  part_name = "i18n"
659596a2c1Sopenharmony_ci}
669596a2c1Sopenharmony_ci
679596a2c1Sopenharmony_ciconfig("intl_util_config") {
689596a2c1Sopenharmony_ci  include_dirs = [
699596a2c1Sopenharmony_ci    "//base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/include",
709596a2c1Sopenharmony_ci    "//base/global/i18n/frameworks/intl/entity_recognition/include",
719596a2c1Sopenharmony_ci    "//base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/include",
729596a2c1Sopenharmony_ci    "//base/global/i18n/frameworks/intl/include",
739596a2c1Sopenharmony_ci    "//base/global/i18n/interfaces/native/inner_api/i18n/include",
749596a2c1Sopenharmony_ci  ]
759596a2c1Sopenharmony_ci}
769596a2c1Sopenharmony_ciohos_shared_library("intl_util") {
779596a2c1Sopenharmony_ci  branch_protector_ret = "pac_ret"
789596a2c1Sopenharmony_ci  public_configs = [ ":intl_util_config" ]
799596a2c1Sopenharmony_ci  include_dirs = []
809596a2c1Sopenharmony_ci  sources = [ "src/lunar_calendar.cpp" ]
819596a2c1Sopenharmony_ci  external_deps = [
829596a2c1Sopenharmony_ci    "hilog:libhilog",
839596a2c1Sopenharmony_ci    "icu:shared_icui18n",
849596a2c1Sopenharmony_ci    "icu:shared_icuuc",
859596a2c1Sopenharmony_ci  ]
869596a2c1Sopenharmony_ci  cflags_cc = [
879596a2c1Sopenharmony_ci    "-Wall",
889596a2c1Sopenharmony_ci    "-fPIC",
899596a2c1Sopenharmony_ci    "-frtti",
909596a2c1Sopenharmony_ci  ]
919596a2c1Sopenharmony_ci  remove_configs = [ "//build/config/compiler:no_rtti" ]
929596a2c1Sopenharmony_ci  use_exceptions = true
939596a2c1Sopenharmony_ci  if (!build_ohos_sdk) {
949596a2c1Sopenharmony_ci    sources += [
959596a2c1Sopenharmony_ci      "entity_recognition/date_time_recognition/src/date_rule_init.cpp",
969596a2c1Sopenharmony_ci      "entity_recognition/date_time_recognition/src/date_time_filter.cpp",
979596a2c1Sopenharmony_ci      "entity_recognition/date_time_recognition/src/date_time_matched.cpp",
989596a2c1Sopenharmony_ci      "entity_recognition/date_time_recognition/src/date_time_rule.cpp",
999596a2c1Sopenharmony_ci      "entity_recognition/date_time_recognition/src/date_time_sequence.cpp",
1009596a2c1Sopenharmony_ci      "entity_recognition/date_time_recognition/src/rules_engine.cpp",
1019596a2c1Sopenharmony_ci      "entity_recognition/phone_number_recognition/src/border_rule.cpp",
1029596a2c1Sopenharmony_ci      "entity_recognition/phone_number_recognition/src/code_rule.cpp",
1039596a2c1Sopenharmony_ci      "entity_recognition/phone_number_recognition/src/find_rule.cpp",
1049596a2c1Sopenharmony_ci      "entity_recognition/phone_number_recognition/src/negative_rule.cpp",
1059596a2c1Sopenharmony_ci      "entity_recognition/phone_number_recognition/src/phone_number_matched.cpp",
1069596a2c1Sopenharmony_ci      "entity_recognition/phone_number_recognition/src/phone_number_rule.cpp",
1079596a2c1Sopenharmony_ci      "entity_recognition/phone_number_recognition/src/positive_rule.cpp",
1089596a2c1Sopenharmony_ci      "entity_recognition/phone_number_recognition/src/regex_rule.cpp",
1099596a2c1Sopenharmony_ci      "entity_recognition/src/entity_recognizer.cpp",
1109596a2c1Sopenharmony_ci      "src/character.cpp",
1119596a2c1Sopenharmony_ci      "src/collator.cpp",
1129596a2c1Sopenharmony_ci      "src/date_time_format.cpp",
1139596a2c1Sopenharmony_ci      "src/holiday_manager.cpp",
1149596a2c1Sopenharmony_ci      "src/i18n_break_iterator.cpp",
1159596a2c1Sopenharmony_ci      "src/i18n_calendar.cpp",
1169596a2c1Sopenharmony_ci      "src/i18n_normalizer.cpp",
1179596a2c1Sopenharmony_ci      "src/i18n_timezone.cpp",
1189596a2c1Sopenharmony_ci      "src/index_util.cpp",
1199596a2c1Sopenharmony_ci      "src/locale_compare.cpp",
1209596a2c1Sopenharmony_ci      "src/locale_config.cpp",
1219596a2c1Sopenharmony_ci      "src/locale_data.cpp",
1229596a2c1Sopenharmony_ci      "src/locale_info.cpp",
1239596a2c1Sopenharmony_ci      "src/locale_matcher.cpp",
1249596a2c1Sopenharmony_ci      "src/locale_util.cpp",
1259596a2c1Sopenharmony_ci      "src/measure_data.cpp",
1269596a2c1Sopenharmony_ci      "src/multi_users.cpp",
1279596a2c1Sopenharmony_ci      "src/number_format.cpp",
1289596a2c1Sopenharmony_ci      "src/phone_number_format.cpp",
1299596a2c1Sopenharmony_ci      "src/plural_rules.cpp",
1309596a2c1Sopenharmony_ci      "src/relative_time_format.cpp",
1319596a2c1Sopenharmony_ci      "src/signature_verifier.cpp",
1329596a2c1Sopenharmony_ci      "src/system_locale_manager.cpp",
1339596a2c1Sopenharmony_ci      "src/taboo.cpp",
1349596a2c1Sopenharmony_ci      "src/taboo_utils.cpp",
1359596a2c1Sopenharmony_ci      "src/utils.cpp",
1369596a2c1Sopenharmony_ci    ]
1379596a2c1Sopenharmony_ci    version_script = "libintl_util.map"
1389596a2c1Sopenharmony_ci    deps = [
1399596a2c1Sopenharmony_ci      ":CN_phonenumber_xml",
1409596a2c1Sopenharmony_ci      ":GB_phonenumber_xml",
1419596a2c1Sopenharmony_ci      ":bo_lang_xml",
1429596a2c1Sopenharmony_ci      ":common_datetime_xml",
1439596a2c1Sopenharmony_ci      ":common_phonenumber_xml",
1449596a2c1Sopenharmony_ci      ":config_locales_xml",
1459596a2c1Sopenharmony_ci      ":dialect_languages_xml",
1469596a2c1Sopenharmony_ci      ":en_Latn_lang_xml",
1479596a2c1Sopenharmony_ci      ":en_datetime_xml",
1489596a2c1Sopenharmony_ci      ":i18n.para",
1499596a2c1Sopenharmony_ci      ":i18n.para.dac",
1509596a2c1Sopenharmony_ci      ":i18n_param_config_xml",
1519596a2c1Sopenharmony_ci      ":lang_supported_locales",
1529596a2c1Sopenharmony_ci      ":region_supported_locales_xml",
1539596a2c1Sopenharmony_ci      ":root_timezone_xml",
1549596a2c1Sopenharmony_ci      ":timezones_xml",
1559596a2c1Sopenharmony_ci      ":ug_lang_xml",
1569596a2c1Sopenharmony_ci      ":zh_Hans_lang_xml",
1579596a2c1Sopenharmony_ci      ":zh_Hans_timezone_xml",
1589596a2c1Sopenharmony_ci      ":zh_Hant_HK_lang_xml",
1599596a2c1Sopenharmony_ci      ":zh_Hant_lang_xml",
1609596a2c1Sopenharmony_ci      ":zh_datetime_xml",
1619596a2c1Sopenharmony_ci    ]
1629596a2c1Sopenharmony_ci    external_deps += [
1639596a2c1Sopenharmony_ci      "access_token:libaccesstoken_sdk",
1649596a2c1Sopenharmony_ci      "access_token:libtokenid_sdk",
1659596a2c1Sopenharmony_ci      "c_utils:utils",
1669596a2c1Sopenharmony_ci      "config_policy:configpolicy_util",
1679596a2c1Sopenharmony_ci      "icu:icundk",
1689596a2c1Sopenharmony_ci      "init:libbegetutil",
1699596a2c1Sopenharmony_ci      "ipc:ipc_core",
1709596a2c1Sopenharmony_ci      "libphonenumber:phonenumber_standard",
1719596a2c1Sopenharmony_ci      "libpng:libpng",
1729596a2c1Sopenharmony_ci      "libxml2:libxml2",
1739596a2c1Sopenharmony_ci      "openssl:libcrypto_shared",
1749596a2c1Sopenharmony_ci      "openssl:libssl_shared",
1759596a2c1Sopenharmony_ci      "os_account:os_account_innerkits",
1769596a2c1Sopenharmony_ci      "preferences:native_preferences",
1779596a2c1Sopenharmony_ci    ]
1789596a2c1Sopenharmony_ci    public_external_deps = []
1799596a2c1Sopenharmony_ci    defines = []
1809596a2c1Sopenharmony_ci    if (i18n_support_ui) {
1819596a2c1Sopenharmony_ci      public_external_deps += [
1829596a2c1Sopenharmony_ci        "ability_base:base",
1839596a2c1Sopenharmony_ci        "ability_base:configuration",
1849596a2c1Sopenharmony_ci        "ability_base:want",
1859596a2c1Sopenharmony_ci      ]
1869596a2c1Sopenharmony_ci      external_deps += [
1879596a2c1Sopenharmony_ci        "ability_runtime:ability_manager",
1889596a2c1Sopenharmony_ci        "ability_runtime:app_manager",
1899596a2c1Sopenharmony_ci        "common_event_service:cesfwk_innerkits",
1909596a2c1Sopenharmony_ci      ]
1919596a2c1Sopenharmony_ci      defines += [ "SUPPORT_GRAPHICS" ]
1929596a2c1Sopenharmony_ci    }
1939596a2c1Sopenharmony_ci    if (is_asan) {
1949596a2c1Sopenharmony_ci      defines += [ "SUPPORT_ASAN" ]
1959596a2c1Sopenharmony_ci    }
1969596a2c1Sopenharmony_ci    if (target_platform == "pc") {
1979596a2c1Sopenharmony_ci      defines += [ "SUPPORT_MULTI_USER" ]
1989596a2c1Sopenharmony_ci    }
1999596a2c1Sopenharmony_ci  }
2009596a2c1Sopenharmony_ci  install_images = [ system_base_dir ]
2019596a2c1Sopenharmony_ci  relative_install_dir = "platformsdk"
2029596a2c1Sopenharmony_ci  subsystem_name = "global"
2039596a2c1Sopenharmony_ci  innerapi_tags = [ "platformsdk" ]
2049596a2c1Sopenharmony_ci  part_name = "i18n"
2059596a2c1Sopenharmony_ci}
2069596a2c1Sopenharmony_ci
2079596a2c1Sopenharmony_ciohos_prebuilt_para("i18n.para") {
2089596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/i18n.para"
2099596a2c1Sopenharmony_ci  part_name = "i18n"
2109596a2c1Sopenharmony_ci  subsystem_name = "global"
2119596a2c1Sopenharmony_ci  module_install_dir = "etc/param"
2129596a2c1Sopenharmony_ci}
2139596a2c1Sopenharmony_ci
2149596a2c1Sopenharmony_ciohos_prebuilt_para("i18n.para.dac") {
2159596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/i18n.para.dac"
2169596a2c1Sopenharmony_ci  part_name = "i18n"
2179596a2c1Sopenharmony_ci  subsystem_name = "global"
2189596a2c1Sopenharmony_ci  module_install_dir = "etc/param"
2199596a2c1Sopenharmony_ci}
2209596a2c1Sopenharmony_ci
2219596a2c1Sopenharmony_ciohos_prebuilt_etc("config_locales_xml") {
2229596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/supported_locales.xml"
2239596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_locale_config/"
2249596a2c1Sopenharmony_ci  part_name = "i18n"
2259596a2c1Sopenharmony_ci  subsystem_name = "global"
2269596a2c1Sopenharmony_ci}
2279596a2c1Sopenharmony_ci
2289596a2c1Sopenharmony_ciohos_prebuilt_etc("i18n_param_config_xml") {
2299596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/i18n_param_config.xml"
2309596a2c1Sopenharmony_ci  module_install_dir = "etc/xml/"
2319596a2c1Sopenharmony_ci  part_name = "i18n"
2329596a2c1Sopenharmony_ci  subsystem_name = "global"
2339596a2c1Sopenharmony_ci}
2349596a2c1Sopenharmony_ci
2359596a2c1Sopenharmony_ciohos_prebuilt_etc("CN_phonenumber_xml") {
2369596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/entity_recognition/etc/phonenumber/CN.xml"
2379596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_locale_config/phonenumber/"
2389596a2c1Sopenharmony_ci  part_name = "i18n"
2399596a2c1Sopenharmony_ci  subsystem_name = "global"
2409596a2c1Sopenharmony_ci}
2419596a2c1Sopenharmony_ci
2429596a2c1Sopenharmony_ciohos_prebuilt_etc("GB_phonenumber_xml") {
2439596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/entity_recognition/etc/phonenumber/GB.xml"
2449596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_locale_config/phonenumber/"
2459596a2c1Sopenharmony_ci  part_name = "i18n"
2469596a2c1Sopenharmony_ci  subsystem_name = "global"
2479596a2c1Sopenharmony_ci}
2489596a2c1Sopenharmony_ci
2499596a2c1Sopenharmony_ciohos_prebuilt_etc("common_phonenumber_xml") {
2509596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/entity_recognition/etc/phonenumber/common.xml"
2519596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_locale_config/phonenumber/"
2529596a2c1Sopenharmony_ci  part_name = "i18n"
2539596a2c1Sopenharmony_ci  subsystem_name = "global"
2549596a2c1Sopenharmony_ci}
2559596a2c1Sopenharmony_ci
2569596a2c1Sopenharmony_ciohos_prebuilt_etc("zh_datetime_xml") {
2579596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/entity_recognition/etc/datetime/zh.xml"
2589596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_locale_config/datetime/"
2599596a2c1Sopenharmony_ci  part_name = "i18n"
2609596a2c1Sopenharmony_ci  subsystem_name = "global"
2619596a2c1Sopenharmony_ci}
2629596a2c1Sopenharmony_ci
2639596a2c1Sopenharmony_ciohos_prebuilt_etc("en_datetime_xml") {
2649596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/entity_recognition/etc/datetime/en.xml"
2659596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_locale_config/datetime/"
2669596a2c1Sopenharmony_ci  part_name = "i18n"
2679596a2c1Sopenharmony_ci  subsystem_name = "global"
2689596a2c1Sopenharmony_ci}
2699596a2c1Sopenharmony_ci
2709596a2c1Sopenharmony_ciohos_prebuilt_etc("common_datetime_xml") {
2719596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/entity_recognition/etc/datetime/common.xml"
2729596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_locale_config/datetime/"
2739596a2c1Sopenharmony_ci  part_name = "i18n"
2749596a2c1Sopenharmony_ci  subsystem_name = "global"
2759596a2c1Sopenharmony_ci}
2769596a2c1Sopenharmony_ci
2779596a2c1Sopenharmony_ciohos_prebuilt_etc("lang_supported_locales") {
2789596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/lang/supported_locales.xml"
2799596a2c1Sopenharmony_ci  module_install_dir = "etc/ohos_lang_config/"
2809596a2c1Sopenharmony_ci  part_name = "i18n"
2819596a2c1Sopenharmony_ci  subsystem_name = "global"
2829596a2c1Sopenharmony_ci}
2839596a2c1Sopenharmony_ci
2849596a2c1Sopenharmony_ciohos_prebuilt_etc("zh_Hans_lang_xml") {
2859596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/lang/zh-Hans.xml"
2869596a2c1Sopenharmony_ci  module_install_dir = "etc/ohos_lang_config/"
2879596a2c1Sopenharmony_ci  part_name = "i18n"
2889596a2c1Sopenharmony_ci  subsystem_name = "global"
2899596a2c1Sopenharmony_ci}
2909596a2c1Sopenharmony_ci
2919596a2c1Sopenharmony_ciohos_prebuilt_etc("zh_Hant_lang_xml") {
2929596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/lang/zh-Hant.xml"
2939596a2c1Sopenharmony_ci  module_install_dir = "etc/ohos_lang_config/"
2949596a2c1Sopenharmony_ci  part_name = "i18n"
2959596a2c1Sopenharmony_ci  subsystem_name = "global"
2969596a2c1Sopenharmony_ci}
2979596a2c1Sopenharmony_ci
2989596a2c1Sopenharmony_ciohos_prebuilt_etc("zh_Hant_HK_lang_xml") {
2999596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/lang/zh-Hant-HK.xml"
3009596a2c1Sopenharmony_ci  module_install_dir = "etc/ohos_lang_config/"
3019596a2c1Sopenharmony_ci  part_name = "i18n"
3029596a2c1Sopenharmony_ci  subsystem_name = "global"
3039596a2c1Sopenharmony_ci}
3049596a2c1Sopenharmony_ci
3059596a2c1Sopenharmony_ciohos_prebuilt_etc("bo_lang_xml") {
3069596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/lang/bo.xml"
3079596a2c1Sopenharmony_ci  module_install_dir = "etc/ohos_lang_config/"
3089596a2c1Sopenharmony_ci  part_name = "i18n"
3099596a2c1Sopenharmony_ci  subsystem_name = "global"
3109596a2c1Sopenharmony_ci}
3119596a2c1Sopenharmony_ci
3129596a2c1Sopenharmony_ciohos_prebuilt_etc("ug_lang_xml") {
3139596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/lang/ug.xml"
3149596a2c1Sopenharmony_ci  module_install_dir = "etc/ohos_lang_config/"
3159596a2c1Sopenharmony_ci  part_name = "i18n"
3169596a2c1Sopenharmony_ci  subsystem_name = "global"
3179596a2c1Sopenharmony_ci}
3189596a2c1Sopenharmony_ci
3199596a2c1Sopenharmony_ciohos_prebuilt_etc("zh_Hans_timezone_xml") {
3209596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/timezone/zh_Hans.xml"
3219596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_timezone/ohos_city_dispname/"
3229596a2c1Sopenharmony_ci  part_name = "i18n"
3239596a2c1Sopenharmony_ci  subsystem_name = "global"
3249596a2c1Sopenharmony_ci}
3259596a2c1Sopenharmony_ci
3269596a2c1Sopenharmony_ciohos_prebuilt_etc("en_Latn_lang_xml") {
3279596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/lang/en-Latn.xml"
3289596a2c1Sopenharmony_ci  module_install_dir = "etc/ohos_lang_config/"
3299596a2c1Sopenharmony_ci  part_name = "i18n"
3309596a2c1Sopenharmony_ci  subsystem_name = "global"
3319596a2c1Sopenharmony_ci}
3329596a2c1Sopenharmony_ci
3339596a2c1Sopenharmony_ciohos_prebuilt_etc("root_timezone_xml") {
3349596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/timezone/root.xml"
3359596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_timezone/ohos_city_dispname/"
3369596a2c1Sopenharmony_ci  part_name = "i18n"
3379596a2c1Sopenharmony_ci  subsystem_name = "global"
3389596a2c1Sopenharmony_ci}
3399596a2c1Sopenharmony_ci
3409596a2c1Sopenharmony_ciohos_prebuilt_etc("timezones_xml") {
3419596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/timezone/ohos_timezones.xml"
3429596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_timezone/"
3439596a2c1Sopenharmony_ci  part_name = "i18n"
3449596a2c1Sopenharmony_ci  subsystem_name = "global"
3459596a2c1Sopenharmony_ci}
3469596a2c1Sopenharmony_ci
3479596a2c1Sopenharmony_ciohos_prebuilt_etc("region_supported_locales_xml") {
3489596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/region/supported_regions.xml"
3499596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_locale_config/region/"
3509596a2c1Sopenharmony_ci  part_name = "i18n"
3519596a2c1Sopenharmony_ci  subsystem_name = "global"
3529596a2c1Sopenharmony_ci}
3539596a2c1Sopenharmony_ci
3549596a2c1Sopenharmony_ciohos_prebuilt_etc("dialect_languages_xml") {
3559596a2c1Sopenharmony_ci  source = "//base/global/i18n/frameworks/intl/etc/dialect_languages.xml"
3569596a2c1Sopenharmony_ci  module_install_dir = "usr/ohos_locale_config/"
3579596a2c1Sopenharmony_ci  part_name = "i18n"
3589596a2c1Sopenharmony_ci  subsystem_name = "global"
3599596a2c1Sopenharmony_ci}
360