aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2017-07-24 15:19:44 +0900
committerJae Shin <jaeshin@google.com>2017-09-14 01:47:16 +0000
commitd05a95e0607023d576ee17f3e7a2952174e33d34 (patch)
treed57bb5c32466b84d303a5eab6d73228e8880389f
parent7d06c27d3db0e4f5a7b2c145b4efcc9497c8fdac (diff)
downloadlibcap-d05a95e0607023d576ee17f3e7a2952174e33d34.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: I8224b954f786fa51c1ead89e95d284d355e9cb72 Change-Id: I8224b954f786fa51c1ead89e95d284d355e9cb72 (cherry picked from commit 7271987d96e454e13969925002a3e62b8bfee75f)
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 44ce020..152b85c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,6 +16,9 @@ cc_library {
name: "libcap",
host_supported: true,
vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
cflags: [
"-Wno-unused-parameter",