mirror of
https://gitee.com/openharmony/xts_hats
synced 2024-11-27 09:00:57 +00:00
hats仓部件整改
Signed-off-by: lixiaofeng_154b <lixiaofeng54@huawei.com> Change-Id: Ifb9531e75a9f7e26cd686e1e1e3874c5daf7e654
This commit is contained in:
parent
734906a669
commit
fc460b1f16
@ -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",
|
||||
|
@ -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
|
||||
}
|
||||
|
14
bundle.json
14
bundle.json
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -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 = [
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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" ]
|
||||
}
|
||||
}
|
||||
|
@ -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",
|
||||
|
@ -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 = [
|
||||
|
@ -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",
|
||||
|
@ -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 = [
|
||||
|
@ -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 = [
|
||||
|
@ -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" ]
|
||||
|
@ -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" ]
|
||||
}
|
||||
|
@ -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"
|
||||
]
|
||||
|
@ -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",
|
||||
|
@ -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 = [
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
]
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user