As a VNDK module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.
The 'vndk' tag for VNDK module is formated as below:
vndk: {
enabled: true,
},
VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.
Bug:
63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: Ib1d9469ad0aead4cbec7c2548438d44608f36819
name: "libdumpstateutil",
defaults: ["dumpstate_defaults"],
vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
header_libs: ["dumpstate_headers"],
export_header_lib_headers: ["dumpstate_headers"],
srcs: [
// for vndbinder
vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
srcs: [
"AppOpsManager.cpp",