!674 【XTS】【hdf】hats仓部件整改

Merge pull request !674 from 权力/myfeature
This commit is contained in:
openharmony_ci 2023-05-16 09:40:00 +00:00 committed by Gitee
commit d98c325edb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 25 additions and 16 deletions

View File

@ -17,6 +17,7 @@ import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
import("//test/xts/tools/build/suite.gni")
module_output_path = "hdf/bluetooth"
root_path = "//drivers/peripheral/bluetooth/hci"
ohos_moduletest_suite("HatsBluetoothHdiTest") {
module_out_path = module_output_path
@ -26,7 +27,7 @@ ohos_moduletest_suite("HatsBluetoothHdiTest") {
]
deps = [
"//drivers/peripheral/bluetooth/hci/hdi_service:hdi_bluetooth_hci_service",
"${root_path}/hdi_service:hdi_bluetooth_hci_service",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
]
@ -54,7 +55,7 @@ ohos_moduletest_suite("HatsBluetoothHdiTest") {
config("hdf_bluetooth") {
include_dirs = [
"include",
"//drivers/peripheral/bluetooth/hci/hdi_service",
"//drivers/peripheral/bluetooth/hci/hdi_service/implement",
"${root_path}/hdi_service",
"${root_path}/hdi_service/implement",
]
}

View File

@ -14,6 +14,8 @@
import("//build/ohos_var.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
import("//test/xts/tools/build/suite.gni")
ROOT_PATH = "//drivers/peripheral"
LOCATION_PATH = "../"
module_output_path = "hdf/location/agnss"
ohos_moduletest_suite("HatsHdfLocationagnssTest") {
@ -56,9 +58,9 @@ ohos_moduletest_suite("HatsHdfLocationagnssTest") {
config("hdf_agnss") {
include_dirs = [
"include",
"//test/xts/hats/hdf/location/gnss",
"//drivers/peripheral/location/agnss/hdi_service",
"//drivers/peripheral/location/gnss/hdi_service",
"$LOCATION_PATH/gnss",
"$ROOT_PATH/location/agnss/hdi_service",
"$ROOT_PATH/location/gnss/hdi_service",
]
cflags = [
"-Wall",

View File

@ -14,6 +14,7 @@
import("//build/ohos_var.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
import("//test/xts/tools/build/suite.gni")
ROOT_PATH = "//drivers/peripheral"
module_output_path = "hdf/location/geofence"
ohos_moduletest_suite("HatsHdfLocationgeofenceTest") {
@ -55,8 +56,8 @@ ohos_moduletest_suite("HatsHdfLocationgeofenceTest") {
config("hdf_geofence") {
include_dirs = [
"include",
"//drivers/peripheral/location/geofence/hdi_service",
"//drivers/peripheral/location/gnss/hdi_service",
"$ROOT_PATH/location/geofence/hdi_service",
"$ROOT_PATH/location/gnss/hdi_service",
]
cflags = [
"-Wall",

View File

@ -15,6 +15,8 @@ import("//build/ohos_var.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
import("//test/xts/tools/build/suite.gni")
ROOT_PATH = "//drivers/peripheral"
module_output_path = "hdf/location/gnss"
ohos_moduletest_suite("HatsHdfLocationgnssTest") {
module_out_path = module_output_path
@ -24,7 +26,7 @@ ohos_moduletest_suite("HatsHdfLocationgnssTest") {
configs = [ ":hdf_gnss" ]
deps = [
"//drivers/peripheral/location/gnss/hdi_service:liblocation_gnss_hdi_driver",
"${ROOT_PATH}/location/gnss/hdi_service:liblocation_gnss_hdi_driver",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
]
@ -56,8 +58,8 @@ ohos_moduletest_suite("HatsHdfLocationgnssTest") {
config("hdf_gnss") {
include_dirs = [
"include",
"//drivers/peripheral/location/geofence/hdi_service",
"//drivers/peripheral/location/gnss/hdi_service",
"${ROOT_PATH}/location/geofence/hdi_service",
"${ROOT_PATH}/location/gnss/hdi_service",
]
cflags = [
"-Wall",

View File

@ -16,6 +16,9 @@ import("//build/ohos_var.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
import("//test/xts/tools/build/suite.gni")
base_root = "//drivers"
root_path = "//foundation/communication"
module_output_path = "hdf/nfc"
ohos_moduletest_suite("HatsHdfNfcHdiTest") {
@ -23,9 +26,9 @@ ohos_moduletest_suite("HatsHdfNfcHdiTest") {
sources = [ "nfc_services_test.cpp" ]
deps = [
"//drivers/interface/nfc/v1_0:libnfc_proxy_1.0",
"//drivers/peripheral/nfc/hdi_service:hdi_nfc_service",
"//foundation/communication/nfc/services:nfc_service",
"${base_root}/interface/nfc/v1_0:libnfc_proxy_1.0",
"${base_root}/peripheral/nfc/hdi_service:hdi_nfc_service",
"${root_path}/nfc/services:nfc_service",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
]
@ -53,8 +56,8 @@ ohos_moduletest_suite("HatsHdfNfcHdiTest") {
config("hdf_nfc") {
include_dirs = [
"include",
"//drivers/peripheral/nfc/hdi_service",
"//drivers/peripheral/nfc/vendor_adaptor",
"${base_root}/peripheral/nfc/hdi_service",
"${base_root}/peripheral/nfc/vendor_adaptor",
"//third_party/nfc_hdiimpl/SN100x/halimpl/inc",
"//third_party/libnfc-nci/SN100x/src/include/",
"//third_party/libnfc-nci/SN100x/utils/include/",