OSDN Git Service

Mark libbinder and libdumpstateutil as VNDK in Android.bp
authorJustin Yun <justinyun@google.com>
Wed, 2 Aug 2017 08:02:05 +0000 (17:02 +0900)
committerJustin Yun <justinyun@google.com>
Wed, 2 Aug 2017 08:02:05 +0000 (17:02 +0900)
As a VNDK module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.

The 'vndk' tag for VNDK module is formated as below:
vndk: {
    enabled: true,
},

VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: Ib1d9469ad0aead4cbec7c2548438d44608f36819

cmds/dumpstate/Android.bp
libs/binder/Android.bp

index 5984093..f908cbf 100644 (file)
@@ -42,6 +42,9 @@ cc_library_shared {
     name: "libdumpstateutil",
     defaults: ["dumpstate_defaults"],
     vendor_available: true,
+    vndk: {
+        enabled: true,
+    },
     header_libs: ["dumpstate_headers"],
     export_header_lib_headers: ["dumpstate_headers"],
     srcs: [
index 748105c..09fd0cb 100644 (file)
@@ -33,6 +33,9 @@ cc_library {
 
     // for vndbinder
     vendor_available: true,
+    vndk: {
+        enabled: true,
+    },
 
     srcs: [
         "AppOpsManager.cpp",