libminui for vendor

Build a static variant of libminui for vendor to use.
It depends on libdrm statically, and libsync from NDK.

This is needed to move charger to vendor partition.

Test: builds
Bug: 203246116
Change-Id: I0aa7783121502bef6ed98d9060a395931523b34c
This commit is contained in:
Yifan Hong 2021-10-20 22:16:02 -07:00
parent 436a520a57
commit 868aa50c2e

View file

@ -24,6 +24,7 @@ package {
cc_library {
name: "libminui",
recovery_available: true,
vendor_available: true,
defaults: [
"recovery_defaults",
@ -51,4 +52,15 @@ cc_library {
"libpng",
"libz",
],
target: {
vendor: {
exclude_static_libs: [
"libsync",
],
shared_libs: [
"libsync",
],
},
},
}