mirror of
https://gitee.com/openharmony/global_i18n
synced 2024-11-23 07:00:13 +00:00
独立编译test部分整改
Signed-off-by: zhaohang <zhaohang44@huawei.com>
This commit is contained in:
parent
74882127a2
commit
d3509db232
@ -19,6 +19,8 @@ module_output_path = "i18n/intl_test"
|
||||
ohos_unittest("intl_test") {
|
||||
module_out_path = module_output_path
|
||||
|
||||
cflags_cc = [ "-Wno-inconsistent-missing-override" ]
|
||||
|
||||
sources = [
|
||||
"unittest/i18n_test.cpp",
|
||||
"unittest/intl_number_format_test.cpp",
|
||||
@ -50,8 +52,10 @@ ohos_unittest("intl_test") {
|
||||
"icu:shared_icui18n",
|
||||
"icu:shared_icuuc",
|
||||
"init:libbegetutil",
|
||||
"ipc:ipc_core",
|
||||
"libphonenumber:phonenumber_standard",
|
||||
"libpng:libpng",
|
||||
"libxml2:libxml2",
|
||||
"openssl:libssl_shared",
|
||||
"preferences:native_preferences",
|
||||
]
|
||||
|
@ -39,6 +39,7 @@ ohos_fuzztest("DateTimeFilterFuzzTest") {
|
||||
external_deps = [
|
||||
"icu:shared_icui18n",
|
||||
"icu:shared_icuuc",
|
||||
"libxml2:libxml2",
|
||||
]
|
||||
|
||||
subsystem_name = "global"
|
||||
|
@ -39,6 +39,7 @@ ohos_fuzztest("DateTimeRuleFuzzTest") {
|
||||
external_deps = [
|
||||
"icu:shared_icui18n",
|
||||
"icu:shared_icuuc",
|
||||
"libxml2:libxml2",
|
||||
]
|
||||
|
||||
subsystem_name = "global"
|
||||
|
@ -40,6 +40,7 @@ ohos_fuzztest("EntityRecongnizerFuzzTest") {
|
||||
"icu:shared_icui18n",
|
||||
"icu:shared_icuuc",
|
||||
"libphonenumber:phonenumber_standard",
|
||||
"libxml2:libxml2",
|
||||
]
|
||||
|
||||
subsystem_name = "global"
|
||||
|
@ -39,6 +39,7 @@ ohos_fuzztest("PhoneNumberMatchedFuzzTest") {
|
||||
"icu:shared_icui18n",
|
||||
"icu:shared_icuuc",
|
||||
"libphonenumber:phonenumber_standard",
|
||||
"libxml2:libxml2",
|
||||
]
|
||||
|
||||
subsystem_name = "global"
|
||||
|
@ -40,6 +40,7 @@ ohos_fuzztest("RegexRuleFuzzTest") {
|
||||
"icu:shared_icui18n",
|
||||
"icu:shared_icuuc",
|
||||
"libphonenumber:phonenumber_standard",
|
||||
"libxml2:libxml2",
|
||||
]
|
||||
|
||||
subsystem_name = "global"
|
||||
|
@ -38,6 +38,7 @@ ohos_fuzztest("RulesEngineFuzzTest") {
|
||||
external_deps = [
|
||||
"icu:shared_icui18n",
|
||||
"icu:shared_icuuc",
|
||||
"libxml2:libxml2",
|
||||
]
|
||||
|
||||
subsystem_name = "global"
|
||||
|
@ -25,6 +25,8 @@ ohos_unittest("zone_util_test") {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"googletest:gtest",
|
||||
"icu:shared_icuuc",
|
||||
"libphonenumber:phonenumber_standard",
|
||||
"libxml2:libxml2",
|
||||
]
|
||||
}
|
||||
|
@ -32,6 +32,8 @@ ohos_unittest("i18n_service_test") {
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"access_token:libnativetoken",
|
||||
"access_token:libtoken_setproc",
|
||||
"c_utils:utils",
|
||||
"common_event_service:cesfwk_innerkits",
|
||||
"googletest:gtest",
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user