OSDN Git Service

Mark the module as VNDK or VNDK-SP in Android.bp
authorJustin Yun <justinyun@google.com>
Mon, 24 Jul 2017 06:19:45 +0000 (15:19 +0900)
committerJae Shin <jaeshin@google.com>
Thu, 7 Sep 2017 07:15:34 +0000 (07:15 +0000)
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: I7a2eaf4894188d4d300fcc78380a2b05517c54f4
Change-Id: I7a2eaf4894188d4d300fcc78380a2b05517c54f4
(cherry picked from commit 953341705abd2a840b464928d9ce56e0c1f37b25)

libpagemap/Android.bp

index 976385c..e06caa6 100644 (file)
@@ -15,6 +15,9 @@
 cc_library {
     name: "libpagemap",
     vendor_available: true,
+    vndk: {
+        enabled: true,
+    },
     srcs: [
         "pm_kernel.c",
         "pm_process.c",