Merge "Add vhal unit tests to presubmit."

This commit is contained in:
TreeHugger Robot
2021-06-09 03:48:04 +00:00
committed by Android (Google) Code Review
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"
}
]
}