summaryrefslogtreecommitdiff
path: root/libhidlmemory
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2017-07-24 15:19:45 +0900
committerJustin Yun <justinyun@google.com>2017-08-07 17:42:00 +0900
commit74f6593212fbabec01a52241906787cda62f4234 (patch)
tree28bcf87468e31b452b74179a571206b4d4875523 /libhidlmemory
parentf1bef4107d3e10f95222fa8e0fde70e2fd898a6c (diff)
downloadlibhidl-74f6593212fbabec01a52241906787cda62f4234.tar.gz
Mark hidl libs as VNDK or VNDK-SP in Android.bp
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. For a VNDK module, the 'vndk' tag has 'enabled: true'. It will be installed system/lib(64)/vndk as a vendor variant. For a VNDK-SP module, the 'vndk' tag has 'support_system_process: true' as well as 'enabled: true'. It will be installed system/lib(64)/vndk-sp as a vendor variant. Note: libhidlmemory will be changed to vndk-sp. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Merged-In: I9e3c9603f1d218c17ccb8e6aea7afad6f9d28b92 Change-Id: I9e3c9603f1d218c17ccb8e6aea7afad6f9d28b92 (cherry picked from commit 4e077f2d177d11f8b8d53ce8a4282cfb71894537)
Diffstat (limited to 'libhidlmemory')
-rw-r--r--libhidlmemory/Android.bp3
1 files changed, 3 insertions, 0 deletions
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",