hats仓部件整改

Signed-off-by: lixiaofeng_154b <lixiaofeng54@huawei.com>
Change-Id: Ifb9531e75a9f7e26cd686e1e1e3874c5daf7e654
This commit is contained in:
lixiaofeng_154b 2023-05-08 14:05:03 +08:00
parent 734906a669
commit fc460b1f16
20 changed files with 31 additions and 27 deletions

View File

@ -17,9 +17,9 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfNnrtTest") {
testonly = true
if (xts_hats_features_rich == false) {
if (xts_hats_rich == false) {
if (is_standard_system) {
if (xts_hats_features_nnrt) {
if (xts_hats_nnrt) {
deps = [
"hdi/v1_0:hdi",
"hdi/v2_0:hdi",

View File

@ -12,6 +12,6 @@
# limitations under the License.
import("//build/ohos.gni")
declare_args() {
xts_hats_features_rich = false
xts_hats_features_nnrt = false
xts_hats_rich = false
xts_hats_nnrt = false
}

View File

@ -14,10 +14,12 @@
"subsystem": "xts",
"syscap": [],
"features": [
"xts_hats_features_rich",
"xts_hats_features_nnrt"
],
"adapted_system_type": [ "standard" ],
"xts_hats_rich",
"xts_hats_nnrt"
],
"adapted_system_type": [
"standard"
],
"rom": "0KB",
"ram": "0KB",
"deps": {
@ -27,7 +29,9 @@
"build": {
"sub_component": [],
"inner_kits": [],
"test": [ "//test/xts/hats:hats" ]
"test": [
"//test/xts/hats:hats"
]
}
}
}

View File

@ -21,7 +21,7 @@ group("HatsHdfAudioTest") {
testonly = true
}
if (is_standard_system) {
if (xts_hats_features_rich == false) {
if (xts_hats_rich == false) {
deps = [ "idl:hdi_base_common" ]
} else {
deps = [

View File

@ -21,7 +21,7 @@ group("HatsHdfCameraTest") {
testonly = true
}
if (is_standard_system) {
if (xts_hats_features_rich == false) {
if (xts_hats_rich == false) {
deps = [
"cameraHdi:HatsHdfCameraHdiTest",
"cameraMg:HatsHdfCameraMgTest",

View File

@ -17,7 +17,7 @@ import("//test/xts/hats/build.gni")
import("//test/xts/tools/build/suite.gni")
group("HatsHdfCodecTest") {
if (xts_hats_features_rich == false) {
if (xts_hats_rich == false) {
testonly = true
deps = [
#"benchmarktest:HatsHdfCodecBenchmarkTest",

View File

@ -48,7 +48,7 @@ ohos_moduletest_suite("HatsHdfOmxCodecTest") {
}
defines = []
if (xts_hats_features_rich) {
if (xts_hats_rich) {
defines += [ "SUPPORT_OMX" ]
}
subsystem_name = "xts"
@ -65,7 +65,7 @@ config("hdf_codec_omx") {
"-fno-common",
"-fno-strict-aliasing",
]
if (xts_hats_features_rich == false) {
if (xts_hats_rich == false) {
cflags += [ "-DSUPPORT_OMX" ]
}
}

View File

@ -18,7 +18,7 @@ import("$base_root/test/xts/tools/build/suite.gni")
group("HatsHdfDisplayTest") {
testonly = true
if (xts_hats_features_rich == true) {
if (xts_hats_rich == true) {
deps = [
"buffer:HatsHdfDisplayBufferTest",
#"composer/death:HatsHdfDisplayComposerDeathTest",

View File

@ -17,7 +17,7 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfInputTest") {
testonly = true
if (xts_hats_features_rich == true) {
if (xts_hats_rich == true) {
deps = [ "hdi_input:HatsHdfInputTest" ]
} else {
deps = [

View File

@ -18,7 +18,7 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfLightTest") {
testonly = true
if (xts_hats_features_rich == true) {
if (xts_hats_rich == true) {
} else {
deps = [
#"liteos:HatsHdfLightHdiTest",

View File

@ -20,7 +20,7 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfLocationTest") {
testonly = true
if (xts_hats_features_rich == false) {
if (xts_hats_rich == false) {
} else {
if (is_standard_system) {
deps = [

View File

@ -17,7 +17,7 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfManagerTest") {
testonly = true
if (xts_hats_features_rich == true) {
if (xts_hats_rich == true) {
deps = [ "managerHdiTest:HatsHdfManagerHdiTest" ]
} else {
deps = [

View File

@ -17,7 +17,7 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfMotionTest") {
testonly = true
if (xts_hats_features_rich == false) {
if (xts_hats_rich == false) {
} else {
if (is_standard_system) {
deps = [ "hdi:HatsHdfMotionTest" ]

View File

@ -20,7 +20,7 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfNfcTest") {
testonly = true
if (xts_hats_features_rich == true) {
if (xts_hats_rich == true) {
if (is_standard_system) {
deps = [ "hdcService:HatsHdfNfcHdiTest" ]
}

View File

@ -18,7 +18,7 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfVibratorTest") {
testonly = true
if (xts_hats_features_rich == true) {
if (xts_hats_rich == true) {
deps = [
#"hdi_adapter:HatsHdfVibratorAdapterTest"
]

View File

@ -18,7 +18,7 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfVibratorAdapterTest") {
testonly = true
if (xts_hats_features_rich == true) {
if (xts_hats_rich == true) {
deps = [
"hdi_impl:HatsHdfVibratorImplTest",
"hdi_parse:HatsHdfVibratorParseTest",

View File

@ -18,7 +18,7 @@ import("//test/xts/tools/build/suite.gni")
group("HatsHdfWifiTest") {
testonly = true
if (xts_hats_features_rich == false) {
if (xts_hats_rich == false) {
} else {
if (is_standard_system) {
deps = [

View File

@ -19,7 +19,7 @@ import(
group("kernel") {
testonly = true
if (is_standard_system) {
if (xts_hats_features_rich == true) {
if (xts_hats_rich == true) {
deps = [
"accesstokenid:HatsAccesstokenidTest",
"dmabuffer:HatsDmaBufferTest",

View File

@ -15,7 +15,7 @@ import("//test/xts/hats/build.gni")
group("startup") {
testonly = true
if (xts_hats_features_rich == true) {
if (xts_hats_rich == true) {
deps = [
#"partitionslot:HatsStartupPartitionSlotTest"
]

View File

@ -15,7 +15,7 @@ import("//test/xts/hats/build.gni")
group("useriam") {
testonly = true
if (is_standard_system) {
if (xts_hats_features_rich == false) {
if (xts_hats_rich == false) {
deps = [
"faceauth:HatsUserIamFaceAuthTest",
"fingerprintauth:HatsUserIamFingerprintAuthTest",