!126 icu data 裁剪

Merge pull request !126 from qugr/master
This commit is contained in:
openharmony_ci 2023-04-04 07:24:23 +00:00 committed by Gitee
commit 3e75493529
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -612,7 +612,14 @@ ohos_static_library("static_icuuc") {
":icu_config",
"//build/config/compiler:rtti",
]
deps = [ ":static_icustubdata" ]
is_cross_platform_build =
defined(build_cross_platform_version) && build_cross_platform_version
if (!is_cross_platform_build || current_toolchain == host_toolchain) {
deps = [ ":static_icustubdata" ]
}
defines = [
"U_ATTRIBUTE_DEPRECATED=",
"U_COMMON_IMPLEMENTATION",