From 791c96a593167eaa54456a9275572167479f414d Mon Sep 17 00:00:00 2001 From: wuminjie Date: Fri, 28 Mar 2025 16:32:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E7=BC=96=E8=AF=91=E6=95=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuminjie --- services/samgr/native/test/unittest/BUILD.gn | 3 +++ test/fuzztest/samgr_fuzzer/BUILD.gn | 1 + test/fuzztest/samgrcoverage_fuzzer/BUILD.gn | 1 + test/fuzztest/samgrdumper_fuzzer/BUILD.gn | 1 + test/fuzztest/systemabilitymanager_fuzzer/BUILD.gn | 1 + 5 files changed, 7 insertions(+) diff --git a/services/samgr/native/test/unittest/BUILD.gn b/services/samgr/native/test/unittest/BUILD.gn index 3b0a2f5c..94c96b0c 100644 --- a/services/samgr/native/test/unittest/BUILD.gn +++ b/services/samgr/native/test/unittest/BUILD.gn @@ -731,6 +731,7 @@ ohos_unittest("SystemAbilityMgrDumperTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", ] defines = [] if (samgr_support_access_token) { @@ -784,6 +785,7 @@ ohos_unittest("MockSystemAbilityManagerTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", ] defines = [] if (samgr_support_access_token) { @@ -989,6 +991,7 @@ ohos_executable("TestTool") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", ] part_name = "samgr" subsystem_name = "systemabilitymgr" diff --git a/test/fuzztest/samgr_fuzzer/BUILD.gn b/test/fuzztest/samgr_fuzzer/BUILD.gn index 62412f66..b86f6e95 100644 --- a/test/fuzztest/samgr_fuzzer/BUILD.gn +++ b/test/fuzztest/samgr_fuzzer/BUILD.gn @@ -183,6 +183,7 @@ foreach(item, samgr_fuzztests) { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", "samgr:samgr_common", "samgr:samgr_proxy", ] diff --git a/test/fuzztest/samgrcoverage_fuzzer/BUILD.gn b/test/fuzztest/samgrcoverage_fuzzer/BUILD.gn index 328c79b6..39065272 100644 --- a/test/fuzztest/samgrcoverage_fuzzer/BUILD.gn +++ b/test/fuzztest/samgrcoverage_fuzzer/BUILD.gn @@ -86,6 +86,7 @@ ohos_fuzztest("SamgrCoverageFuzzTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", "samgr:samgr_common", "samgr:samgr_proxy", ] diff --git a/test/fuzztest/samgrdumper_fuzzer/BUILD.gn b/test/fuzztest/samgrdumper_fuzzer/BUILD.gn index d644470c..7d446182 100644 --- a/test/fuzztest/samgrdumper_fuzzer/BUILD.gn +++ b/test/fuzztest/samgrdumper_fuzzer/BUILD.gn @@ -85,6 +85,7 @@ ohos_fuzztest("SamgrDumperFuzzTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", "samgr:samgr_common", "samgr:samgr_proxy", ] diff --git a/test/fuzztest/systemabilitymanager_fuzzer/BUILD.gn b/test/fuzztest/systemabilitymanager_fuzzer/BUILD.gn index bd0e4c07..9e0cf86a 100644 --- a/test/fuzztest/systemabilitymanager_fuzzer/BUILD.gn +++ b/test/fuzztest/systemabilitymanager_fuzzer/BUILD.gn @@ -85,6 +85,7 @@ ohos_fuzztest("SystemAbilityManagerFuzzTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", "samgr:samgr_common", "samgr:samgr_proxy", ] -- Gitee