mirror of
https://github.com/openharmony/device_manager.git
synced 2026-07-01 21:44:51 -04:00
device_manager模块整改部件名和部件目录名
Signed-off-by: renguang1116 <renguang@huawei.com>
This commit is contained in:
@@ -11,7 +11,7 @@ The figure below shows the architecture and dependencies of DeviceManager:
|
||||
## Directory Structure
|
||||
|
||||
```
|
||||
foundation/distributedhardware/devicemanager
|
||||
foundation/distributedhardware/device_manager
|
||||
├── common # Header files of common capabilities
|
||||
│ └── include
|
||||
│ └── ipc
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ DeviceManager组件在OpenHarmony上提供账号无关的分布式设备的认
|
||||
## 目录
|
||||
|
||||
```
|
||||
foundation/distributedhardware/devicemanager
|
||||
foundation/distributedhardware/device_manager
|
||||
├── common #公共能力头文件存放目录
|
||||
│ └── include
|
||||
│ └── ipc
|
||||
|
||||
+5
-5
@@ -6,7 +6,7 @@
|
||||
"repository": "https://gitee.com/openharmony/device_manager",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "foundation/distributedhardware/devicemanager"
|
||||
"destPath": "foundation/distributedhardware/device_manager"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
@@ -42,12 +42,12 @@
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [
|
||||
"//foundation/distributedhardware/devicemanager:device_manager"
|
||||
"//foundation/distributedhardware/device_manager:device_manager"
|
||||
],
|
||||
"inner_kits": [
|
||||
{
|
||||
"type": "so",
|
||||
"name": "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"name": "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"header": {
|
||||
"header_files": [
|
||||
"device_manager.h",
|
||||
@@ -55,12 +55,12 @@
|
||||
"dm_device_info.h",
|
||||
"dm_subscribe_info.h"
|
||||
],
|
||||
"header_base": "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include"
|
||||
"header_base": "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include"
|
||||
}
|
||||
}
|
||||
],
|
||||
"test": [
|
||||
"//foundation/distributedhardware/devicemanager:device_manager_test"
|
||||
"//foundation/distributedhardware/device_manager:device_manager_test"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/arkui/ace_engine/build/ace_gen_sa_dialog_js.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
gen_sa_dialog_js("dialog_js_files_etc") {
|
||||
project_path = "//foundation/distributedhardware/devicemanager/common/include/show_confirm_dialog/dialog_ui/js"
|
||||
project_path = "//foundation/distributedhardware/device_manager/common/include/show_confirm_dialog/dialog_ui/js"
|
||||
dialog_name = "config_dialog_service"
|
||||
part_name = "device_manager"
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
#------------------------device manager------------------------------#
|
||||
devicemanager_path = "//foundation/distributedhardware/devicemanager"
|
||||
devicemanager_path = "//foundation/distributedhardware/device_manager"
|
||||
|
||||
common_path = "${devicemanager_path}/common"
|
||||
utils_path = "${devicemanager_path}/utils"
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/ohos.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
group("ext_modules") {
|
||||
deps = []
|
||||
|
||||
@@ -17,7 +17,7 @@ if (defined(ohos_lite)) {
|
||||
import("//build/ohos.gni")
|
||||
}
|
||||
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
} else {
|
||||
@@ -70,7 +70,7 @@ if (defined(ohos_lite)) {
|
||||
"${innerkits_path}/native_cpp:devicemanagersdk",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//base/security/deviceauth/services:deviceauth_sdk",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ if (defined(ohos_lite)) {
|
||||
} else {
|
||||
import("//build/ohos.gni")
|
||||
}
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
shared_library("devicemanagerext_pin_auth") {
|
||||
@@ -142,7 +142,7 @@ if (defined(ohos_lite)) {
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//base/security/deviceauth/services:deviceauth_sdk",
|
||||
"//foundation/arkui/ace_engine/interfaces/inner_api/ui_service_manager:ui_service_mgr",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/arkui/ace_engine/build/ace_gen_sa_dialog_js.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
gen_sa_dialog_js("dialog_js_files_etc") {
|
||||
project_path = "//foundation/distributedhardware/devicemanager/ext/pin_auth/input_pin_dialog/dialog_ui/js"
|
||||
project_path = "//foundation/distributedhardware/device_manager/ext/pin_auth/input_pin_dialog/dialog_ui/js"
|
||||
dialog_name = "input_pin_service"
|
||||
part_name = "device_manager"
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/arkui/ace_engine/build/ace_gen_sa_dialog_js.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
gen_sa_dialog_js("dialog_js_files_etc") {
|
||||
if (!device_manager_no_interaction_auth) {
|
||||
project_path = "//foundation/distributedhardware/devicemanager/ext/pin_auth/show_pin_dialog/dialog_ui/js"
|
||||
project_path = "//foundation/distributedhardware/device_manager/ext/pin_auth/show_pin_dialog/dialog_ui/js"
|
||||
}
|
||||
dialog_name = "show_pin_service"
|
||||
part_name = "device_manager"
|
||||
|
||||
@@ -17,7 +17,7 @@ if (defined(ohos_lite)) {
|
||||
import("//build/ohos.gni")
|
||||
}
|
||||
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
} else {
|
||||
|
||||
@@ -16,7 +16,7 @@ if (defined(ohos_lite)) {
|
||||
} else {
|
||||
import("//build/ohos.gni")
|
||||
}
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
if (ohos_kernel_type == "liteos_m") {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/ohos.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
ohos_shared_library("devicemanager") {
|
||||
include_dirs = [
|
||||
@@ -38,7 +38,7 @@ ohos_shared_library("devicemanager") {
|
||||
deps = [
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/arkui/napi:ace_napi",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ if (defined(ohos_lite)) {
|
||||
import("//build/ohos.gni")
|
||||
}
|
||||
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
innerkits_path_mini = "${devicemanager_path}/interfaces/inner_kits"
|
||||
kits_path = "${devicemanager_path}/interfaces/kits"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ if (defined(ohos_lite)) {
|
||||
import("//build/ohos.gni")
|
||||
}
|
||||
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
if (ohos_kernel_type == "liteos_m") {
|
||||
@@ -68,7 +68,7 @@ if (defined(ohos_lite)) {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/transport",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice/include/dependency/multipleuser",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice/include/dependency/multipleuser",
|
||||
"//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr",
|
||||
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy/include",
|
||||
]
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
group("benchmarktest") {
|
||||
testonly = true
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
module_output_path = "device_manager/devicemanager"
|
||||
|
||||
@@ -34,7 +34,7 @@ ohos_benchmarktest("DeviceManagerFaTest") {
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/arkui/napi:ace_napi",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//third_party/benchmark:benchmark",
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gtest_main",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
module_output_path = "device_manager/devicemanager"
|
||||
|
||||
@@ -31,7 +31,7 @@ ohos_benchmarktest("DeviceManagerTest") {
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/arkui/napi:ace_napi",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//third_party/benchmark:benchmark",
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gtest_main",
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("DeviceManagerImplFuzzTest") {
|
||||
module_out_path = "device_manager/devicemanager"
|
||||
fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/devicemanagerimpl_fuzzer"
|
||||
fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/devicemanagerimpl_fuzzer"
|
||||
|
||||
include_dirs = [
|
||||
"${utils_path}/include",
|
||||
@@ -55,12 +55,12 @@ ohos_fuzztest("DeviceManagerImplFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock",
|
||||
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile/include",
|
||||
"//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/common/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/common/include",
|
||||
"//base/security/deviceauth/interfaces/innerkits",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
@@ -76,7 +76,7 @@ ohos_fuzztest("DeviceManagerImplFuzzTest") {
|
||||
"//third_party/jsframework/runtime/main/extend/systemplugin",
|
||||
"//third_party/node/benchmark",
|
||||
"//third_party/libuv/include",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js/include",
|
||||
"//third_party/node/src",
|
||||
"//foundation/arkui/napi/native_engine",
|
||||
"//foundation/arkui/napi/interfaces/kits",
|
||||
@@ -93,7 +93,7 @@ ohos_fuzztest("DeviceManagerImplFuzzTest") {
|
||||
deps = [
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/arkui/napi:ace_napi",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("DeviceManagerNotifyFuzzTest") {
|
||||
module_out_path = "device_manager/devicemanager"
|
||||
fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/devicemanagernotify_fuzzer"
|
||||
fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/devicemanagernotify_fuzzer"
|
||||
|
||||
include_dirs = [
|
||||
"//utils/native/base/include",
|
||||
@@ -53,12 +53,12 @@ ohos_fuzztest("DeviceManagerNotifyFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock",
|
||||
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile/include",
|
||||
"//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/common/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/common/include",
|
||||
"//base/security/deviceauth/interfaces/innerkits",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
@@ -72,8 +72,8 @@ ohos_fuzztest("DeviceManagerNotifyFuzzTest") {
|
||||
sources = [ "device_manager_notify_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice",
|
||||
]
|
||||
|
||||
defines = [
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("DeviceManagerServiceFuzzTest") {
|
||||
module_out_path = "device_manager/devicemanager"
|
||||
fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/devicemanagerservice_fuzzer"
|
||||
fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/devicemanagerservice_fuzzer"
|
||||
|
||||
include_dirs = [
|
||||
"//utils/native/base/include",
|
||||
@@ -53,12 +53,12 @@ ohos_fuzztest("DeviceManagerServiceFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock",
|
||||
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile/include",
|
||||
"//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/common/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/common/include",
|
||||
"//base/security/deviceauth/interfaces/innerkits",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
@@ -72,8 +72,8 @@ ohos_fuzztest("DeviceManagerServiceFuzzTest") {
|
||||
sources = [ "device_manager_service_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice",
|
||||
]
|
||||
|
||||
defines = [
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("IpcClientManagerFuzzTest") {
|
||||
module_out_path = "device_manager/devicemanager"
|
||||
fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipcclientmanager_fuzzer"
|
||||
fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipcclientmanager_fuzzer"
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js/include",
|
||||
"//third_party/node/src",
|
||||
"//foundation/arkui/napi/native_engine",
|
||||
"//foundation/arkui/napi/interfaces/kits",
|
||||
@@ -54,12 +54,12 @@ ohos_fuzztest("IpcClientManagerFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock",
|
||||
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile/include",
|
||||
"//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/common/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/common/include",
|
||||
"//base/security/deviceauth/interfaces/innerkits",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
@@ -93,8 +93,8 @@ ohos_fuzztest("IpcClientManagerFuzzTest") {
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//base/account/os_account/frameworks/osaccount/native:os_account_innerkits",
|
||||
"//base/security/deviceauth/services:deviceauth_sdk",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice",
|
||||
]
|
||||
|
||||
defines = [
|
||||
@@ -124,7 +124,7 @@ ohos_fuzztest("IpcClientManagerFuzzTest") {
|
||||
"${innerkits_path}/native_cpp:devicemanagersdk",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest",
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("IpcCmdRegisterFuzzTest") {
|
||||
module_out_path = "device_manager/devicemanager"
|
||||
fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipccmdregister_fuzzer"
|
||||
fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipccmdregister_fuzzer"
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js/include",
|
||||
"//third_party/node/src",
|
||||
"//foundation/arkui/napi/native_engine",
|
||||
"//foundation/arkui/napi/interfaces/kits",
|
||||
@@ -54,12 +54,12 @@ ohos_fuzztest("IpcCmdRegisterFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock",
|
||||
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile/include",
|
||||
"//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/common/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/common/include",
|
||||
"//base/security/deviceauth/interfaces/innerkits",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
@@ -77,7 +77,7 @@ ohos_fuzztest("IpcCmdRegisterFuzzTest") {
|
||||
"//third_party/jsframework/runtime/main/extend/systemplugin",
|
||||
"//third_party/node/benchmark",
|
||||
"//third_party/libuv/include",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice/include/ipc/lite",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice/include/ipc/lite",
|
||||
]
|
||||
cflags = [
|
||||
"-g",
|
||||
@@ -94,8 +94,8 @@ ohos_fuzztest("IpcCmdRegisterFuzzTest") {
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//base/account/os_account/frameworks/osaccount/native:os_account_innerkits",
|
||||
"//base/security/deviceauth/services:deviceauth_sdk",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice",
|
||||
]
|
||||
|
||||
defines = [
|
||||
@@ -125,7 +125,7 @@ ohos_fuzztest("IpcCmdRegisterFuzzTest") {
|
||||
"${innerkits_path}/native_cpp:devicemanagersdk",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest",
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("IpcServerClientProxyFuzzTest") {
|
||||
module_out_path = "device_manager/devicemanager"
|
||||
fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipcserverclientproxy_fuzzer"
|
||||
fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipcserverclientproxy_fuzzer"
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js/include",
|
||||
"//third_party/node/src",
|
||||
"//foundation/arkui/napi/native_engine",
|
||||
"//foundation/arkui/napi/interfaces/kits",
|
||||
@@ -54,12 +54,12 @@ ohos_fuzztest("IpcServerClientProxyFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock",
|
||||
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile/include",
|
||||
"//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/common/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/common/include",
|
||||
"//base/security/deviceauth/interfaces/innerkits",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
@@ -93,8 +93,8 @@ ohos_fuzztest("IpcServerClientProxyFuzzTest") {
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//base/account/os_account/frameworks/osaccount/native:os_account_innerkits",
|
||||
"//base/security/deviceauth/services:deviceauth_sdk",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice",
|
||||
]
|
||||
|
||||
defines = [
|
||||
@@ -124,7 +124,7 @@ ohos_fuzztest("IpcServerClientProxyFuzzTest") {
|
||||
"${innerkits_path}/native_cpp:devicemanagersdk",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest",
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("IpcServerListenerFuzzTest") {
|
||||
module_out_path = "device_manager/devicemanager"
|
||||
fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipcserverlistener_fuzzer"
|
||||
fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipcserverlistener_fuzzer"
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js/include",
|
||||
"//third_party/node/src",
|
||||
"//foundation/arkui/napi/native_engine",
|
||||
"//foundation/arkui/napi/interfaces/kits",
|
||||
@@ -54,12 +54,12 @@ ohos_fuzztest("IpcServerListenerFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock",
|
||||
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile/include",
|
||||
"//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/common/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/common/include",
|
||||
"//base/security/deviceauth/interfaces/innerkits",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
@@ -93,8 +93,8 @@ ohos_fuzztest("IpcServerListenerFuzzTest") {
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//base/account/os_account/frameworks/osaccount/native:os_account_innerkits",
|
||||
"//base/security/deviceauth/services:deviceauth_sdk",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice",
|
||||
]
|
||||
|
||||
defines = [
|
||||
@@ -124,7 +124,7 @@ ohos_fuzztest("IpcServerListenerFuzzTest") {
|
||||
"${innerkits_path}/native_cpp:devicemanagersdk",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest",
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("IpcServerStubFuzzTest") {
|
||||
module_out_path = "device_manager/devicemanager"
|
||||
fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipcserverstub_fuzzer"
|
||||
fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipcserverstub_fuzzer"
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js/include",
|
||||
"//third_party/node/src",
|
||||
"//foundation/arkui/napi/native_engine",
|
||||
"//foundation/arkui/napi/interfaces/kits",
|
||||
@@ -54,12 +54,12 @@ ohos_fuzztest("IpcServerStubFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock",
|
||||
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile/include",
|
||||
"//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/common/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/common/include",
|
||||
"//base/security/deviceauth/interfaces/innerkits",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
@@ -93,8 +93,8 @@ ohos_fuzztest("IpcServerStubFuzzTest") {
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//base/account/os_account/frameworks/osaccount/native:os_account_innerkits",
|
||||
"//base/security/deviceauth/services:deviceauth_sdk",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk",
|
||||
"//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice",
|
||||
]
|
||||
|
||||
defines = [
|
||||
@@ -124,7 +124,7 @@ ohos_fuzztest("IpcServerStubFuzzTest") {
|
||||
"${innerkits_path}/native_cpp:devicemanagersdk",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest",
|
||||
|
||||
+16
-16
@@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
module_out_path = "device_manager/component_loader_test"
|
||||
|
||||
group("unittest") {
|
||||
@@ -152,8 +152,8 @@ ohos_unittest("UTTest_softbus_connector") {
|
||||
"${services_path}/src/device_manager_service_listener.cpp",
|
||||
"${services_path}/src/devicestate/dm_device_state_manager.cpp",
|
||||
"${services_path}/src/discovery/dm_discovery_manager.cpp",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock/ipc_server_listener.cpp",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock/parameter.cpp",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/ipc_server_listener.cpp",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/parameter.cpp",
|
||||
"UTTest_softbus_connector.cpp",
|
||||
]
|
||||
|
||||
@@ -353,8 +353,8 @@ ohos_unittest("UTTest_dm_device_state_manager") {
|
||||
"${services_path}/src/device_manager_service_listener.cpp",
|
||||
"${services_path}/src/devicestate/dm_device_state_manager.cpp",
|
||||
"${services_path}/src/discovery/dm_discovery_manager.cpp",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock/ipc_server_listener.cpp",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock/parameter.cpp",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/ipc_server_listener.cpp",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/parameter.cpp",
|
||||
"UTTest_dm_device_state_manager.cpp",
|
||||
]
|
||||
|
||||
@@ -369,7 +369,7 @@ ohos_unittest("UTTest_device_manager_service_listener") {
|
||||
|
||||
sources = [
|
||||
"${services_path}/src/device_manager_service_listener.cpp",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock/ipc_server_listener.cpp",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/ipc_server_listener.cpp",
|
||||
"UTTest_device_manager_service_listener.cpp",
|
||||
]
|
||||
|
||||
@@ -442,8 +442,8 @@ ohos_unittest("UTTest_dm_discovery_manager") {
|
||||
"${services_path}/src/dependency/timer/dm_timer.cpp",
|
||||
"${services_path}/src/device_manager_service_listener.cpp",
|
||||
"${services_path}/src/discovery/dm_discovery_manager.cpp",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock/ipc_server_listener.cpp",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock/parameter.cpp",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/ipc_server_listener.cpp",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/parameter.cpp",
|
||||
"UTTest_dm_discovery_manager.cpp",
|
||||
]
|
||||
|
||||
@@ -486,12 +486,12 @@ config("device_manager_test_common_public_config") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock",
|
||||
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile/include",
|
||||
"//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include",
|
||||
"//foundation/distributedhardware/devicemanager/ext/mini/common/include",
|
||||
"//foundation/distributedhardware/device_manager/ext/mini/common/include",
|
||||
"//base/security/deviceauth/interfaces/innerkits",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
@@ -524,8 +524,8 @@ ohos_static_library("device_manager_test_common") {
|
||||
"${services_path}:devicemanagerservice",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//foundation/distributedhardware/devicemanager/ext/profile:devicemanagerext_profile",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedhardware/device_manager/ext/profile:devicemanagerext_profile",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest",
|
||||
@@ -562,7 +562,7 @@ config("device_manager_test_common_public") {
|
||||
"${services_path}/include/discovery",
|
||||
"${services_path}/include/deviceinfo/",
|
||||
"${services_path}/include/devicestate",
|
||||
"//foundation/distributedhardware/devicemanager/test/unittest/mock/",
|
||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/",
|
||||
"${services_path}/include/ability",
|
||||
"${services_path}/include/config",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/bus_center",
|
||||
@@ -612,7 +612,7 @@ ohos_static_library("device_manager_test") {
|
||||
"${innerkits_path}/native_cpp:devicemanagersdk",
|
||||
"${utils_path}:devicemanagerutils",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager",
|
||||
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest",
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ if (defined(ohos_lite)) {
|
||||
import("//build/ohos.gni")
|
||||
}
|
||||
|
||||
import("//foundation/distributedhardware/devicemanager/devicemanager.gni")
|
||||
import("//foundation/distributedhardware/device_manager/devicemanager.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
if (ohos_kernel_type == "liteos_m") {
|
||||
|
||||
Reference in New Issue
Block a user