update icu4c/BUILD.gn.

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

View File

@ -542,8 +542,7 @@ 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 == "arm64") {
defines += [ "ICU_SUPPORT_LIBBEGETUTIL" ]
external_deps += [ "init:libbegetutil" ]
}