Mark hidl libs as VNDK or VNDK-SP in Android.bp
am: 4e077f2d17
Change-Id: I22b2cbfa47d02e05da4846d2a755942ff1359c5d
diff --git a/base/Android.bp b/base/Android.bp
index e4cf6cb..5a38ed8 100644
--- a/base/Android.bp
+++ b/base/Android.bp
@@ -15,6 +15,10 @@
cc_library_shared {
name: "libhidlbase",
vendor_available: true,
+ vndk: {
+ enabled: true,
+ support_system_process: true,
+ },
cflags: libhidl_flags,
shared_libs: [
"libbase",
diff --git a/libhidlmemory/Android.bp b/libhidlmemory/Android.bp
index 79ec4bc..4abb92b 100644
--- a/libhidlmemory/Android.bp
+++ b/libhidlmemory/Android.bp
@@ -15,6 +15,9 @@
cc_library_shared {
name: "libhidlmemory",
vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
cflags: libhidl_flags,
shared_libs: [
"libbase",
diff --git a/transport/Android.bp b/transport/Android.bp
index 2deb7cf..cf499ef 100644
--- a/transport/Android.bp
+++ b/transport/Android.bp
@@ -27,6 +27,10 @@
cc_library_shared {
name: "libhidltransport",
vendor_available: true,
+ vndk: {
+ enabled: true,
+ support_system_process: true,
+ },
defaults: ["hidl-module-defaults"],
cflags: libhidl_flags,
shared_libs: [
diff --git a/transport/token/1.0/utils/Android.bp b/transport/token/1.0/utils/Android.bp
index ab77a2a..101f3b4 100644
--- a/transport/token/1.0/utils/Android.bp
+++ b/transport/token/1.0/utils/Android.bp
@@ -15,6 +15,9 @@
cc_library {
name: "android.hidl.token@1.0-utils",
vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
srcs: [
"HybridInterface.cpp",