diff --git a/frameworks/intl/test/BUILD.gn b/frameworks/intl/test/BUILD.gn index 197c89cd..072c4034 100644 --- a/frameworks/intl/test/BUILD.gn +++ b/frameworks/intl/test/BUILD.gn @@ -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", ] diff --git a/frameworks/intl/test/fuzztest/datetimefilter_fuzzer/BUILD.gn b/frameworks/intl/test/fuzztest/datetimefilter_fuzzer/BUILD.gn index 1fcec9f9..51e58343 100644 --- a/frameworks/intl/test/fuzztest/datetimefilter_fuzzer/BUILD.gn +++ b/frameworks/intl/test/fuzztest/datetimefilter_fuzzer/BUILD.gn @@ -39,6 +39,7 @@ ohos_fuzztest("DateTimeFilterFuzzTest") { external_deps = [ "icu:shared_icui18n", "icu:shared_icuuc", + "libxml2:libxml2", ] subsystem_name = "global" diff --git a/frameworks/intl/test/fuzztest/datetimerule_fuzzer/BUILD.gn b/frameworks/intl/test/fuzztest/datetimerule_fuzzer/BUILD.gn index 2383592d..2400d328 100644 --- a/frameworks/intl/test/fuzztest/datetimerule_fuzzer/BUILD.gn +++ b/frameworks/intl/test/fuzztest/datetimerule_fuzzer/BUILD.gn @@ -39,6 +39,7 @@ ohos_fuzztest("DateTimeRuleFuzzTest") { external_deps = [ "icu:shared_icui18n", "icu:shared_icuuc", + "libxml2:libxml2", ] subsystem_name = "global" diff --git a/frameworks/intl/test/fuzztest/entityrecongnizer_fuzzer/BUILD.gn b/frameworks/intl/test/fuzztest/entityrecongnizer_fuzzer/BUILD.gn index 41acc049..723e1db4 100644 --- a/frameworks/intl/test/fuzztest/entityrecongnizer_fuzzer/BUILD.gn +++ b/frameworks/intl/test/fuzztest/entityrecongnizer_fuzzer/BUILD.gn @@ -40,6 +40,7 @@ ohos_fuzztest("EntityRecongnizerFuzzTest") { "icu:shared_icui18n", "icu:shared_icuuc", "libphonenumber:phonenumber_standard", + "libxml2:libxml2", ] subsystem_name = "global" diff --git a/frameworks/intl/test/fuzztest/phonenumbermatched_fuzzer/BUILD.gn b/frameworks/intl/test/fuzztest/phonenumbermatched_fuzzer/BUILD.gn index facef05b..c3dc3cc7 100644 --- a/frameworks/intl/test/fuzztest/phonenumbermatched_fuzzer/BUILD.gn +++ b/frameworks/intl/test/fuzztest/phonenumbermatched_fuzzer/BUILD.gn @@ -39,6 +39,7 @@ ohos_fuzztest("PhoneNumberMatchedFuzzTest") { "icu:shared_icui18n", "icu:shared_icuuc", "libphonenumber:phonenumber_standard", + "libxml2:libxml2", ] subsystem_name = "global" diff --git a/frameworks/intl/test/fuzztest/regexrule_fuzzer/BUILD.gn b/frameworks/intl/test/fuzztest/regexrule_fuzzer/BUILD.gn index b966b7d8..6e8b58d9 100644 --- a/frameworks/intl/test/fuzztest/regexrule_fuzzer/BUILD.gn +++ b/frameworks/intl/test/fuzztest/regexrule_fuzzer/BUILD.gn @@ -40,6 +40,7 @@ ohos_fuzztest("RegexRuleFuzzTest") { "icu:shared_icui18n", "icu:shared_icuuc", "libphonenumber:phonenumber_standard", + "libxml2:libxml2", ] subsystem_name = "global" diff --git a/frameworks/intl/test/fuzztest/rulesengine_fuzzer/BUILD.gn b/frameworks/intl/test/fuzztest/rulesengine_fuzzer/BUILD.gn index 4eb0da21..248775d6 100644 --- a/frameworks/intl/test/fuzztest/rulesengine_fuzzer/BUILD.gn +++ b/frameworks/intl/test/fuzztest/rulesengine_fuzzer/BUILD.gn @@ -38,6 +38,7 @@ ohos_fuzztest("RulesEngineFuzzTest") { external_deps = [ "icu:shared_icui18n", "icu:shared_icuuc", + "libxml2:libxml2", ] subsystem_name = "global" diff --git a/frameworks/zone/test/BUILD.gn b/frameworks/zone/test/BUILD.gn index 13650ddc..7f51ec78 100644 --- a/frameworks/zone/test/BUILD.gn +++ b/frameworks/zone/test/BUILD.gn @@ -25,6 +25,8 @@ ohos_unittest("zone_util_test") { external_deps = [ "c_utils:utils", "googletest:gtest", + "icu:shared_icuuc", "libphonenumber:phonenumber_standard", + "libxml2:libxml2", ] } diff --git a/services/test/BUILD.gn b/services/test/BUILD.gn index 1d0d6156..1ed45885 100644 --- a/services/test/BUILD.gn +++ b/services/test/BUILD.gn @@ -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", ]