From 39b86dd6ba0d78a9fa29a1e7a36f164ee06dd670 Mon Sep 17 00:00:00 2001 From: Justin Yun Date: Mon, 24 Jul 2017 15:19:45 +0900 Subject: [PATCH] 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 Merged-In: I9b9d9c0a3f33e396e71167c055220b55380eb1b5 Change-Id: I9b9d9c0a3f33e396e71167c055220b55380eb1b5 (cherry picked from commit 5bed6372b81b6c14a630df377cbc52b888fd8dcf) --- Android.bp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Android.bp b/Android.bp index 00061c9..ebb2b4d 100644 --- a/Android.bp +++ b/Android.bp @@ -20,11 +20,17 @@ cc_library { export_include_dirs: ["include"], shared_libs: ["libcutils", "liblog"], vendor_available: true, + vndk: { + enabled: true, + }, } cc_library_shared { name: "libhardware_legacy", vendor_available: true, + vndk: { + enabled: true, + }, shared_libs: [ "libbase",