mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
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 Change-Id: I5bad6363fba4ebe3285c64cbaaf722e8da5cafdf
This commit is contained in:
10
Android.bp
10
Android.bp
@@ -51,6 +51,7 @@ cc_defaults {
|
||||
// Lists all dependencies that can *not* be expected on the device.
|
||||
static_libs: [
|
||||
"VtsHalHidlTestUtils",
|
||||
"libhidlbase",
|
||||
"libhidl-gen-utils",
|
||||
],
|
||||
|
||||
@@ -63,7 +64,6 @@ cc_defaults {
|
||||
"libbase",
|
||||
// All the following are dependencies of any HAL definition library.
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
],
|
||||
@@ -72,6 +72,14 @@ cc_defaults {
|
||||
"-g",
|
||||
],
|
||||
|
||||
target: {
|
||||
android: {
|
||||
shared_libs: [
|
||||
"libvndksupport",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
require_root: true,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user