diff --git a/bundle.json b/bundle.json index bb9cfebe9d0697637230072408f5c75e40c77d8c..30d7336b2f3adc69229370dcdba3e466ea3d503f 100644 --- a/bundle.json +++ b/bundle.json @@ -51,7 +51,8 @@ "access_token", "relational_store", "drivers_interface_input", - "cJSON" + "cJSON", + "selinux_adapter" ] }, "build": { diff --git a/test/moduletest/BUILD.gn b/test/moduletest/BUILD.gn index 546875ea256bc201e2ceaaad65eb58a720d94103..1185e3510cfa8a432256d809311feaa2fef31ac0 100644 --- a/test/moduletest/BUILD.gn +++ b/test/moduletest/BUILD.gn @@ -49,6 +49,7 @@ ohos_executable("driver_extension_controller_mt") { "c_utils:utils", "hilog:libhilog", "samgr:samgr_proxy", + "selinux_adapter:librestorecon", ] subsystem_name = "hdf" part_name = "external_device_manager" diff --git a/test/unittest/BUILD.gn b/test/unittest/BUILD.gn index f492166ab9e237a8f236735215b7a7b12931d55b..9058bad4015c5cdda0f999ab5e51b7ad7d29d5d9 100644 --- a/test/unittest/BUILD.gn +++ b/test/unittest/BUILD.gn @@ -115,10 +115,12 @@ ohos_unittest("driver_extension_manager_client_test") { "access_token:libaccesstoken_sdk", "access_token:libnativetoken", "access_token:libtoken_setproc", + "cJSON:cjson", "c_utils:utils", "hilog:libhilog", "ipc:ipc_single", "samgr:samgr_proxy", + "selinux_adapter:librestorecon", ] }