From b9929d589a881b5ccccc65230933e21d4e9023e1 Mon Sep 17 00:00:00 2001 From: zhuzhihui7 Date: Wed, 22 Jan 2025 14:18:37 +0800 Subject: [PATCH] =?UTF-8?q?distributedhardware=5Fdistributed=5Finput?= =?UTF-8?q?=E9=83=A8=E4=BB=B6=E6=94=AF=E6=8C=81=E7=8B=AC=E7=AB=8B=E7=BC=96?= =?UTF-8?q?=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhuzhihui7 --- interfaces/inner_kits/test/unittest/BUILD.gn | 1 + services/sink/sinkmanager/test/sinkmanagerunittest/BUILD.gn | 1 + services/source/transport/test/sourcetransunittest/BUILD.gn | 3 +++ services/transportbase/test/transbaseunittest/BUILD.gn | 1 + sourcehandler/test/unittest/BUILD.gn | 1 + test/fuzztest/dinputconfigdh_fuzzer/BUILD.gn | 1 + test/fuzztest/dinputinitsink_fuzzer/BUILD.gn | 1 + test/fuzztest/dinputinitsource_fuzzer/BUILD.gn | 1 + test/fuzztest/dinputonsessionclosed_fuzzer/BUILD.gn | 1 + test/fuzztest/dinputonsessionopend_fuzzer/BUILD.gn | 1 + test/fuzztest/dinputreleasesink_fuzzer/BUILD.gn | 1 + test/fuzztest/dinputreleasesource_fuzzer/BUILD.gn | 1 + test/fuzztest/dinputsubscribelocaldh_fuzzer/BUILD.gn | 1 + test/fuzztest/distributedinputclient_fuzzer/BUILD.gn | 1 + test/fuzztest/distributedinputkit_fuzzer/BUILD.gn | 2 ++ test/fuzztest/distributedinputsinktransport_fuzzer/BUILD.gn | 1 + test/fuzztest/distributedinputsourcetransport_fuzzer/BUILD.gn | 1 + test/fuzztest/distributedinputtransportbase_fuzzer/BUILD.gn | 1 + 18 files changed, 21 insertions(+) diff --git a/interfaces/inner_kits/test/unittest/BUILD.gn b/interfaces/inner_kits/test/unittest/BUILD.gn index 07c7aaf..13bed79 100644 --- a/interfaces/inner_kits/test/unittest/BUILD.gn +++ b/interfaces/inner_kits/test/unittest/BUILD.gn @@ -104,6 +104,7 @@ ohos_unittest("distributed_input_inner_test") { "hilog:libhilog", "ipc:ipc_core", "json:nlohmann_json_static", + "samgr:samgr_proxy", ] cflags_cc = [ "-DHILOG_ENABLE" ] diff --git a/services/sink/sinkmanager/test/sinkmanagerunittest/BUILD.gn b/services/sink/sinkmanager/test/sinkmanagerunittest/BUILD.gn index 4805cef..5f7e1e5 100755 --- a/services/sink/sinkmanager/test/sinkmanagerunittest/BUILD.gn +++ b/services/sink/sinkmanager/test/sinkmanagerunittest/BUILD.gn @@ -108,6 +108,7 @@ ohos_unittest("distributed_input_sinkmanager_test") { "graphic_surface:surface", "hicollie:libhicollie", "hilog:libhilog", + "hisysevent:libhisysevent", "ipc:ipc_core", "json:nlohmann_json_static", "libevdev:libevdev", diff --git a/services/source/transport/test/sourcetransunittest/BUILD.gn b/services/source/transport/test/sourcetransunittest/BUILD.gn index da89b44..4e11032 100755 --- a/services/source/transport/test/sourcetransunittest/BUILD.gn +++ b/services/source/transport/test/sourcetransunittest/BUILD.gn @@ -84,8 +84,11 @@ ohos_unittest("distributed_input_sourcetrans_test") { "eventhandler:libeventhandler", "hilog:libhilog", "hitrace:hitrace_meter", + "ipc:ipc_core", "json:nlohmann_json_static", "libevdev:libevdev", + "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] cflags_cc = [ "-DHILOG_ENABLE" ] diff --git a/services/transportbase/test/transbaseunittest/BUILD.gn b/services/transportbase/test/transbaseunittest/BUILD.gn index 0c7183b..8f5e667 100644 --- a/services/transportbase/test/transbaseunittest/BUILD.gn +++ b/services/transportbase/test/transbaseunittest/BUILD.gn @@ -87,6 +87,7 @@ ohos_unittest("distributed_input_transbase_test") { "ipc:ipc_core", "json:nlohmann_json_static", "libevdev:libevdev", + "samgr:samgr_proxy", ] cflags_cc = [ "-DHILOG_ENABLE" ] diff --git a/sourcehandler/test/unittest/BUILD.gn b/sourcehandler/test/unittest/BUILD.gn index 1552a55..acc26d9 100755 --- a/sourcehandler/test/unittest/BUILD.gn +++ b/sourcehandler/test/unittest/BUILD.gn @@ -80,6 +80,7 @@ ohos_unittest("distributed_input_source_handler_test") { "ipc:ipc_core", "json:nlohmann_json_static", "libevdev:libevdev", + "safwk:system_ability_fwk", "samgr:samgr_proxy", ] diff --git a/test/fuzztest/dinputconfigdh_fuzzer/BUILD.gn b/test/fuzztest/dinputconfigdh_fuzzer/BUILD.gn index 9e19f17..6d633b3 100644 --- a/test/fuzztest/dinputconfigdh_fuzzer/BUILD.gn +++ b/test/fuzztest/dinputconfigdh_fuzzer/BUILD.gn @@ -61,6 +61,7 @@ ohos_fuzztest("DinputConfigDhFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/dinputinitsink_fuzzer/BUILD.gn b/test/fuzztest/dinputinitsink_fuzzer/BUILD.gn index 59a5609..b8dfb11 100644 --- a/test/fuzztest/dinputinitsink_fuzzer/BUILD.gn +++ b/test/fuzztest/dinputinitsink_fuzzer/BUILD.gn @@ -59,6 +59,7 @@ ohos_fuzztest("DinputInitSinkFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/dinputinitsource_fuzzer/BUILD.gn b/test/fuzztest/dinputinitsource_fuzzer/BUILD.gn index 5851cfc..7fd5941 100644 --- a/test/fuzztest/dinputinitsource_fuzzer/BUILD.gn +++ b/test/fuzztest/dinputinitsource_fuzzer/BUILD.gn @@ -61,6 +61,7 @@ ohos_fuzztest("DinputInitSourceFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/dinputonsessionclosed_fuzzer/BUILD.gn b/test/fuzztest/dinputonsessionclosed_fuzzer/BUILD.gn index e01d84a..65205e8 100644 --- a/test/fuzztest/dinputonsessionclosed_fuzzer/BUILD.gn +++ b/test/fuzztest/dinputonsessionclosed_fuzzer/BUILD.gn @@ -65,6 +65,7 @@ ohos_fuzztest("DinputOnSessionClosedFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/dinputonsessionopend_fuzzer/BUILD.gn b/test/fuzztest/dinputonsessionopend_fuzzer/BUILD.gn index dbc16d7..a0e99aa 100644 --- a/test/fuzztest/dinputonsessionopend_fuzzer/BUILD.gn +++ b/test/fuzztest/dinputonsessionopend_fuzzer/BUILD.gn @@ -65,6 +65,7 @@ ohos_fuzztest("DinputOnSessionOpendFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/dinputreleasesink_fuzzer/BUILD.gn b/test/fuzztest/dinputreleasesink_fuzzer/BUILD.gn index da48302..1b62550 100644 --- a/test/fuzztest/dinputreleasesink_fuzzer/BUILD.gn +++ b/test/fuzztest/dinputreleasesink_fuzzer/BUILD.gn @@ -59,6 +59,7 @@ ohos_fuzztest("DinputReleaseSinkFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/dinputreleasesource_fuzzer/BUILD.gn b/test/fuzztest/dinputreleasesource_fuzzer/BUILD.gn index feed3f0..5ee2fbf 100644 --- a/test/fuzztest/dinputreleasesource_fuzzer/BUILD.gn +++ b/test/fuzztest/dinputreleasesource_fuzzer/BUILD.gn @@ -61,6 +61,7 @@ ohos_fuzztest("DinputReleaseSourceFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/dinputsubscribelocaldh_fuzzer/BUILD.gn b/test/fuzztest/dinputsubscribelocaldh_fuzzer/BUILD.gn index 6f6dbdf..b5b0cbf 100644 --- a/test/fuzztest/dinputsubscribelocaldh_fuzzer/BUILD.gn +++ b/test/fuzztest/dinputsubscribelocaldh_fuzzer/BUILD.gn @@ -59,6 +59,7 @@ ohos_fuzztest("DinputSubscribeLocalDhFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/distributedinputclient_fuzzer/BUILD.gn b/test/fuzztest/distributedinputclient_fuzzer/BUILD.gn index ed010c2..503cefb 100755 --- a/test/fuzztest/distributedinputclient_fuzzer/BUILD.gn +++ b/test/fuzztest/distributedinputclient_fuzzer/BUILD.gn @@ -63,6 +63,7 @@ ohos_fuzztest("DistributedInputClientFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/distributedinputkit_fuzzer/BUILD.gn b/test/fuzztest/distributedinputkit_fuzzer/BUILD.gn index 903bd09..ebd9ce4 100755 --- a/test/fuzztest/distributedinputkit_fuzzer/BUILD.gn +++ b/test/fuzztest/distributedinputkit_fuzzer/BUILD.gn @@ -60,6 +60,8 @@ ohos_fuzztest("DistributedInputKitFuzzTest") { "ipc:ipc_core", "json:nlohmann_json_static", "libevdev:libevdev", + "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/distributedinputsinktransport_fuzzer/BUILD.gn b/test/fuzztest/distributedinputsinktransport_fuzzer/BUILD.gn index bdc0ac2..24b019a 100755 --- a/test/fuzztest/distributedinputsinktransport_fuzzer/BUILD.gn +++ b/test/fuzztest/distributedinputsinktransport_fuzzer/BUILD.gn @@ -64,6 +64,7 @@ ohos_fuzztest("DistributedInputSinkTransportFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/distributedinputsourcetransport_fuzzer/BUILD.gn b/test/fuzztest/distributedinputsourcetransport_fuzzer/BUILD.gn index d64cc59..61b1057 100755 --- a/test/fuzztest/distributedinputsourcetransport_fuzzer/BUILD.gn +++ b/test/fuzztest/distributedinputsourcetransport_fuzzer/BUILD.gn @@ -69,6 +69,7 @@ ohos_fuzztest("DistributedInputSourceTransportFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ diff --git a/test/fuzztest/distributedinputtransportbase_fuzzer/BUILD.gn b/test/fuzztest/distributedinputtransportbase_fuzzer/BUILD.gn index 455674a..f795c5e 100644 --- a/test/fuzztest/distributedinputtransportbase_fuzzer/BUILD.gn +++ b/test/fuzztest/distributedinputtransportbase_fuzzer/BUILD.gn @@ -68,6 +68,7 @@ ohos_fuzztest("DistributedInputTransportBaseFuzzTest") { "json:nlohmann_json_static", "libevdev:libevdev", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] defines = [ -- Gitee