From 1a63f6d3acbbdbb1f135ed4f514694affa79af84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=B7=E9=A6=99=E5=A8=9F?= Date: Sat, 16 Aug 2025 14:16:37 +0800 Subject: [PATCH] test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 康香娟 --- frameworks/js/napi/http/BUILD.gn | 1 + interfaces/innerkits/http_client/BUILD.gn | 1 + test/unittest/http/BUILD.gn | 1 + test/unittest/utils/http_handover_handler/BUILD.gn | 1 + test/unittest/utils/netstack_chr_client/BUILD.gn | 1 + test/unittest/utils/profiler_utils/BUILD.gn | 1 + utils/napi_utils/BUILD.gn | 2 ++ 7 files changed, 8 insertions(+) diff --git a/frameworks/js/napi/http/BUILD.gn b/frameworks/js/napi/http/BUILD.gn index ecca6f01a..95f7e93ab 100644 --- a/frameworks/js/napi/http/BUILD.gn +++ b/frameworks/js/napi/http/BUILD.gn @@ -141,6 +141,7 @@ ohos_shared_library("http") { "cJSON:cjson", "curl:curl_shared_http3", "hilog:libhilog", + "ipc:ipc_single", "hiprofiler:libnetwork_profiler", "hitrace:hitrace_meter", "napi:ace_napi", diff --git a/interfaces/innerkits/http_client/BUILD.gn b/interfaces/innerkits/http_client/BUILD.gn index ddd67d95e..570e88569 100644 --- a/interfaces/innerkits/http_client/BUILD.gn +++ b/interfaces/innerkits/http_client/BUILD.gn @@ -144,6 +144,7 @@ ohos_shared_library("http_client") { "hilog:libhilog", "hiprofiler:libnetwork_profiler", "hitrace:hitrace_meter", + "ipc:ipc_single", "netmanager_base:net_conn_manager_if", "netmanager_base:net_security_config_if", "time_service:time_client", diff --git a/test/unittest/http/BUILD.gn b/test/unittest/http/BUILD.gn index 0fe43cf34..ed3a2e53a 100644 --- a/test/unittest/http/BUILD.gn +++ b/test/unittest/http/BUILD.gn @@ -107,6 +107,7 @@ ohos_unittest("http_unittest") { "hilog:libhilog", "hiprofiler:libnetwork_profiler", "hitrace:hitrace_meter", + "ipc:ipc_single", "napi:ace_napi", "time_service:time_client", ] diff --git a/test/unittest/utils/http_handover_handler/BUILD.gn b/test/unittest/utils/http_handover_handler/BUILD.gn index 6bc01e160..fb4d1ab31 100644 --- a/test/unittest/utils/http_handover_handler/BUILD.gn +++ b/test/unittest/utils/http_handover_handler/BUILD.gn @@ -65,6 +65,7 @@ ohos_unittest("http_handover_handler_test") { "curl:curl_shared", "hiprofiler:libnetwork_profiler", "init:libbegetutil", + "ipc:ipc_single", "napi:ace_napi", "time_service:time_client", "hiappevent:hiappevent_innerapi", diff --git a/test/unittest/utils/netstack_chr_client/BUILD.gn b/test/unittest/utils/netstack_chr_client/BUILD.gn index ca544cca0..0f60aef43 100644 --- a/test/unittest/utils/netstack_chr_client/BUILD.gn +++ b/test/unittest/utils/netstack_chr_client/BUILD.gn @@ -45,6 +45,7 @@ ohos_unittest("netstack_common_utils_test") { external_deps += [ "curl:curl_shared", "ability_runtime:wantagent_innerkits", + "ipc:ipc_single", ] sources = [ diff --git a/test/unittest/utils/profiler_utils/BUILD.gn b/test/unittest/utils/profiler_utils/BUILD.gn index 3d41f9a49..64fb89b6f 100644 --- a/test/unittest/utils/profiler_utils/BUILD.gn +++ b/test/unittest/utils/profiler_utils/BUILD.gn @@ -54,6 +54,7 @@ ohos_unittest("netstack_network_profiler_utils_test") { "curl:curl_shared", "hiprofiler:libnetwork_profiler", "init:libbegetutil", + "ipc:ipc_single", "napi:ace_napi", "time_service:time_client", ] diff --git a/utils/napi_utils/BUILD.gn b/utils/napi_utils/BUILD.gn index b6078522f..4cd7d19ab 100644 --- a/utils/napi_utils/BUILD.gn +++ b/utils/napi_utils/BUILD.gn @@ -53,6 +53,7 @@ ohos_static_library("napi_utils") { "cJSON:cjson", "c_utils:utils", "hilog:libhilog", + "ipc:ipc_single", "napi:ace_napi", ] @@ -107,6 +108,7 @@ ohos_static_library("napi_utils_static") { "hiappevent:hiappevent_innerapi", "time_service:time_client", "ability_runtime:wantagent_innerkits", + "ipc:ipc_single", ] } -- Gitee