Add vhal unit tests to presubmit.

Test: presubmit.
Bug: b/189883643
Change-Id: I8e93ffb1f5ea8bb7d8656d8955c97494638df85c
This commit is contained in:
Yu Shan
2021-06-02 16:15:29 -07:00
parent 8ae3ea9813
commit 045138dedd
2 changed files with 24 additions and 0 deletions

View File

@@ -184,6 +184,14 @@ cc_test {
"libbase",
"libcutils",
],
exclude_shared_libs: [
"android.automotive.watchdog-V2-ndk_platform",
"android.hardware.automotive.vehicle@2.0",
],
static_libs: [
"android.automotive.watchdog-V2-ndk_platform",
"android.hardware.automotive.vehicle@2.0",
],
header_libs: ["libbase_headers"],
test_suites: ["general-tests"],
}
@@ -196,10 +204,16 @@ cc_test {
"impl/vhal_v2_0/tests/ProtoMessageConverter_test.cpp",
],
static_libs: [
"android.automotive.watchdog-V2-ndk_platform",
"android.hardware.automotive.vehicle@2.0",
"android.hardware.automotive.vehicle@2.0-default-impl-lib",
"android.hardware.automotive.vehicle@2.0-libproto-native",
"libprotobuf-cpp-lite",
],
exclude_shared_libs: [
"android.automotive.watchdog-V2-ndk_platform",
"android.hardware.automotive.vehicle@2.0",
],
test_suites: ["general-tests"],
}

View File

@@ -0,0 +1,10 @@
{
"presubmit": [
{
"name": "android.hardware.automotive.vehicle@2.0-manager-unit-tests"
},
{
"name": "android.hardware.automotive.vehicle@2.0-default-impl-unit-tests"
}
]
}