Mark hidl libs as VNDK or VNDK-SP in Android.bp am: 74f6593212
am: 51e7c1ca92
Change-Id: I18edd3239a046184c8186edc1959c48ff2415de1
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 89b39dc..a656b1c 100644
--- a/libhidlmemory/Android.bp
+++ b/libhidlmemory/Android.bp
@@ -15,6 +15,9 @@
cc_library {
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 7fc3717..acd3d2c 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 0360d99..101f3b4 100644
--- a/transport/token/1.0/utils/Android.bp
+++ b/transport/token/1.0/utils/Android.bp
@@ -14,6 +14,10 @@
cc_library {
name: "android.hidl.token@1.0-utils",
+ vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
srcs: [
"HybridInterface.cpp",