!388 修改BUILD.gn

Merge pull request !388 from 王倩56/1116
This commit is contained in:
openharmony_ci 2022-11-16 07:47:25 +00:00 committed by Gitee
commit d755509ed2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 14 additions and 8 deletions

View File

@ -21,7 +21,10 @@ group("HatsHdfAudioTest") {
testonly = true
}
if (is_standard_system) {
deps = [ "hdi:audio_hdi" ]
if (device_name == "rk3568") {
deps = [ "hdi:audio_hdi" ]
} else {
}
}
}
###############################################################################

View File

@ -33,7 +33,7 @@ group("HatsHdfCameraTest") {
}
} else {
if (is_standard_system) {
deps = [ "hdi:hdi" ]
#deps = [ "hdi:hdi" ]
}
}
}

View File

@ -15,10 +15,13 @@ import("//build/ohos_var.gni")
import("//test/xts/tools/build/suite.gni")
group("HatsHdfCodecTest") {
testonly = true
deps = [
"hdi_adapter:HatsHdfAdapterCodecTest",
"hdi_omx:HatsHdfOmxCodecTest",
"hdi_v1.0:HatsHdfV1CodecTest",
]
if (device_name == "rk3568") {
testonly = true
deps = [
"hdi_adapter:HatsHdfAdapterCodecTest",
"hdi_omx:HatsHdfOmxCodecTest",
"hdi_v1.0:HatsHdfV1CodecTest",
]
} else {
}
}