summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2017-07-24 15:19:44 +0900
committerJae Shin <jaeshin@google.com>2017-09-07 07:20:54 +0000
commited2f4fe16617ec81b4cd906e681051ff0ae9d3df (patch)
treeccbfc23b835982dc78683de29ca20049df9cd890
parent6eb7e2dbe99a65c6faba042c627a93b17906467b (diff)
downloadlibnl-ed2f4fe16617ec81b4cd906e681051ff0ae9d3df.tar.gz
Mark the module 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. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Merged-In: I50f7d1df4ed1ea1928d0881495e28ae4f379acf5 Change-Id: I50f7d1df4ed1ea1928d0881495e28ae4f379acf5 (cherry picked from commit 9ee55f74f1caaa9fcd4660e801cf3699299ba850)
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 53828f63..f7b0a106 100644
--- a/Android.bp
+++ b/Android.bp
@@ -2,6 +2,9 @@
cc_library {
name: "libnl",
vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
srcs: [
"lib/cache.c",