mirror of
https://gitee.com/openharmony/xts_dcts
synced 2024-11-23 07:39:59 +00:00
部件化整改
Signed-off-by: zhangpa2021 <zhangpan70@huawei.com>
This commit is contained in:
parent
ebff7e7913
commit
9f7606ffe1
6
bundle.json
Normal file → Executable file
6
bundle.json
Normal file → Executable file
@ -14,9 +14,9 @@
|
||||
"subsystem": "xts",
|
||||
"syscap": [],
|
||||
"features": [],
|
||||
"adapted_system_type": [],
|
||||
"rom": "",
|
||||
"ram": "",
|
||||
"adapted_system_type": ["standard"],
|
||||
"rom": "0",
|
||||
"ram": "0",
|
||||
"deps": {
|
||||
"components": [],
|
||||
"third_party": []
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2021 Huawei Device Co., Ltd.
|
||||
# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -10,7 +10,7 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
import("//test/xts/tools/build/suite.gni")
|
||||
import("../../../../tools/build/suite.gni")
|
||||
|
||||
ohos_js_hap_suite("DctsRpcJsTest") {
|
||||
hap_profile = "./src/main/config.json"
|
||||
|
4
communication/dsoftbus/rpcserver/BUILD.gn
Normal file → Executable file
4
communication/dsoftbus/rpcserver/BUILD.gn
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2021-2022 Huawei Device Co., Ltd.
|
||||
# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//test/xts/tools/build/suite.gni")
|
||||
import("../../../../tools/build/suite.gni")
|
||||
|
||||
ohos_hap_assist_suite("DctsRpcJsServer") {
|
||||
hap_profile = "./src/main/config.json"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2021-2022 Huawei Device Co., Ltd.
|
||||
# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -11,9 +11,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//test/xts/tools/build/suite.gni")
|
||||
import("../../../../tools/build/suite.gni")
|
||||
|
||||
module_output_path = "dcts/softbus_base/dsoftbusTest"
|
||||
dsoftbus_root_path = "../../../../../../foundation/communication/dsoftbus"
|
||||
wifi_root_path = "../../../../../../foundation/communication/wifi/wifi"
|
||||
|
||||
ohos_moduletest_suite("dsoftbusTest") {
|
||||
module_out_path = module_output_path
|
||||
@ -25,32 +27,31 @@ ohos_moduletest_suite("dsoftbusTest") {
|
||||
|
||||
include_dirs = [
|
||||
"../common",
|
||||
"//third_party/cJSON",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/adapter/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/bus_center",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/transport",
|
||||
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/include",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/interfaces",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core/include",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
"//base/security/access_token/interfaces/innerkits/accesstoke/include",
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken/include",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/discovery",
|
||||
"$dsoftbus_root_path/interfaces/kits/transport",
|
||||
|
||||
"$wifi_root_path/frameworks/native/include",
|
||||
"$wifi_root_path/frameworks/native/interfaces",
|
||||
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native:wifi_sdk",
|
||||
"//third_party/googletest:gtest_main",
|
||||
deps = [ "//third_party/googletest:gtest_main" ]
|
||||
external_deps = [
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"access_token:libnativetoken",
|
||||
"access_token:libtoken_setproc",
|
||||
"c_utils:utils",
|
||||
"dsoftbus:softbus_client",
|
||||
"ipc:ipc_core",
|
||||
"wifi:wifi_sdk",
|
||||
]
|
||||
external_deps = [ "dsoftbus:softbus_client" ]
|
||||
subsystem_name = "communication"
|
||||
part_name = "dsoftbus"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2021-2022 Huawei Device Co., Ltd.
|
||||
# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -11,9 +11,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//test/xts/tools/build/suite.gni")
|
||||
import("../../../../../tools/build/suite.gni")
|
||||
|
||||
module_output_path = "dcts/softbus_base/transmission/reliability"
|
||||
dsoftbus_root_path = "../../../../../../../foundation/communication/dsoftbus"
|
||||
wifi_root_path = "../../../../../../../foundation/communication/wifi/wifi"
|
||||
|
||||
ohos_moduletest_suite("DctsSoftBusTransReliabilityTest") {
|
||||
module_out_path = module_output_path
|
||||
@ -25,32 +27,31 @@ ohos_moduletest_suite("DctsSoftBusTransReliabilityTest") {
|
||||
|
||||
include_dirs = [
|
||||
"../../common",
|
||||
"//third_party/cJSON",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/adapter/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/bus_center",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/transport",
|
||||
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/include",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/interfaces",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core/include",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
"//base/security/access_token/interfaces/innerkits/accesstoke/include",
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken/include",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/discovery",
|
||||
"$dsoftbus_root_path/interfaces/kits/transport",
|
||||
|
||||
"$wifi_root_path/frameworks/native/include",
|
||||
"$wifi_root_path/frameworks/native/interfaces",
|
||||
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native:wifi_sdk",
|
||||
"//third_party/googletest:gtest_main",
|
||||
deps = [ "//third_party/googletest:gtest_main" ]
|
||||
external_deps = [
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"access_token:libnativetoken",
|
||||
"access_token:libtoken_setproc",
|
||||
"c_utils:utils",
|
||||
"dsoftbus:softbus_client",
|
||||
"ipc:ipc_core",
|
||||
"wifi:wifi_sdk",
|
||||
]
|
||||
external_deps = [ "dsoftbus:softbus_client" ]
|
||||
subsystem_name = "communication"
|
||||
part_name = "dsoftbus"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2021-2022 Huawei Device Co., Ltd.
|
||||
# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -11,9 +11,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//test/xts/tools/build/suite.gni")
|
||||
import("../../../../../tools/build/suite.gni")
|
||||
|
||||
module_output_path = "dcts/softbus_base/transmission/sendfile"
|
||||
dsoftbus_root_path = "../../../../../../../foundation/communication/dsoftbus"
|
||||
wifi_root_path = "../../../../../../../foundation/communication/wifi/wifi"
|
||||
|
||||
ohos_moduletest_suite("DctsSoftBusTransFileFunTest") {
|
||||
module_out_path = module_output_path
|
||||
@ -25,32 +27,31 @@ ohos_moduletest_suite("DctsSoftBusTransFileFunTest") {
|
||||
|
||||
include_dirs = [
|
||||
"../../common",
|
||||
"//third_party/cJSON",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/adapter/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/bus_center",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/transport",
|
||||
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/include",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/interfaces",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core/include",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
"//base/security/access_token/interfaces/innerkits/accesstoke/include",
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken/include",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/discovery",
|
||||
"$dsoftbus_root_path/interfaces/kits/transport",
|
||||
|
||||
"$wifi_root_path/frameworks/native/include",
|
||||
"$wifi_root_path/frameworks/native/interfaces",
|
||||
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native:wifi_sdk",
|
||||
"//third_party/googletest:gtest_main",
|
||||
deps = [ "//third_party/googletest:gtest_main" ]
|
||||
external_deps = [
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"access_token:libnativetoken",
|
||||
"access_token:libtoken_setproc",
|
||||
"c_utils:utils",
|
||||
"dsoftbus:softbus_client",
|
||||
"ipc:ipc_core",
|
||||
"wifi:wifi_sdk",
|
||||
]
|
||||
external_deps = [ "dsoftbus:softbus_client" ]
|
||||
subsystem_name = "communication"
|
||||
part_name = "dsoftbus"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2021-2022 Huawei Device Co., Ltd.
|
||||
# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -11,9 +11,12 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//test/xts/tools/build/suite.gni")
|
||||
import("../../../../../tools/build/suite.gni")
|
||||
|
||||
module_output_path = "dcts/softbus_base/transmission/sendmsg"
|
||||
dsoftbus_root_path = "../../../../../../../foundation/communication/dsoftbus"
|
||||
wifi_root_path = "../../../../../../../foundation/communication/wifi/wifi"
|
||||
|
||||
ohos_moduletest_suite("DctsSoftBusTransFunTest") {
|
||||
module_out_path = module_output_path
|
||||
sources = [
|
||||
@ -24,32 +27,31 @@ ohos_moduletest_suite("DctsSoftBusTransFunTest") {
|
||||
|
||||
include_dirs = [
|
||||
"../../common",
|
||||
"//third_party/cJSON",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/adapter/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/bus_center",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/transport",
|
||||
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/include",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/interfaces",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core/include",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
"//base/security/access_token/interfaces/innerkits/accesstoke/include",
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken/include",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/discovery",
|
||||
"$dsoftbus_root_path/interfaces/kits/transport",
|
||||
|
||||
"$wifi_root_path/frameworks/native/include",
|
||||
"$wifi_root_path/frameworks/native/interfaces",
|
||||
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native:wifi_sdk",
|
||||
"//third_party/googletest:gtest_main",
|
||||
deps = [ "//third_party/googletest:gtest_main" ]
|
||||
external_deps = [
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"access_token:libnativetoken",
|
||||
"access_token:libtoken_setproc",
|
||||
"c_utils:utils",
|
||||
"dsoftbus:softbus_client",
|
||||
"ipc:ipc_core",
|
||||
"wifi:wifi_sdk",
|
||||
]
|
||||
external_deps = [ "dsoftbus:softbus_client" ]
|
||||
subsystem_name = "communication"
|
||||
part_name = "dsoftbus"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2021-2022 Huawei Device Co., Ltd.
|
||||
# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -11,9 +11,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//test/xts/tools/build/suite.gni")
|
||||
import("../../../../../tools/build/suite.gni")
|
||||
|
||||
module_output_path = "dcts/softbus_base/transmission/sendstream"
|
||||
dsoftbus_root_path = "../../../../../../../foundation/communication/dsoftbus"
|
||||
wifi_root_path = "../../../../../../../foundation/communication/wifi/wifi"
|
||||
|
||||
ohos_moduletest_suite("DctsSoftBusTransStreamFunTest") {
|
||||
module_out_path = module_output_path
|
||||
@ -25,32 +27,31 @@ ohos_moduletest_suite("DctsSoftBusTransStreamFunTest") {
|
||||
|
||||
include_dirs = [
|
||||
"../../common",
|
||||
"//third_party/cJSON",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/adapter/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/bus_center",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/transport",
|
||||
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/include",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/interfaces",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core/include",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
"//base/security/access_token/interfaces/innerkits/accesstoke/include",
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken/include",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/discovery",
|
||||
"$dsoftbus_root_path/interfaces/kits/transport",
|
||||
|
||||
"$wifi_root_path/frameworks/native/include",
|
||||
"$wifi_root_path/frameworks/native/interfaces",
|
||||
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native:wifi_sdk",
|
||||
"//third_party/googletest:gtest_main",
|
||||
deps = [ "//third_party/googletest:gtest_main" ]
|
||||
external_deps = [
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"access_token:libnativetoken",
|
||||
"access_token:libtoken_setproc",
|
||||
"c_utils:utils",
|
||||
"dsoftbus:softbus_client",
|
||||
"ipc:ipc_core",
|
||||
"wifi:wifi_sdk",
|
||||
]
|
||||
external_deps = [ "dsoftbus:softbus_client" ]
|
||||
subsystem_name = "communication"
|
||||
part_name = "dsoftbus"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2021-2022 Huawei Device Co., Ltd.
|
||||
# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -11,9 +11,12 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//test/xts/tools/build/suite.gni")
|
||||
import("../../../../../tools/build/suite.gni")
|
||||
|
||||
module_output_path = "dcts/softbus_base/transmission/sessionmgt"
|
||||
dsoftbus_root_path = "../../../../../../../foundation/communication/dsoftbus"
|
||||
wifi_root_path = "../../../../../../../foundation/communication/wifi/wifi"
|
||||
|
||||
ohos_moduletest_suite("DctsSoftBusTransSessionFunTest") {
|
||||
module_out_path = module_output_path
|
||||
sources = [
|
||||
@ -24,32 +27,31 @@ ohos_moduletest_suite("DctsSoftBusTransSessionFunTest") {
|
||||
|
||||
include_dirs = [
|
||||
"../../common",
|
||||
"//third_party/cJSON",
|
||||
"//commonlibrary/c_utils/base/include",
|
||||
"//foundation/communication/dsoftbus/core/common/include",
|
||||
"//foundation/communication/dsoftbus/adapter/common/include",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/bus_center",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/discovery",
|
||||
"//foundation/communication/dsoftbus/interfaces/kits/transport",
|
||||
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/include",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native/interfaces",
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core/include",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"//foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
"//base/security/access_token/interfaces/innerkits/accesstoke/include",
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken/include",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc/include",
|
||||
"$dsoftbus_root_path/core/common/include",
|
||||
"$dsoftbus_root_path/adapter/common/include",
|
||||
"$dsoftbus_root_path/interfaces/kits/common",
|
||||
"$dsoftbus_root_path/interfaces/kits/bus_center",
|
||||
"$dsoftbus_root_path/interfaces/kits/discovery",
|
||||
"$dsoftbus_root_path/interfaces/kits/transport",
|
||||
|
||||
"$wifi_root_path/frameworks/native/include",
|
||||
"$wifi_root_path/frameworks/native/interfaces",
|
||||
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper",
|
||||
"$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/log",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken",
|
||||
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
|
||||
"//foundation/communication/wifi/wifi/frameworks/native:wifi_sdk",
|
||||
"//third_party/googletest:gtest_main",
|
||||
deps = [ "//third_party/googletest:gtest_main" ]
|
||||
external_deps = [
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"access_token:libnativetoken",
|
||||
"access_token:libtoken_setproc",
|
||||
"c_utils:utils",
|
||||
"dsoftbus:softbus_client",
|
||||
"ipc:ipc_core",
|
||||
"wifi:wifi_sdk",
|
||||
]
|
||||
external_deps = [ "dsoftbus:softbus_client" ]
|
||||
subsystem_name = "communication"
|
||||
part_name = "dsoftbus"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user