!648 【xts_hats】【master】hats仓部件整改

Merge pull request !648 from 李晓枫/hats_0505
This commit is contained in:
openharmony_ci 2023-05-08 09:04:53 +00:00 committed by Gitee
commit beaeae4b13
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
39 changed files with 122 additions and 118 deletions

View File

@ -1,7 +1,7 @@
{
"name": "@ohos/xts_hats",
"description": "hats",
"version": "3.1",
"version": "4.0",
"license": "Apache License 2.0",
"publishAs": "code-segment",
"segment": {
@ -16,10 +16,12 @@
"features": [
"xts_hats_rich",
"xts_hats_nnrt"
],
"adapted_system_type": [],
"rom": "",
"ram": "",
],
"adapted_system_type": [
"standard"
],
"rom": "0KB",
"ram": "0KB",
"deps": {
"components": [],
"third_party": []
@ -27,7 +29,9 @@
"build": {
"sub_component": [],
"inner_kits": [],
"test": [ "//test/xts/hats:hats" ]
"test": [
"//test/xts/hats:hats"
]
}
}
}

View File

@ -55,6 +55,6 @@ ohos_moduletest_suite("HatsHdfAudioBenchmarkTest") {
}
external_deps += [ "ipc:ipc_single" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_audio"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -35,8 +35,8 @@ ohos_moduletest_suite("HatsHdfAudioEffectBenchmarkTest") {
"hdf_core:libhdf_utils",
"hiviewdfx_hilog_native:libhilog",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_audio"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("audio_idl_effect") {
include_dirs = []

View 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
@ -29,8 +29,8 @@ ohos_moduletest_suite("HatsHdfAudioIdlAdapterTest") {
"hiviewdfx_hilog_native:libhilog",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_audio"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("audio_idl_adapter") {

View 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
@ -29,8 +29,8 @@ ohos_moduletest_suite("HatsHdfAudioIdlCaptureTest") {
"hiviewdfx_hilog_native:libhilog",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_audio"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("audio_idl_capture") {

View 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
@ -29,8 +29,8 @@ ohos_moduletest_suite("HatsHdfAudioIdlManagerTest") {
"hiviewdfx_hilog_native:libhilog",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_audio"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("audio_idl_manager") {

View 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
@ -32,8 +32,8 @@ ohos_moduletest_suite("HatsHdfAudioIdlRenderTest") {
"hiviewdfx_hilog_native:libhilog",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_audio"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("audio_idl_render") {

View File

@ -31,8 +31,8 @@ ohos_moduletest_suite("HatsHdfAudioEffectTest") {
"hdf_core:libhdf_utils",
"hiviewdfx_hilog_native:libhilog",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_audio"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("audio_idl_effect") {
include_dirs = []

View 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
@ -47,8 +47,8 @@ ohos_moduletest_suite("HatsBluetoothHdiTest") {
}
external_deps += [ "ipc:ipc_single" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_bluetooth"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_bluetooth") {

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 2022-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
@ -61,6 +61,6 @@ ohos_moduletest_suite("HatsHdfCamerabenchmarkTest") {
"samgr:samgr_proxy",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_camera"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 2022-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
@ -95,6 +95,6 @@ ohos_moduletest_suite("HatsHdfCameraBufferTest") {
]
public_configs = [ ":cameraTest_config" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_camera"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -105,6 +105,6 @@ ohos_moduletest_suite("HatsHdfCameraPipelineTest") {
]
public_configs = [ ":cameraTest_config" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_camera"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -112,8 +112,8 @@ ohos_moduletest_suite("HatsHdfCameraTest") {
]
public_configs = [ ":cameraTest_config" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_camera"
subsystem_name = "xts"
part_name = "xts_hats"
}
group("hdi") {

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 2022 - 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
@ -62,8 +62,8 @@ ohos_moduletest_suite("HatsHdfCameraMgTest") {
]
# public_configs = [ ":cameraTest_config" ]
# subsystem_name = "hdf"
# part_name = "drivers_peripheral_camera"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_cameramg") {
include_dirs = [

View File

@ -54,8 +54,8 @@ ohos_moduletest_suite("HatsHdfCodecBenchmarkTest") {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_codec"
subsystem_name = "xts"
part_name = "xts_hats"
defines = []
if (drivers_peripheral_codec_feature_support_omx_extend_test) {

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 2022 - 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
@ -35,8 +35,8 @@ ohos_moduletest_suite("HatsHdfAdapterCodecTest") {
} else {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_codec"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdc_codec_adapter") {
include_dirs = [ "//third_party/openmax/api/1.1.2" ]

View 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
@ -51,8 +51,8 @@ ohos_moduletest_suite("HatsHdfOmxCodecTest") {
if (xts_hats_rich) {
defines += [ "SUPPORT_OMX" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_codec"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_codec_omx") {

View 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
@ -47,6 +47,6 @@ ohos_moduletest_suite("HatsHdfV1CodecTest") {
} else {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_codec"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 2022 - 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
@ -34,6 +34,6 @@ ohos_moduletest_suite("HatsHdfDisplayBufferDeathTest") {
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 2022 - 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
@ -35,6 +35,6 @@ ohos_moduletest_suite("HatsHdfDisplayBufferUtTest") {
"ipc:ipc_core",
"thirdparty_googletest:gtest",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -48,6 +48,6 @@ ohos_static_library("disp_dev_hdi_test") {
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -38,6 +38,6 @@ ohos_moduletest_suite("HatsHdfDisplayComposerDeathTest") {
"thirdparty_googletest:gtest",
]
cflags = [ "-Wno-unused-function" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -41,6 +41,6 @@ ohos_moduletest_suite("HatszHdfDisplayComposerMtTest") {
"thirdparty_googletest:gtest",
]
cflags = [ "-Wno-unused-function" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -38,6 +38,6 @@ ohos_moduletest_suite("HatszHdfDisplayComposerUtTest") {
"thirdparty_googletest:gtest",
]
cflags = [ "-Wno-unused-function" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
subsystem_name = "xts"
part_name = "xts_hats"
}

View 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
@ -42,6 +42,6 @@ ohos_moduletest_suite("HatsHdfLightHdiTest") {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_light"
subsystem_name = "xts"
part_name = "xts_hats"
}

View 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
@ -49,8 +49,8 @@ ohos_moduletest_suite("HatsHdfLocationagnssTest") {
]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_location_agnss"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_agnss") {

View 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
@ -48,8 +48,8 @@ ohos_moduletest_suite("HatsHdfLocationgeofenceTest") {
]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_location_geofence"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_geofence") {

View 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
@ -49,8 +49,8 @@ ohos_moduletest_suite("HatsHdfLocationgnssTest") {
]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_location_gnss"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_gnss") {

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 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
@ -39,8 +39,8 @@ ohos_moduletest_suite("HatsHdfMotionTest") {
}
external_deps += [ "ipc:ipc_single" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_motion"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_motion") {
cflags = [

View 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
@ -46,8 +46,8 @@ ohos_moduletest_suite("HatsHdfNfcHdiTest") {
}
external_deps += [ "ipc:ipc_single" ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_nfc"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_nfc") {

View 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
@ -40,6 +40,6 @@ ohos_moduletest_suite("HatsHdfSensorHdiTest") {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_sensor"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -45,8 +45,8 @@ ohos_moduletest_suite("HatsHdfUsbTransferTest") {
"samgr:samgr_proxy",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_usb"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_usb") {

View File

@ -48,8 +48,8 @@ ohos_moduletest_suite("HatsHdfUsbBenchmarkDeviceTest") {
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_usb"
subsystem_name = "xts"
part_name = "xts_hats"
}
ohos_moduletest_suite("HatsHdfUsbBenchmarkFunctionTest") {
@ -83,8 +83,8 @@ ohos_moduletest_suite("HatsHdfUsbBenchmarkFunctionTest") {
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_usb"
subsystem_name = "xts"
part_name = "xts_hats"
}
ohos_moduletest_suite("HatsHdfUsbBenchmarkRequestTest") {
@ -118,8 +118,8 @@ ohos_moduletest_suite("HatsHdfUsbBenchmarkRequestTest") {
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_usb"
subsystem_name = "xts"
part_name = "xts_hats"
}
ohos_moduletest_suite("HatsHdfUsbBenchmarkTransferTest") {
@ -152,8 +152,8 @@ ohos_moduletest_suite("HatsHdfUsbBenchmarkTransferTest") {
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_usb"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_usb") {

View 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
@ -42,6 +42,6 @@ ohos_moduletest_suite("HatsHdfVibratorHdiTest") {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_vibrator"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# limitations under the License.
import("//build/ohos_var.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")

View 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
@ -46,8 +46,8 @@ ohos_moduletest_suite("HatsHdfWifiHdiTest") {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_wlan"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_wlan_hdicommon") {
@ -87,8 +87,8 @@ ohos_moduletest_suite("HatsHdfWifiHdistartandstopTest") {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_wlan"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_wlan_hdicommonsecond") {
@ -128,8 +128,8 @@ ohos_moduletest_suite("HatsHdfWificlientTest") {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_wlan"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_wlan_hdicommonthird") {
@ -174,8 +174,8 @@ ohos_moduletest_suite("HatsHdfWificommonTest") {
external_deps = [ "hilog:libhilog" ]
}
subsystem_name = "hdf"
part_name = "drivers_peripheral_wlan"
subsystem_name = "xts"
part_name = "xts_hats"
}
config("hdf_wlan_hdicommonfour") {

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 2022 - 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
@ -29,6 +29,6 @@ ohos_moduletest_suite("HatsPowermgrBatteryTest") {
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_single",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_battery"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 2022 - 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
@ -31,6 +31,6 @@ ohos_moduletest_suite("HatsPowermgrPowerTest") {
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_single",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_power"
subsystem_name = "xts"
part_name = "xts_hats"
}

View File

@ -1,4 +1,4 @@
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Copyright (c) 2022 - 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
@ -31,6 +31,6 @@ ohos_moduletest_suite("HatsPowermgrThermalTest") {
"init:libbeget_proxy",
"ipc:ipc_single",
]
subsystem_name = "hdf"
part_name = "drivers_peripheral_thermal"
subsystem_name = "xts"
part_name = "xts_hats"
}