mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-30 12:20:43 +00:00
change utils path
Signed-off-by: hongtao <hongtao11@huawei.com> Change-Id: Ib9fb90c8144b3bb3ee7f5371d351c937813ba381
This commit is contained in:
parent
c804821330
commit
7e15c83def
@ -35,7 +35,7 @@ if (defined(ohos_lite)) {
|
||||
common_include = [
|
||||
"$dsoftbus_root_path/interfaces/kits",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//base/startup/syspara_lite/interfaces/innerkits/native/syspara/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
@ -145,7 +145,7 @@ if (defined(ohos_lite)) {
|
||||
"$dsoftbus_root_path/interfaces/kits",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//base/startup/syspara_lite/interfaces/innerkits/native/syspara/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
sources = [
|
||||
@ -163,7 +163,6 @@ if (defined(ohos_lite)) {
|
||||
public_deps = [
|
||||
"//base/startup/syspara_lite/interfaces/innerkits/native/syspara:syspara",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
native_source_path = rebase_path("$dsoftbus_root_path")
|
||||
@ -195,6 +194,7 @@ if (defined(ohos_lite)) {
|
||||
public_configs = [ ":config_adapter_common" ]
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hisysevent_native:libhisysevent",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
|
@ -42,7 +42,7 @@
|
||||
"libsystem_ability_fwk",
|
||||
"libsyspara",
|
||||
"samgr_proxy",
|
||||
"utils_base"
|
||||
"c_utils"
|
||||
],
|
||||
"third_party": [
|
||||
"libcoap",
|
||||
|
@ -104,7 +104,7 @@ if (defined(ohos_lite)) {
|
||||
|
||||
include_dirs = fillp_include
|
||||
include_dirs += [
|
||||
"//utils/native/base/include/",
|
||||
"//commonlibrary/c_utils/base/include/",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
sources = fillp_source
|
||||
|
@ -82,7 +82,7 @@ if (defined(ohos_lite)) {
|
||||
include_dirs = [
|
||||
"$NSTACKX_ROOT/nstackx_util/interface",
|
||||
"$NSTACKX_ROOT/nstackx_util/platform/unix",
|
||||
"//utils/native/base/include/",
|
||||
"//commonlibrary/c_utils/base/include/",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
"interface",
|
||||
"platform/unix",
|
||||
|
@ -124,7 +124,7 @@ if (defined(ohos_lite)) {
|
||||
"$NSTACKX_ROOT/nstackx_core",
|
||||
"$NSTACKX_ROOT/nstackx_util/interface",
|
||||
"$NSTACKX_ROOT/nstackx_util/platform/unix",
|
||||
"//utils/native/base/include/",
|
||||
"//commonlibrary/c_utils/base/include/",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
sources = [
|
||||
|
@ -175,7 +175,7 @@ if (defined(ohos_lite)) {
|
||||
"interface",
|
||||
"platform/unix",
|
||||
"$NSTACKX_ROOT/nstackx_core/",
|
||||
"//utils/native/base/include/",
|
||||
"//commonlibrary/c_utils/base/include/",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits/",
|
||||
]
|
||||
|
@ -132,10 +132,12 @@ if (defined(ohos_lite)) {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/cJSON:cjson_static",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
part_name = "dsoftbus"
|
||||
subsystem_name = "communication"
|
||||
|
@ -176,7 +176,6 @@ if (defined(ohos_lite)) {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//third_party/cJSON:cjson_static",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
external_deps = bus_center_server_external_deps
|
||||
|
@ -48,10 +48,8 @@ if (defined(ohos_lite)) {
|
||||
} else {
|
||||
build_type = "ohos_static_library"
|
||||
}
|
||||
common_client_deps += [
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
common_client_deps +=
|
||||
[ "//third_party/bounds_checking_function:libsec_shared" ]
|
||||
}
|
||||
|
||||
config("dsoftbus_sdk_interface") {
|
||||
@ -87,6 +85,7 @@ target(build_type, "softbus_client") {
|
||||
cflags_cc = [ "-std=c++14" ]
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"ipc:ipc_single",
|
||||
]
|
||||
|
@ -64,12 +64,17 @@ if (defined(ohos_lite)) {
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
group("unittest") {
|
||||
|
@ -35,7 +35,7 @@ ohos_unittest("AuthTest") {
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/core/connection/manager",
|
||||
"$dsoftbus_root_path/adapter/common/include/",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/cJSON",
|
||||
"unittest/common/",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
@ -46,13 +46,18 @@ ohos_unittest("AuthTest") {
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ ohos_unittest("LNNTest") {
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/core/adapter/bus_center/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/cJSON",
|
||||
"unittest/common/",
|
||||
"$dsoftbus_root_path/core/connection/manager",
|
||||
@ -59,13 +59,18 @@ ohos_unittest("LNNTest") {
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -36,9 +36,11 @@ ohos_unittest("softbus_conn_ble_test") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gmock_main",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
sources = [ "connection_ble_test.cpp" ]
|
||||
}
|
||||
|
@ -36,9 +36,11 @@ ohos_unittest("softbus_conn_br_test") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gmock_main",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
sources = [ "connection_br_test.cpp" ]
|
||||
}
|
||||
|
@ -45,9 +45,11 @@ ohos_unittest("softbus_conn_manager_test") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gmock_main",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
sources = [ "connection_manager_test.cpp" ]
|
||||
}
|
||||
|
@ -39,8 +39,10 @@ ohos_unittest("softbus_tcp_manager_test") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gmock_main",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ ohos_unittest("DiscManagerTest") {
|
||||
"$dsoftbus_root_path/interfaces/kits/discovery",
|
||||
"$dsoftbus_root_path/core/discovery/manager/include",
|
||||
"$dsoftbus_root_path/core/discovery/coap/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"unittest/common/",
|
||||
"$dsoftbus_root_path/components/nstackx/nstackx_ctrl/interface",
|
||||
]
|
||||
@ -39,13 +39,18 @@ ohos_unittest("DiscManagerTest") {
|
||||
"$dsoftbus_root_path/components/nstackx/nstackx_ctrl:nstackx_ctrl",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,10 +38,10 @@ ohos_unittest("TransTcpDirectCoreTest") {
|
||||
"$dsoftbus_root_path/core/transmission/trans_channel/manager/include",
|
||||
"$dsoftbus_root_path/core/transmission/pending_packet/include",
|
||||
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"unittest/common/",
|
||||
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"unittest/common/",
|
||||
"$dsoftbus_root_path/core/authentication/include",
|
||||
"$dsoftbus_root_path/core/authentication/interface",
|
||||
@ -77,13 +77,18 @@ ohos_unittest("TransTcpDirectCoreTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("ActiveMetaNodeFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("ActiveMetaNodeFuzzTest") {
|
||||
]
|
||||
sources = [ "activemetanode_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("DeactiveMetaNodeFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("DeactiveMetaNodeFuzzTest") {
|
||||
]
|
||||
sources = [ "deactivemetanode_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("GetAllMetaNodeInfoFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("GetAllMetaNodeInfoFuzzTest") {
|
||||
]
|
||||
sources = [ "getallmetanodeinfo_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("GetAllNodeDeviceInfoFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("GetAllNodeDeviceInfoFuzzTest") {
|
||||
]
|
||||
sources = [ "getallnodedeviceinfo_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("GetLocalNodeDeviceInfoFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("GetLocalNodeDeviceInfoFuzzTest") {
|
||||
]
|
||||
sources = [ "getlocalnodedeviceinfo_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("GetNodeKeyInfoFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("GetNodeKeyInfoFuzzTest") {
|
||||
]
|
||||
sources = [ "getnodekeyinfo_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("JoinLNNFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("JoinLNNFuzzTest") {
|
||||
]
|
||||
sources = [ "joinlnn_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("LeaveLNNFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("LeaveLNNFuzzTest") {
|
||||
]
|
||||
sources = [ "leavelnn_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("PublishLNNFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("PublishLNNFuzzTest") {
|
||||
]
|
||||
sources = [ "publishlnn_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("RefreshLNNFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("RefreshLNNFuzzTest") {
|
||||
]
|
||||
sources = [ "refreshlnn_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("RegNodeDeviceStateCbFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("RegNodeDeviceStateCbFuzzTest") {
|
||||
]
|
||||
sources = [ "regnodedevicestatecb_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("StartTimeSyncFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("StartTimeSyncFuzzTest") {
|
||||
]
|
||||
sources = [ "starttimesync_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("StopPublishLNNFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("StopPublishLNNFuzzTest") {
|
||||
]
|
||||
sources = [ "stoppublishlnn_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("StopRefreshLNNFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("StopRefreshLNNFuzzTest") {
|
||||
]
|
||||
sources = [ "stoprefreshlnn_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ ohos_fuzztest("StopTimeSyncFuzzTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -36,10 +36,10 @@ ohos_fuzztest("StopTimeSyncFuzzTest") {
|
||||
]
|
||||
sources = [ "stoptimesync_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "$dsoftbus_root_path/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ ohos_unittest("BusCenterSdkTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
"unittest/common/",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
@ -36,13 +36,18 @@ ohos_unittest("BusCenterSdkTest") {
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ ohos_unittest("disc_account_test") {
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/inner_kits/transport",
|
||||
"$dsoftbus_root_path/sdk/discovery/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
"unittest/common/",
|
||||
"$dsoftbus_root_path/sdk/discovery/manager/include",
|
||||
@ -36,12 +36,17 @@ ohos_unittest("disc_account_test") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
group("unittest") {
|
||||
|
@ -27,7 +27,7 @@ ohos_fuzztest("PublishServiceFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/sdk/discovery/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/sdk/discovery/manager/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -39,10 +39,9 @@ ohos_fuzztest("PublishServiceFuzzTest") {
|
||||
]
|
||||
sources = [ "publishservice_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -27,7 +27,7 @@ ohos_fuzztest("StartDiscoveryFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/sdk/discovery/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/sdk/discovery/manager/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -39,10 +39,9 @@ ohos_fuzztest("StartDiscoveryFuzzTest") {
|
||||
]
|
||||
sources = [ "startdiscovery_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -27,7 +27,7 @@ ohos_fuzztest("StopDiscoveryFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/sdk/discovery/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/sdk/discovery/manager/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -39,10 +39,9 @@ ohos_fuzztest("StopDiscoveryFuzzTest") {
|
||||
]
|
||||
sources = [ "stopdiscovery_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -27,7 +27,7 @@ ohos_fuzztest("UnPublishServiceFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/sdk/discovery/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/sdk/discovery/manager/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -39,10 +39,9 @@ ohos_fuzztest("UnPublishServiceFuzzTest") {
|
||||
]
|
||||
sources = [ "unpublishservice_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -44,7 +44,7 @@ if (defined(ohos_lite)) {
|
||||
"$dsoftbus_root_path/interfaces/kits/discovery",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/sdk/discovery/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
"unittest/common/",
|
||||
"$dsoftbus_root_path/sdk/discovery/manager/include",
|
||||
@ -53,12 +53,17 @@ if (defined(ohos_lite)) {
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
group("unittest") {
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("CloseSessionFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("CloseSessionFuzzTest") {
|
||||
]
|
||||
sources = [ "closesession_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("CreateSessionServerFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("CreateSessionServerFuzzTest") {
|
||||
]
|
||||
sources = [ "createsessionserver_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("GetMySessionNameFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("GetMySessionNameFuzzTest") {
|
||||
]
|
||||
sources = [ "getmysessionname_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("GetPeerDeviceIdFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("GetPeerDeviceIdFuzzTest") {
|
||||
]
|
||||
sources = [ "getpeerdeviceid_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("GetPeerSessionNameFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("GetPeerSessionNameFuzzTest") {
|
||||
]
|
||||
sources = [ "getpeersessionname_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("OpenAuthSessionFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("OpenAuthSessionFuzzTest") {
|
||||
]
|
||||
sources = [ "openauthsession_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("OpenSessionFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("OpenSessionFuzzTest") {
|
||||
]
|
||||
sources = [ "opensession_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("QosReportFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("QosReportFuzzTest") {
|
||||
]
|
||||
sources = [ "qosreport_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("RemoveSessionServerFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("RemoveSessionServerFuzzTest") {
|
||||
]
|
||||
sources = [ "removesessionserver_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("SendBytesFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("SendBytesFuzzTest") {
|
||||
]
|
||||
sources = [ "sendbytes_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("SendFileFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("SendFileFuzzTest") {
|
||||
]
|
||||
sources = [ "sendfile_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("SendStreamFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("SendStreamFuzzTest") {
|
||||
]
|
||||
sources = [ "sendstream_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("SetFileReceiveListenerFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("SetFileReceiveListenerFuzzTest") {
|
||||
]
|
||||
sources = [ "setfilereceivelistener_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("SetFileSendListenerFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("SetFileSendListenerFuzzTest") {
|
||||
]
|
||||
sources = [ "setfilesendlistener_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -28,7 +28,7 @@ ohos_fuzztest("SoftBusSendMessageFuzzTest") {
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/inner_kits/transport",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
cflags = [
|
||||
@ -40,10 +40,9 @@ ohos_fuzztest("SoftBusSendMessageFuzzTest") {
|
||||
]
|
||||
sources = [ "softbussendmessage_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
deps = [ "//foundation/communication/dsoftbus/sdk:softbus_client" ]
|
||||
|
||||
external_deps = [ "c_utils:utils" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -36,7 +36,7 @@ ohos_unittest("softbus_file_testsuite") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
"unittest/common/",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
@ -46,13 +46,18 @@ ohos_unittest("softbus_file_testsuite") {
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ ohos_unittest("dsoftbus_auth_ble_board") {
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/inner_kits/transport",
|
||||
"$dsoftbus_root_path/sdk/discovery/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
"unittest/common/",
|
||||
"$dsoftbus_root_path/sdk/discovery/manager/include",
|
||||
@ -36,11 +36,16 @@ ohos_unittest("dsoftbus_auth_ble_board") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ ohos_unittest("dsoftbus_auth_ble_phone") {
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/inner_kits/transport",
|
||||
"$dsoftbus_root_path/sdk/discovery/include",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
"unittest/common/",
|
||||
"$dsoftbus_root_path/sdk/discovery/manager/include",
|
||||
@ -36,11 +36,16 @@ ohos_unittest("dsoftbus_auth_ble_phone") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -35,9 +35,11 @@ ohos_unittest("auth_session_gtest") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gmock_main",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
sources = [ "auth_session_test.cpp" ]
|
||||
}
|
||||
|
@ -35,10 +35,12 @@ ohos_unittest("proxy_session_file_test") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gmock_main",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
sources = [
|
||||
"proxy_session_file_test.cpp",
|
||||
"softbus_file_test_entry.cpp",
|
||||
|
@ -35,10 +35,12 @@ ohos_unittest("auth_session_gtest2") {
|
||||
"//third_party/bounds_checking_function:libsec_shared",
|
||||
"//third_party/googletest:gmock_main",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
sources = [
|
||||
"auth_session_test2.cpp",
|
||||
"softbus_file_test_entry.cpp",
|
||||
|
@ -24,7 +24,7 @@ ohos_unittest("TransQosTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/transport",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
|
||||
@ -32,13 +32,18 @@ ohos_unittest("TransQosTest") {
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -50,7 +55,7 @@ ohos_unittest("TransQosStatClientTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/transport",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
|
||||
@ -58,13 +63,18 @@ ohos_unittest("TransQosStatClientTest") {
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -76,7 +86,7 @@ ohos_unittest("TransQosStatServerTest") {
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/transport",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"//utils/native/base/include",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
|
||||
@ -84,13 +94,18 @@ ohos_unittest("TransQosStatServerTest") {
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -48,11 +48,13 @@ if (defined(ohos_lite)) {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/sdk:softbus_client",
|
||||
"//utils/native/base:utils",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
part_name = "dsoftbus"
|
||||
}
|
||||
subsystem_name = "communication"
|
||||
|
Loading…
Reference in New Issue
Block a user