update icu4c/BUILD.gn.

Signed-off-by: wangkexin <wangkexin14@huawei.com>
This commit is contained in:
wangkexin 2024-05-05 04:00:23 +00:00 committed by Gitee
parent 7bbc51545d
commit f7c3f44747
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -542,7 +542,8 @@ ohos_shared_library("shared_icuuc") {
"UCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
"_REENTRANT",
]
if (icu_support_libbegetutil && !is_mingw && (current_cpu == "arm" || current_cpu == "arm64" )) {
if (icu_support_libbegetutil && !is_mingw &&
(current_cpu == "arm" || current_cpu == "arm64")) {
defines += [ "ICU_SUPPORT_LIBBEGETUTIL" ]
external_deps += [ "init:libbegetutil" ]
}