summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Justin Yun <justinyun@google.com> 2017-08-02 17:02:05 +0900
committer Justin Yun <justinyun@google.com> 2017-08-02 17:02:05 +0900
commitb367ff4fd9e332d8ff4bd45bf54778851f06f941 (patch)
treea0b81746909df92171ae55d2e80a78a620b9fe2c
parent79c2717cf2c18046ee7374377be5c25a6d127e0a (diff)
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
-rw-r--r--cmds/dumpstate/Android.bp3
-rw-r--r--libs/binder/Android.bp3
2 files changed, 6 insertions, 0 deletions
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",