From d5cd7295daeabaca4b3de41fc18aa64f657771a7 Mon Sep 17 00:00:00 2001 From: fengyang Date: Wed, 23 Apr 2025 16:39:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E7=BC=96=E8=AF=91=E9=80=82?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fengyang --- test/unittest/BUILD.gn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/unittest/BUILD.gn b/test/unittest/BUILD.gn index 39bb926..d59cd22 100644 --- a/test/unittest/BUILD.gn +++ b/test/unittest/BUILD.gn @@ -98,12 +98,14 @@ ohos_unittest("DeviceUsageStatsTest") { "access_token:libaccesstoken_sdk", "access_token:libnativetoken", "access_token:libtoken_setproc", + "cJSON:cjson_static", "ffrt:libffrt", "hilog:libhilog", "ipc:ipc_single", "jsoncpp:jsoncpp", "safwk:system_ability_fwk", "samgr:samgr_proxy", + "selinux_adapter:librestorecon", ] defines = [] if (device_usage_statistics_with_powermgr_power_manager_enable) { @@ -140,12 +142,14 @@ ohos_unittest("DeviceUsageStatsMultiTest") { "access_token:libaccesstoken_sdk", "access_token:libnativetoken", "access_token:libtoken_setproc", + "cJSON:cjson_static", "ffrt:libffrt", "hilog:libhilog", "ipc:ipc_single", "jsoncpp:jsoncpp", "safwk:system_ability_fwk", "samgr:samgr_proxy", + "selinux_adapter:librestorecon", ] defines = [] if (device_usage_statistics_with_powermgr_power_manager_enable) { @@ -184,6 +188,7 @@ ohos_unittest("DeviceUsageStatsServiceTest") { "access_token:libaccesstoken_sdk", "access_token:libnativetoken", "access_token:libtoken_setproc", + "cJSON:cjson_static", "ffrt:libffrt", "hilog:libhilog", "ipc:ipc_single", @@ -191,6 +196,7 @@ ohos_unittest("DeviceUsageStatsServiceTest") { "relational_store:native_rdb", "safwk:system_ability_fwk", "samgr:samgr_proxy", + "selinux_adapter:librestorecon", "time_service:time_client", ] defines = [] -- Gitee