From b367ff4fd9e332d8ff4bd45bf54778851f06f941 Mon Sep 17 00:00:00 2001 From: Justin Yun Date: Wed, 2 Aug 2017 17:02:05 +0900 Subject: Mark libbinder and libdumpstateutil as VNDK in Android.bp 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 | 3 +++ libs/binder/Android.bp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/cmds/dumpstate/Android.bp b/cmds/dumpstate/Android.bp index 5984093ed3..f908cbfe28 100644 --- a/cmds/dumpstate/Android.bp +++ b/cmds/dumpstate/Android.bp @@ -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: [ diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp index 748105c727..09fd0cb482 100644 --- a/libs/binder/Android.bp +++ b/libs/binder/Android.bp @@ -33,6 +33,9 @@ cc_library { // for vndbinder vendor_available: true, + vndk: { + enabled: true, + }, srcs: [ "AppOpsManager.cpp", -- cgit v1.2.3-59-g8ed1b