summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2017-07-24 15:19:45 +0900
committerJustin Yun <justinyun@google.com>2017-07-25 14:44:59 +0900
commit953341705abd2a840b464928d9ce56e0c1f37b25 (patch)
treed58ff4d606f62ebbf43de3ed4110b34f53dad66f
parentd9d8c9929ba0a92b9e13396c8b3cb9051c452e33 (diff)
downloadextras-953341705abd2a840b464928d9ce56e0c1f37b25.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 Change-Id: I7a2eaf4894188d4d300fcc78380a2b05517c54f4
-rw-r--r--libpagemap/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpagemap/Android.bp b/libpagemap/Android.bp
index 976385c4..e06caa6b 100644
--- a/libpagemap/Android.bp
+++ b/libpagemap/Android.bp
@@ -15,6 +15,9 @@
cc_library {
name: "libpagemap",
vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
srcs: [
"pm_kernel.c",
"pm_process.c",