mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 00:39:52 +00:00
adjust gn files Signed-off-by:xdurainbow<liudongmiao@huawei.com>
Signed-off-by: Mark <liudongmiao@huawei.com>
This commit is contained in:
parent
c5a67dfc77
commit
3d36bc8fe5
2
BUILD.gn
2
BUILD.gn
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("dsoftbus.gni")
|
||||
|
||||
lite_component("dsoftbus") {
|
||||
features = [
|
||||
|
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../dsoftbus.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
|
13
bundle.json
13
bundle.json
@ -1,17 +1,18 @@
|
||||
{
|
||||
"name": "@openharmony/dsoftbus",
|
||||
"version": "3.1.0",
|
||||
"version": "4.0",
|
||||
"description": "dsoftbus",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "foundation/communication/dsoftbus"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {
|
||||
"install": "DEST_PATH=${DEP_BUNDLE_BASE}/foundation/communication/dsoftbus && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH"
|
||||
},
|
||||
"author": {},
|
||||
"repository": "",
|
||||
"license": "Apache License 2.0",
|
||||
"segment": {
|
||||
"destPath": "foundation/communication/dsoftbus"
|
||||
},
|
||||
"component": {
|
||||
"name": "dsoftbus",
|
||||
"subsystem": "communication",
|
||||
@ -39,8 +40,8 @@
|
||||
"dsoftbus_standard_feature_dfinder_support_multi_nif",
|
||||
"dsoftbus_feature_protocol_newip"
|
||||
],
|
||||
"rom": "967KB",
|
||||
"ram": "28MB",
|
||||
"rom": "3000KB",
|
||||
"ram": "40MB",
|
||||
"deps": {
|
||||
"components": [
|
||||
"ability_base",
|
||||
|
@ -11,14 +11,14 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../dsoftbus.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
lite_component("softbus_server") {
|
||||
if (ohos_kernel_type == "liteos_m") {
|
||||
features = [
|
||||
"frame:softbus_server_frame",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"common:softbus_utils",
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
]
|
||||
} else {
|
||||
|
@ -11,11 +11,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import(
|
||||
"//foundation/communication/dsoftbus/core/connection/common/conn_common.gni")
|
||||
import(
|
||||
"//foundation/communication/dsoftbus/core/transmission/common/trans_common.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../dsoftbus.gni")
|
||||
import("../connection/common/conn_common.gni")
|
||||
import("../transmission/common/trans_common.gni")
|
||||
|
||||
common_utils_src = [
|
||||
"bitmap/softbus_bitmap.c",
|
||||
|
@ -11,17 +11,14 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/core/adapter/core_adapter.gni")
|
||||
import(
|
||||
"//foundation/communication/dsoftbus/core/authentication/authentication.gni")
|
||||
import(
|
||||
"//foundation/communication/dsoftbus/core/bus_center/bus_center_server.gni")
|
||||
import(
|
||||
"//foundation/communication/dsoftbus/core/common/security/permission/permission.gni")
|
||||
import("//foundation/communication/dsoftbus/core/connection/conn.gni")
|
||||
import("//foundation/communication/dsoftbus/core/discovery/disc.gni")
|
||||
import("//foundation/communication/dsoftbus/core/transmission/trans.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../dsoftbus.gni")
|
||||
import("../adapter/core_adapter.gni")
|
||||
import("../authentication/authentication.gni")
|
||||
import("../bus_center/bus_center_server.gni")
|
||||
import("../common/security/permission/permission.gni")
|
||||
import("../connection/conn.gni")
|
||||
import("../discovery/disc.gni")
|
||||
import("../transmission/trans.gni")
|
||||
|
||||
dsoftbus_server_common_src =
|
||||
auth_server_src + bus_center_server_src + conn_manager_src +
|
||||
|
15
dsoftbus.gni
15
dsoftbus.gni
@ -11,23 +11,22 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
ability_base_path = "//foundation/ability/ability_base"
|
||||
ability_runtime_path = "//foundation/ability/ability_runtime"
|
||||
ability_runtime_inner_api_path = "${ability_runtime_path}/interfaces/inner_api"
|
||||
ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits"
|
||||
ability_runtime_services_path = "${ability_runtime_path}/services"
|
||||
hispark_pegasus_sdk_path = "//device/soc/hisilicon/hi3861v100/sdk_liteos"
|
||||
dsoftbus_root_path = "//foundation/communication/dsoftbus"
|
||||
dsoftbus_sdk_path = "//foundation/communication/dsoftbus/sdk"
|
||||
dsoftbus_core_path = "//foundation/communication/dsoftbus/core"
|
||||
ability_base_path = "//foundation/ability/ability_base"
|
||||
dsoftbus_test_path = "//foundation/communication/dsoftbus/tests"
|
||||
dsoftbus_sdk_path = "${dsoftbus_root_path}/sdk"
|
||||
dsoftbus_core_path = "${dsoftbus_root_path}/core"
|
||||
dsoftbus_test_path = "${dsoftbus_root_path}/tests"
|
||||
|
||||
declare_args() {
|
||||
softbus_adapter_common = "//foundation/communication/dsoftbus/adapter/common"
|
||||
softbus_adapter_config =
|
||||
"//foundation/communication/dsoftbus/adapter/default_config"
|
||||
softbus_adapter_common = "${dsoftbus_root_path}/adapter/common"
|
||||
softbus_adapter_config = "${dsoftbus_root_path}/adapter/default_config"
|
||||
dsoftbus_feature_product_config_path =
|
||||
"//foundation/communication/dsoftbus/adapter/default_config"
|
||||
"${dsoftbus_root_path}/adapter/default_config"
|
||||
}
|
||||
|
||||
declare_args() {
|
||||
|
11
sdk/BUILD.gn
11
sdk/BUILD.gn
@ -11,12 +11,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
|
||||
import("//foundation/communication/dsoftbus/sdk/bus_center/bus_center_sdk.gni")
|
||||
import("//foundation/communication/dsoftbus/sdk/discovery/disc_sdk.gni")
|
||||
import("//foundation/communication/dsoftbus/sdk/frame/frame_sdk.gni")
|
||||
import("//foundation/communication/dsoftbus/sdk/transmission/trans_sdk.gni")
|
||||
import("../dsoftbus.gni")
|
||||
import("bus_center/bus_center_sdk.gni")
|
||||
import("discovery/disc_sdk.gni")
|
||||
import("frame/frame_sdk.gni")
|
||||
import("transmission/trans_sdk.gni")
|
||||
|
||||
common_client_src = bus_center_sdk_src + disc_sdk_src +
|
||||
softbus_client_frame_src + trans_session_manager_sdk_src
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../dsoftbus.gni")
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
|
@ -14,9 +14,8 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import(
|
||||
"//foundation/communication/dsoftbus/adapter/common/net/bluetooth/net_bluetooth.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../adapter/common/net/bluetooth/net_bluetooth.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/adapter"
|
||||
|
||||
@ -27,9 +26,7 @@ ohos_unittest("AdapterBleGattTest") {
|
||||
"softbus_adapter_ble_gatt_test.cpp",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/communication/dsoftbus/adapter/common/net/bluetooth/include",
|
||||
]
|
||||
include_dirs = [ "../../../adapter/common/net/bluetooth/include" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
@ -56,9 +53,7 @@ ohos_unittest("AdapterBleGattServerTest") {
|
||||
"softbus_adapter_ble_gatt_server_test.cpp",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/communication/dsoftbus/adapter/common/net/bluetooth/include",
|
||||
]
|
||||
include_dirs = [ "../../../adapter/common/net/bluetooth/include" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
@ -85,9 +80,7 @@ ohos_unittest("AdapterBleGattClientTest") {
|
||||
"softbus_adapter_ble_gatt_client_test.cpp",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/communication/dsoftbus/adapter/common/net/bluetooth/include",
|
||||
]
|
||||
include_dirs = [ "../../../adapter/common/net/bluetooth/include" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
@ -111,9 +104,7 @@ ohos_unittest("AdapterBtUtilsTest") {
|
||||
module_out_path = module_output_path
|
||||
sources = [ "adapter_bt_utils_test.cpp" ]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/communication/dsoftbus/adapter/common/net/bluetooth/include",
|
||||
]
|
||||
include_dirs = [ "../../../adapter/common/net/bluetooth/include" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
@ -140,9 +131,7 @@ ohos_unittest("AdapterBtCommonTest") {
|
||||
"softbus_adapter_bt_common_test.cpp",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/communication/dsoftbus/adapter/common/net/bluetooth/include",
|
||||
]
|
||||
include_dirs = [ "../../../adapter/common/net/bluetooth/include" ]
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
|
@ -15,7 +15,7 @@
|
||||
import("//build/config/features.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SoftBusAdapterHiSysEventFuzzTest") {
|
||||
|
@ -13,12 +13,13 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SoftBusAdapterRangeFuzzTest") {
|
||||
module_out_path = "dsoftbus/adapter"
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusadapterrange_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/adapter/fuzztest/softbusadapterrange_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/adapter/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
@ -29,7 +30,7 @@ ohos_fuzztest("SoftBusAdapterRangeFuzzTest") {
|
||||
]
|
||||
sources = [ "softbusadapterrange_fuzzer.cpp" ]
|
||||
|
||||
deps = [ "//foundation/communication/dsoftbus/adapter:softbus_adapter" ]
|
||||
deps = [ "../../../../adapter:softbus_adapter" ]
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
|
@ -13,13 +13,14 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/adapter"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SoftBusDecryptDataFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusdecryptdata_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/adapter/fuzztest/softbusdecryptdata_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/adapter/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
@ -30,7 +31,7 @@ ohos_fuzztest("SoftBusDecryptDataFuzzTest") {
|
||||
]
|
||||
sources = [ "softbusdecryptdata_fuzzer.cpp" ]
|
||||
|
||||
deps = [ "//foundation/communication/dsoftbus/adapter:softbus_adapter" ]
|
||||
deps = [ "../../../../adapter:softbus_adapter" ]
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
|
@ -15,7 +15,7 @@ defines = []
|
||||
if (defined(ohos_lite)) {
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/lite/config/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
defines += [ "HAVE_PRO = 0" ]
|
||||
|
||||
@ -37,14 +37,14 @@ if (defined(ohos_lite)) {
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
]
|
||||
}
|
||||
}
|
||||
} else {
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
defines += [ "HAVE_PRO = 0" ]
|
||||
module_output_path = "dsoftbus/adapter"
|
||||
|
||||
@ -58,7 +58,7 @@ if (defined(ohos_lite)) {
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -85,7 +85,7 @@ if (defined(ohos_lite)) {
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -112,7 +112,7 @@ if (defined(ohos_lite)) {
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -139,7 +139,7 @@ if (defined(ohos_lite)) {
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -166,7 +166,7 @@ if (defined(ohos_lite)) {
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -193,7 +193,7 @@ if (defined(ohos_lite)) {
|
||||
"//third_party/bounds_checking_function/include",
|
||||
]
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -219,7 +219,7 @@ if (defined(ohos_lite)) {
|
||||
"$dsoftbus_root_path/core/common/include/",
|
||||
]
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
@ -244,7 +244,7 @@ if (defined(ohos_lite)) {
|
||||
"$dsoftbus_root_path/core/common/include/",
|
||||
]
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
@ -286,7 +286,7 @@ if (defined(ohos_lite)) {
|
||||
]
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//foundation/communication/dsoftbus/adapter:softbus_adapter",
|
||||
"../../../adapter:softbus_adapter",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/auth"
|
||||
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/auth"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("UnpackAuthDataFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/authentication/fuzztest/unpackauthdata_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/core/authentication/fuzztest/unpackauthdata_fuzzer"
|
||||
include_dirs = [
|
||||
"$dsoftbus_root_path/adapter/common/include/",
|
||||
"$dsoftbus_root_path/core/authentication/include",
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/LNN"
|
||||
bus_center_unittest_dirs = [
|
||||
@ -62,8 +62,6 @@ bus_center_unittest_deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -115,8 +113,6 @@ lnn_mock_test_deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -130,6 +126,7 @@ ohos_unittest("LaneTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -138,7 +135,10 @@ ohos_unittest("LaneTest") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps += [ "huks:libhukssdk" ]
|
||||
external_deps += [
|
||||
"huks:libhukssdk",
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_unittest("NetLedgerTest") {
|
||||
@ -150,6 +150,7 @@ ohos_unittest("NetLedgerTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -158,7 +159,10 @@ ohos_unittest("NetLedgerTest") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps += [ "huks:libhukssdk" ]
|
||||
external_deps += [
|
||||
"huks:libhukssdk",
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_unittest("NetBuilderTest") {
|
||||
@ -170,6 +174,7 @@ ohos_unittest("NetBuilderTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -178,7 +183,10 @@ ohos_unittest("NetBuilderTest") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps += [ "huks:libhukssdk" ]
|
||||
external_deps += [
|
||||
"huks:libhukssdk",
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_unittest("LNNHuksUtilsTest") {
|
||||
@ -190,6 +198,7 @@ ohos_unittest("LNNHuksUtilsTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -198,7 +207,10 @@ ohos_unittest("LNNHuksUtilsTest") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps += [ "huks:libhukssdk" ]
|
||||
external_deps += [
|
||||
"huks:libhukssdk",
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_unittest("LedgerLaneHubTest") {
|
||||
@ -210,6 +222,7 @@ ohos_unittest("LedgerLaneHubTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -218,7 +231,10 @@ ohos_unittest("LedgerLaneHubTest") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps += [ "huks:libhukssdk" ]
|
||||
external_deps += [
|
||||
"huks:libhukssdk",
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_unittest("LNNBusCenterIpcTest") {
|
||||
@ -230,6 +246,7 @@ ohos_unittest("LNNBusCenterIpcTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -238,7 +255,10 @@ ohos_unittest("LNNBusCenterIpcTest") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps += [ "huks:libhukssdk" ]
|
||||
external_deps += [
|
||||
"huks:libhukssdk",
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_unittest("BusCenterClientProxyTest") {
|
||||
@ -250,6 +270,7 @@ ohos_unittest("BusCenterClientProxyTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -258,7 +279,10 @@ ohos_unittest("BusCenterClientProxyTest") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps += [ "huks:libhukssdk" ]
|
||||
external_deps += [
|
||||
"huks:libhukssdk",
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_unittest("BusCenterClientProxyStandardTest") {
|
||||
@ -270,6 +294,7 @@ ohos_unittest("BusCenterClientProxyStandardTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -278,7 +303,10 @@ ohos_unittest("BusCenterClientProxyStandardTest") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
}
|
||||
external_deps += [ "huks:libhukssdk" ]
|
||||
external_deps += [
|
||||
"huks:libhukssdk",
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_unittest("LNNNetBuilderTest") {
|
||||
@ -320,8 +348,6 @@ ohos_unittest("LNNNetBuilderTest") {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -329,6 +355,7 @@ ohos_unittest("LNNNetBuilderTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -391,8 +418,6 @@ ohos_unittest("LNNNetBuilderMockTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -400,6 +425,7 @@ ohos_unittest("LNNNetBuilderMockTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -437,6 +463,7 @@ ohos_unittest("LNNConnectionFsmTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -474,6 +501,7 @@ ohos_unittest("LNNDeviceNameInfoTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -511,6 +539,7 @@ ohos_unittest("LNNNetworkInfoTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -548,6 +577,7 @@ ohos_unittest("LNNNodeWeightTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -585,6 +615,7 @@ ohos_unittest("LNNP2pInfoTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -622,6 +653,7 @@ ohos_unittest("LNNSyncInfoManagerTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -659,6 +691,7 @@ ohos_unittest("LNNTopoManagerTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -720,8 +753,6 @@ ohos_unittest("LNNBtNetworkImplMockTest") {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -729,6 +760,7 @@ ohos_unittest("LNNBtNetworkImplMockTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -786,8 +818,6 @@ ohos_unittest("LNNNetworkManagerMockTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -795,6 +825,7 @@ ohos_unittest("LNNNetworkManagerMockTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -853,8 +884,6 @@ ohos_unittest("LNNIpNetworkImplMockTest") {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -862,6 +891,7 @@ ohos_unittest("LNNIpNetworkImplMockTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -922,8 +952,6 @@ ohos_unittest("LNNLedgerMockTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -931,6 +959,7 @@ ohos_unittest("LNNLedgerMockTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -984,8 +1013,6 @@ ohos_unittest("LNNNetLedgerCommonTest") {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -997,6 +1024,7 @@ ohos_unittest("LNNNetLedgerCommonTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -1050,8 +1078,6 @@ ohos_unittest("LNNDisctributedLedgerTest") {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -1063,6 +1089,7 @@ ohos_unittest("LNNDisctributedLedgerTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -1120,8 +1147,6 @@ ohos_unittest("LNNMetaNodeLedgerTest") {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -1133,6 +1158,7 @@ ohos_unittest("LNNMetaNodeLedgerTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -1196,8 +1222,6 @@ ohos_unittest("LNNLaneMockTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -1205,6 +1229,7 @@ ohos_unittest("LNNLaneMockTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -1256,8 +1281,6 @@ ohos_unittest("LNNLaneLinkMockTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -1265,6 +1288,7 @@ ohos_unittest("LNNLaneLinkMockTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -1320,8 +1344,6 @@ ohos_unittest("LNNTransLaneMockTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -1329,6 +1351,7 @@ ohos_unittest("LNNTransLaneMockTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -1370,7 +1393,6 @@ ohos_unittest("LNNDiscoveryInterfaceTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -1449,8 +1471,6 @@ if (!defined(ohos_lite) && enhanced_test) {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@ -1458,6 +1478,7 @@ if (!defined(ohos_lite) && enhanced_test) {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/LNN"
|
||||
|
||||
@ -56,24 +56,25 @@ ohos_unittest("HeartBeatMediumTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
"huks:libhukssdk",
|
||||
]
|
||||
}
|
||||
external_deps += [
|
||||
"c_utils:utils",
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
}
|
||||
|
||||
ohos_unittest("HeartBeatFSMTest") {
|
||||
@ -118,7 +119,6 @@ ohos_unittest("HeartBeatFSMTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
@ -127,6 +127,7 @@ ohos_unittest("HeartBeatFSMTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
@ -154,8 +155,8 @@ ohos_unittest("ClientProxyTest") {
|
||||
"$dsoftbus_root_path/core/frame/standard/client_manager/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/core/frame/common/include",
|
||||
"../../transmission/ipc/samgr/interfaces/innerkits/samgr_proxy/include",
|
||||
"//foundation/window/window_manager/previewer/mock",
|
||||
"//foundation/communication/dsoftbus/tests/core/transmission/ipc/samgr/interfaces/innerkits/samgr_proxy/include",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/c/ipc/include",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core/include",
|
||||
"//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include/",
|
||||
@ -165,7 +166,6 @@ ohos_unittest("ClientProxyTest") {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
@ -174,6 +174,7 @@ ohos_unittest("ClientProxyTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"samgr:samgr_proxy",
|
||||
]
|
||||
@ -216,7 +217,6 @@ ohos_unittest("BusCenterIpcTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
@ -225,6 +225,7 @@ ohos_unittest("BusCenterIpcTest") {
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/LNN"
|
||||
ohos_unittest("LNNConnAddrUtilsTest") {
|
||||
@ -56,14 +56,13 @@ ohos_unittest("LNNConnAddrUtilsTest") {
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||||
"//base/security/device_auth/services:deviceauth_sdk",
|
||||
"//third_party/googletest:gmock",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"device_auth:deviceauth_sdk",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
]
|
||||
} else {
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
|
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
|
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
|
@ -15,7 +15,7 @@
|
||||
import("//build/config/features.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../../dsoftbus.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SoftBusHiDumperFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
import("//build/config/features.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../../dsoftbus.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SoftBusHiSysEvtFuzzTest") {
|
||||
|
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
|
@ -15,7 +15,7 @@
|
||||
import("//build/config/features.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("JsonUtilsFuzzTest") {
|
||||
|
@ -15,7 +15,7 @@
|
||||
import("//build/config/features.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SoftBusLogFuzzTest") {
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
import("//build/config/features.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("MessageHandlerFuzzTest") {
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
static_library("softbus_test_message_handler") {
|
||||
sources = [ "message_handler_test.c" ]
|
||||
|
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
} else {
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
if (defined(ohos_lite)) {
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/lite/config/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
if (ohos_build_type == "debug") {
|
||||
unittest("SequenceVerificationTest") {
|
||||
@ -31,7 +31,7 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
} else {
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/common"
|
||||
ohos_unittest("SequenceVerificationTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
if (defined(ohos_lite)) {
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/lite/config/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
if (ohos_build_type == "debug") {
|
||||
unittest("SoftbusUtilsTest") {
|
||||
@ -31,7 +31,7 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
} else {
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/common"
|
||||
ohos_unittest("SoftbusUtilsTest") {
|
||||
|
@ -14,13 +14,14 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("BindParaTextFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/bindparatext_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/core/common/utils/fuzztest/bindparatext_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/adapter/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,13 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("ConvertBtMacToBinaryFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/convertbtmactobinary_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/core/common/utils/fuzztest/convertbtmactobinary_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/core/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,13 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("ConvertBtMacToStrFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/convertbtmactostr_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/core/common/utils/fuzztest/convertbtmactostr_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/core/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,13 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("ConvertHexStringToBytesFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/converthexstringtobytes_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/core/common/utils/fuzztest/converthexstringtobytes_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/core/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,14 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("EncryptedDbFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/encrypteddb_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/core/common/utils/fuzztest/encrypteddb_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/adapter/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,14 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("InsertRecordFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/insertrecord_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/core/common/utils/fuzztest/insertrecord_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/adapter/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,13 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("RemoveAllRecordFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/removeallrecord_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/core/common/utils/fuzztest/removeallrecord_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/adapter/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,13 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("RemoveRecordByKeyFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/removerecordbykey_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/core/common/utils/fuzztest/removerecordbykey_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/adapter/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,14 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SoftBusUtilsFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/softbusutils_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/core/common/utils/fuzztest/softbusutils_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/core/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,14 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("Sqlite3UtilsFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/sqlite3utils_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/core/common/utils/fuzztest/sqlite3utils_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/adapter/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -14,13 +14,13 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("UpdateDbPasswordFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/updatedbpassword_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/core/common/utils/fuzztest/updatedbpassword_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/adapter/common/include" ]
|
||||
cflags = [
|
||||
"-g",
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/common"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/connection"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/connection"
|
||||
config("softbus_connection_br_test_config") {
|
||||
|
@ -15,7 +15,7 @@
|
||||
import("//build/config/features.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("ConnectionCommonFuzzTest") {
|
||||
@ -23,8 +23,8 @@ ohos_fuzztest("ConnectionCommonFuzzTest") {
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/core/connection/common/fuzztest/connectioncommon_fuzzer"
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/communication/dsoftbus/core/connection/common/include",
|
||||
"//foundation/communication/dsoftbus/core/connection/interface",
|
||||
"$dsoftbus_root_path/core/connection/common/include",
|
||||
"$dsoftbus_root_path/core/connection/interface",
|
||||
]
|
||||
|
||||
cflags = [
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/connection"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/connection"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/connection"
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("//foundation/communication/dsoftbus/tests/utils/utils.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
import("../../../../utils/utils.gni")
|
||||
|
||||
module_output_path = "dsoftbus/connection"
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("//foundation/communication/dsoftbus/tests/utils/utils.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
import("../../../../utils/utils.gni")
|
||||
|
||||
module_output_path = "dsoftbus/connection"
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("//foundation/communication/dsoftbus/tests/utils/utils.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
import("../../../../utils/utils.gni")
|
||||
|
||||
module_output_path = "dsoftbus/connection"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/connection"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
native_source_path = rebase_path("$dsoftbus_root_path")
|
||||
dep_dir = "dsoftbus_enhance/test/core/discovery"
|
||||
|
@ -14,7 +14,7 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/discovery"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/discovery"
|
||||
|
||||
@ -23,11 +23,11 @@ ohos_unittest("DiscSoftBusBleTest") {
|
||||
sources = [ "disc_ble_softbus_test.cpp" ]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/ble/dispatcher/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/manager/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/interface",
|
||||
"//foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/core/discovery/ble/dispatcher/include",
|
||||
"$dsoftbus_root_path/core/discovery/manager/include",
|
||||
"$dsoftbus_root_path/core/discovery/interface",
|
||||
"$dsoftbus_root_path/core/discovery/ble/softbus_ble/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/kits/discovery",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
@ -51,9 +51,9 @@ ohos_unittest("DiscSoftBusBleTest") {
|
||||
|
||||
deps = [
|
||||
"$dsoftbus_root_path/adapter:softbus_adapter",
|
||||
"$dsoftbus_root_path/components/nstackx/nstackx_ctrl:nstackx_ctrl",
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl:nstackx_ctrl",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("//foundation/communication/dsoftbus/tests/utils/utils.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
import("../../../../utils/utils.gni")
|
||||
|
||||
module_output_path = "dsoftbus/discovery"
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
|
@ -14,8 +14,8 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("//foundation/communication/dsoftbus/tests/utils/utils.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
import("../../../../utils/utils.gni")
|
||||
|
||||
module_output_path = "dsoftbus/discovery"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/discovery"
|
||||
|
||||
@ -23,30 +23,29 @@ ohos_unittest("DiscNstackxAdapterTest") {
|
||||
sources = [ "disc_nstackx_adapter_test.cpp" ]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/ble/dispatcher/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/manager/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/interface",
|
||||
"//foundation/communication/dsoftbus/core/discovery/coap/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/coap/src",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface",
|
||||
"//foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include",
|
||||
"//foundation/communication/dsoftbus/core/bus_center/interface",
|
||||
"//foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include",
|
||||
"//foundation/communication/dsoftbus/adapter/common/include",
|
||||
"//foundation/communication/dsoftbus/adapter/default_config/spec_config",
|
||||
"//foundation/communication/dsoftbus//core/common/dfx/hidumper_adapter/include",
|
||||
"//foundation/communication/dsoftbus//core/discovery/manager/include",
|
||||
"//foundation/communication/dsoftbus//core/bus_center/lnn/net_ledger/local_ledger/include",
|
||||
"//foundation/communication/dsoftbus//core/bus_center/lnn/net_ledger/common/include",
|
||||
"../../../../../adapter/common/include",
|
||||
"../../../../../adapter/default_config/spec_config",
|
||||
"../../../../../components/nstackx/nstackx_util/interface",
|
||||
"../../../../../components/nstackx/nstackx_ctrl/include",
|
||||
"../../../../../core/bus_center/interface",
|
||||
"../../../../../core/bus_center/lnn/lane_hub/lane_manager/include",
|
||||
"../../../../../core/bus_center/lnn/net_ledger/common/include",
|
||||
"../../../../../core/bus_center/lnn/net_ledger/local_ledger/include",
|
||||
"../../../../../core/common/dfx/hidumper_adapter/include",
|
||||
"../../../../../core/common/include",
|
||||
"../../../../../core/discovery/ble/dispatcher/include",
|
||||
"../../../../../core/discovery/coap/include",
|
||||
"../../../../../core/discovery/coap/src",
|
||||
"../../../../../core/discovery/interface",
|
||||
"../../../../../core/discovery/manager/include",
|
||||
"../../../../../interfaces/kits/common",
|
||||
"//third_party/cJSON",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl:nstackx_ctrl",
|
||||
"//foundation/communication/dsoftbus/core/common:softbus_utils",
|
||||
"//foundation/communication/dsoftbus/core/frame:softbus_server",
|
||||
"../../../../../components/nstackx/nstackx_ctrl:nstackx_ctrl",
|
||||
"../../../../../core/common:softbus_utils",
|
||||
"../../../../../core/frame:softbus_server",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
|
||||
@ -68,29 +67,28 @@ ohos_unittest("DiscCoapTest") {
|
||||
sources = [ "disc_coap_test.cpp" ]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/ble/dispatcher/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/manager/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/interface",
|
||||
"//foundation/communication/dsoftbus/core/discovery/coap/include",
|
||||
"//foundation/communication/dsoftbus/core/discovery/coap/src",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface",
|
||||
"//foundation/communication/dsoftbus/core/bus_center/interface",
|
||||
"//foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include",
|
||||
"//foundation/communication/dsoftbus/adapter/common/include",
|
||||
"//foundation/communication/dsoftbus/adapter/default_config/spec_config",
|
||||
"//foundation/communication/dsoftbus//core/common/dfx/hidumper_adapter/include",
|
||||
"//foundation/communication/dsoftbus//core/discovery/manager/include",
|
||||
"//foundation/communication/dsoftbus//core/bus_center/lnn/net_ledger/local_ledger/include",
|
||||
"//foundation/communication/dsoftbus//core/bus_center/lnn/net_ledger/common/include",
|
||||
"../../../../../adapter/common/include",
|
||||
"../../../../../adapter/default_config/spec_config",
|
||||
"../../../../../components/nstackx/nstackx_util/interface",
|
||||
"../../../../../core/bus_center/interface",
|
||||
"../../../../../core/bus_center/lnn/lane_hub/lane_manager/include",
|
||||
"../../../../../core/bus_center/lnn/net_ledger/common/include",
|
||||
"../../../../../core/bus_center/lnn/net_ledger/local_ledger/include",
|
||||
"../../../../../core/common/dfx/hidumper_adapter/include",
|
||||
"../../../../../core/common/include",
|
||||
"../../../../../core/discovery/ble/dispatcher/include",
|
||||
"../../../../../core/discovery/coap/include",
|
||||
"../../../../../core/discovery/coap/src",
|
||||
"../../../../../core/discovery/interface",
|
||||
"../../../../../core/discovery/manager/include",
|
||||
"../../../../../interfaces/kits/common",
|
||||
"//third_party/cJSON",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl:nstackx_ctrl",
|
||||
"//foundation/communication/dsoftbus/core/common:softbus_utils",
|
||||
"//foundation/communication/dsoftbus/core/frame:softbus_server",
|
||||
"../../../../../components/nstackx/nstackx_ctrl:nstackx_ctrl",
|
||||
"../../../../../core/common:softbus_utils",
|
||||
"../../../../../core/frame:softbus_server",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
static_library("nstackx_test") {
|
||||
sources = [ "nstackx_test.c" ]
|
||||
|
@ -14,8 +14,8 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("//foundation/communication/dsoftbus/tests/utils/utils.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
import("../../../utils/utils.gni")
|
||||
|
||||
module_output_path = "dsoftbus/discovery"
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
import("//build/lite/config/component/lite_component.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("//foundation/communication/dsoftbus/tests/utils/utils.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
import("../../../../utils/utils.gni")
|
||||
|
||||
module_output_path = "dsoftbus/discovery"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/ohos.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
config("softbus_frame_test_config") {
|
||||
include_dirs = [
|
||||
@ -25,7 +25,7 @@ config("softbus_frame_test_config") {
|
||||
|
||||
ohos_executable("softbus_test") {
|
||||
install_enable = true
|
||||
sources = [ "$dsoftbus_root_path/tests/core/frame/softbus_test.c" ]
|
||||
sources = [ "softbus_test.c" ]
|
||||
configs = [ ":softbus_frame_test_config" ]
|
||||
|
||||
if (is_standard_system) {
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
native_source_path = rebase_path("$dsoftbus_root_path")
|
||||
dep_dir = "dsoftbus_enhance/test/core/transmission"
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
import("//build/config/features.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
|
@ -15,7 +15,7 @@
|
||||
import("//build/config/features.gni")
|
||||
import("//build/ohos.gni")
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
@ -30,7 +30,6 @@ ohos_unittest("TransClientProxyTest") {
|
||||
"$dsoftbus_root_path/core/frame/standard/client_manager/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/sdk/frame/standard/include",
|
||||
"//foundation/communication/dsoftbus/tests/core/transmission/ipc/samgr/interfaces/innerkits/samgr_proxy/include",
|
||||
"//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include/",
|
||||
"//foundation/window/window_manager/previewer/mock",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/c/ipc/include",
|
||||
@ -40,23 +39,19 @@ ohos_unittest("TransClientProxyTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"samgr:samgr_proxy",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
} else {
|
||||
external_deps = [
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
external_deps += [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
"ipc:ipc_core",
|
||||
"samgr:samgr_proxy",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
ohos_unittest("TransClientProxyStandardTest") {
|
||||
@ -73,7 +68,6 @@ ohos_unittest("TransClientProxyStandardTest") {
|
||||
"$dsoftbus_root_path/core/frame/standard/client_manager/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/sdk/frame/standard/include",
|
||||
"//foundation/communication/dsoftbus/tests/core/transmission/ipc/samgr/interfaces/innerkits/samgr_proxy/include",
|
||||
"//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include/",
|
||||
"//foundation/window/window_manager/previewer/mock",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/c/ipc/include",
|
||||
@ -83,23 +77,19 @@ ohos_unittest("TransClientProxyStandardTest") {
|
||||
deps = [
|
||||
"$dsoftbus_root_path/core/common:softbus_utils",
|
||||
"$dsoftbus_root_path/core/frame:softbus_server",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"samgr:samgr_proxy",
|
||||
]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
} else {
|
||||
external_deps = [
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
external_deps += [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
"ipc:ipc_core",
|
||||
"samgr:samgr_proxy",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
group("unittest") {
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,9 +12,8 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import(
|
||||
"//foundation/communication/dsoftbus/tests/core/transmission/common/mock/mock.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
import("../../common/mock/mock.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
@ -90,10 +89,8 @@ ohos_unittest("TransProxyChannelTest") {
|
||||
}
|
||||
}
|
||||
|
||||
import(
|
||||
"//foundation/communication/dsoftbus/core/transmission/trans_channel/common/common.gni")
|
||||
import(
|
||||
"//foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/proxy.gni")
|
||||
import("../../../../../core/transmission/trans_channel/common/common.gni")
|
||||
import("../../../../../core/transmission/trans_channel/proxy/proxy.gni")
|
||||
|
||||
ohos_unittest("TransProxyChannelMockTest") {
|
||||
module_out_path = module_output_path
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/transmission"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../dsoftbus.gni")
|
||||
|
||||
group("benchmarktest") {
|
||||
testonly = true
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../dsoftbus.gni")
|
||||
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
|
@ -13,13 +13,14 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("ActiveMetaNodeFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/activemetanode_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/sdk/bus_center/fuzztest/activemetanode_fuzzer"
|
||||
include_dirs = [
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("DeactiveMetaNodeFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/deactivemetanode_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/sdk/bus_center/fuzztest/deactivemetanode_fuzzer"
|
||||
include_dirs = [
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("GetAllMetaNodeInfoFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/getallmetanodeinfo_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/sdk/bus_center/fuzztest/getallmetanodeinfo_fuzzer"
|
||||
include_dirs = [
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("GetAllNodeDeviceInfoFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/getallnodedeviceinfo_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/sdk/bus_center/fuzztest/getallnodedeviceinfo_fuzzer"
|
||||
include_dirs = [
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("GetLocalNodeDeviceInfoFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/getlocalnodedeviceinfo_fuzzer"
|
||||
fuzz_config_file = "$dsoftbus_root_path/tests/sdk/bus_center/fuzztest/getlocalnodedeviceinfo_fuzzer"
|
||||
include_dirs = [
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
|
@ -13,13 +13,14 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("GetNodeKeyInfoFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/getnodekeyinfo_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/sdk/bus_center/fuzztest/getnodekeyinfo_fuzzer"
|
||||
include_dirs = [
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
|
@ -13,13 +13,14 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("IsPassSeqCheckFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/ispassseqcheck_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/sdk/bus_center/fuzztest/ispassseqcheck_fuzzer"
|
||||
include_dirs = [ "$dsoftbus_root_path/core/common/include" ]
|
||||
|
||||
cflags = [
|
||||
|
@ -13,13 +13,14 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("JoinLNNFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/joinlnn_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/sdk/bus_center/fuzztest/joinlnn_fuzzer"
|
||||
include_dirs = [
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
|
@ -13,13 +13,14 @@
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/test.gni")
|
||||
import("//foundation/communication/dsoftbus/dsoftbus.gni")
|
||||
import("../../../../../dsoftbus.gni")
|
||||
module_output_path = "dsoftbus/bus_center"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("JoinMetaNodeFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
fuzz_config_file = "//foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/joinmetanode_fuzzer"
|
||||
fuzz_config_file =
|
||||
"$dsoftbus_root_path/tests/sdk/bus_center/fuzztest/joinmetanode_fuzzer"
|
||||
include_dirs = [
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user