diff --git a/icu.gni b/icu.gni index 62afc365..1828c345 100644 --- a/icu.gni +++ b/icu.gni @@ -13,4 +13,5 @@ declare_args() { icu_support_locales = true + build_feature = "normal" } diff --git a/icu4c/BUILD.gn b/icu4c/BUILD.gn index 155c0f16..bb092ced 100644 --- a/icu4c/BUILD.gn +++ b/icu4c/BUILD.gn @@ -57,7 +57,7 @@ ohos_static_library("static_icustubdata") { ohos_prebuilt_etc("ohos_icudat") { if ("${product_name}" == "ohcore") { source = "//third_party/icu/ohos_icu4j/data/icudt68l.dat" - } else if ("${product_name}" == "higeneric") { + } else if ("${build_feature}" == "lite") { source = "//third_party/icu/ohos_icu4j/data/lite/icudt72l.dat" } else if (icu_support_locales) { source = "//third_party/icu/ohos_icu4j/data/icudt72l.dat"