diff --git a/Android.bp b/Android.bp index baf3291f60..223a1a91cd 100644 --- a/Android.bp +++ b/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, }