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:58 +0900
commit8d9fa07fe1d5d160e6514e7ecf55157f69b091d8 (patch)
tree3407e4bb1b407328276eaeea20ff800477492cb7
parent2523d3b717812bb51bc95b45c6dd03d74e5b85d6 (diff)
downloadlibhardware-8d9fa07fe1d5d160e6514e7ecf55157f69b091d8.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: I383af9ccc5457afe437c0cd910c11b636e4b6dd5
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ebcc2919..e49aa257 100644
--- a/Android.bp
+++ b/Android.bp
@@ -33,6 +33,10 @@ cc_library_shared {
export_header_lib_headers: ["libhardware_headers"],
vendor_available: true,
+ vndk: {
+ enabled: true,
+ support_system_process: true,
+ },
}
subdirs = [