From 71eb210784ae3875a277baa0af92af4c5c7d35f8 Mon Sep 17 00:00:00 2001 From: blc Date: Mon, 25 Aug 2025 20:56:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E7=BC=96=E8=AF=91=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: blc --- frameworks/kits/extension_cj/BUILD.gn | 1 + test/fuzztest/imeenabledinfomanager_fuzzer/BUILD.gn | 1 + test/fuzztest/imeeventmonitormanager_fuzzer/BUILD.gn | 5 +++++ test/unittest/cpp_test/BUILD.gn | 7 +++++++ 4 files changed, 14 insertions(+) diff --git a/frameworks/kits/extension_cj/BUILD.gn b/frameworks/kits/extension_cj/BUILD.gn index 01093bd98..b482d9981 100644 --- a/frameworks/kits/extension_cj/BUILD.gn +++ b/frameworks/kits/extension_cj/BUILD.gn @@ -93,6 +93,7 @@ ohos_shared_library("cj_inputmethod_extension_ffi") { "napi:cj_bind_ffi", "napi:cj_bind_native", "ipc:ipc_napi", + "ipc:ipc_single", ] innerapi_tags = [ "platformsdk" ] diff --git a/test/fuzztest/imeenabledinfomanager_fuzzer/BUILD.gn b/test/fuzztest/imeenabledinfomanager_fuzzer/BUILD.gn index 5cdb41d47..8a328d996 100644 --- a/test/fuzztest/imeenabledinfomanager_fuzzer/BUILD.gn +++ b/test/fuzztest/imeenabledinfomanager_fuzzer/BUILD.gn @@ -56,6 +56,7 @@ ohos_fuzztest("ImeEnabledInfoManagerFuzzTest") { "init:libbeget_proxy", "init:libbegetutil", "input:libmmi-client", + "ipc:ipc_single", "resource_management:global_resmgr", ] } diff --git a/test/fuzztest/imeeventmonitormanager_fuzzer/BUILD.gn b/test/fuzztest/imeeventmonitormanager_fuzzer/BUILD.gn index 2f304578d..33c63bca7 100644 --- a/test/fuzztest/imeeventmonitormanager_fuzzer/BUILD.gn +++ b/test/fuzztest/imeeventmonitormanager_fuzzer/BUILD.gn @@ -42,6 +42,11 @@ ohos_fuzztest("ImeEventMonitorManagerFuzzTest") { ] } +external_deps = [ + "hilog:libhilog", + "ipc:ipc_single", +] + ############################################################################### group("fuzztest") { testonly = true diff --git a/test/unittest/cpp_test/BUILD.gn b/test/unittest/cpp_test/BUILD.gn index ec109c267..823f072a5 100644 --- a/test/unittest/cpp_test/BUILD.gn +++ b/test/unittest/cpp_test/BUILD.gn @@ -151,6 +151,7 @@ ohos_unittest("InputMethodAttachTest") { "googletest:gtest_main", "hilog:libhilog", "input:libmmi-client", + "ipc:ipc_single", "napi:ace_napi", "safwk:system_ability_fwk", "window_manager:libdm", @@ -522,6 +523,7 @@ ohos_unittest("InputMethodSwitchTest") { "googletest:gtest_main", "hilog:libhilog", "input:libmmi-client", + "ipc:ipc_single", "safwk:system_ability_fwk", ] @@ -716,6 +718,7 @@ ohos_unittest("NewImeSwitchTest") { "googletest:gtest_main", "hilog:libhilog", "input:libmmi-client", + "ipc:ipc_single", "safwk:system_ability_fwk", ] @@ -1238,6 +1241,7 @@ ohos_unittest("ImeControllerCpaiTest") { "googletest:gmock", "hilog:libhilog", "input:libmmi-client", + "ipc:ipc_single", ] } @@ -1474,6 +1478,7 @@ ohos_unittest("InputMethodManagerCommandTest") { "c_utils:utils", "hilog:libhilog", "input:libmmi-client", + "ipc:ipc_single", ] if (window_manager_use_sceneboard) { @@ -1518,6 +1523,7 @@ ohos_unittest("ImeEnabledInfoManagerTest") { "init:libbeget_proxy", "init:libbegetutil", "input:libmmi-client", + "ipc:ipc_single", "resource_management:global_resmgr", ] if (window_manager_use_sceneboard) { @@ -1589,6 +1595,7 @@ ohos_unittest("NumKeyAppsManagerTest") { "init:libbeget_proxy", "init:libbegetutil", "input:libmmi-client", + "ipc:ipc_single", "resource_management:global_resmgr", ] } -- Gitee