diff --git a/services/samgr/native/test/unittest/BUILD.gn b/services/samgr/native/test/unittest/BUILD.gn index 94c96b0c6263af57525dd87ec61467fe82bc951c..4fed89c56707a1c39065772a2256b4b5305c211f 100644 --- a/services/samgr/native/test/unittest/BUILD.gn +++ b/services/samgr/native/test/unittest/BUILD.gn @@ -115,6 +115,7 @@ ohos_unittest("SystemAbilityMgrTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", ] defines = [] if (use_musl) { @@ -232,6 +233,7 @@ ohos_unittest("SystemAbilityMgrCollectTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", ] defines = [] if (use_musl) { @@ -359,6 +361,7 @@ ohos_unittest("SystemAbilityMgrDeviceNetworkingTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", ] defines = [] if (use_musl) { @@ -458,6 +461,7 @@ ohos_unittest("SystemAbilityMgrStubTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", ] defines = [] if (use_musl) { @@ -655,6 +659,7 @@ ohos_unittest("SystemAbilityStateSchedulerTest") { "ipc:libdbinder", "json:nlohmann_json_static", "safwk:system_ability_fwk", + "samgr:dynamic_cache", ] defines = [] if (samgr_support_access_token) {