diff --git a/services/samgr/native/test/unittest/BUILD.gn b/services/samgr/native/test/unittest/BUILD.gn index 3b0a2f5cca34994f365bedb1dd35546ae09200ad..94c96b0c6263af57525dd87ec61467fe82bc951c 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 62412f668815382a516618b63d11fcd187469db1..b86f6e95528cf3b27d62b8e598715775cca710e5 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 328c79b681e4bdec54b1eeec6e576043c7c7d4fd..39065272a7f0d2d61511dadd2a778fdd6d8c0b06 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 d644470c220aaeede36a4d86d68087ad25ce9479..7d446182a72924fcc81cdc132c5fce2cef4221f6 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 bd0e4c0702956a7eaef765e722846a0188508974..9e0cf86a6e5627857a3f370b9d82d2dd2f2ad8af 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", ]