CameraVTS: build with static libhidlbase
The test may run on older devices and it is possbile that the android::hardware::isHidlSupported is not available. So statically link libhidlbase. Bug: 352683715 Bug: 352486655 Bug: 346693391 Test: cameraservice VTS (cherry picked from https://android-review.googlesource.com/q/commit:ca6839888e8f82b6f3a1d9f5c42571a72550637b) Merged-In: I5bad6363fba4ebe3285c64cbaaf722e8da5cafdf Change-Id: I5bad6363fba4ebe3285c64cbaaf722e8da5cafdf
This commit is contained in:
parent
c6a9ae93b4
commit
09c1cfea06
1 changed files with 9 additions and 0 deletions
|
@ -51,6 +51,7 @@ cc_defaults {
|
|||
// Lists all dependencies that can *not* be expected on the device.
|
||||
static_libs: [
|
||||
"VtsHalHidlTestUtils",
|
||||
"libhidlbase",
|
||||
"libhidl-gen-utils",
|
||||
],
|
||||
|
||||
|
@ -72,6 +73,14 @@ cc_defaults {
|
|||
"-g",
|
||||
],
|
||||
|
||||
target: {
|
||||
android: {
|
||||
shared_libs: [
|
||||
"libvndksupport",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
require_root: true,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue