From 82c0df65eb3224812fe34c49e7fddfa69adb2612 Mon Sep 17 00:00:00 2001 From: Justin Yun Date: Mon, 24 Jul 2017 15:19:44 +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 Change-Id: I8df3b9ec1a867fdbaac8cf348da4cfd56433435b --- Android.bp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Android.bp b/Android.bp index 17942821d..534c395c1 100644 --- a/Android.bp +++ b/Android.bp @@ -76,6 +76,10 @@ cc_library_shared { name: "libc++", host_supported: true, vendor_available: true, + vndk: { + enabled: true, + support_system_process: true, + }, clang: true, whole_static_libs: ["libc++_static"], stl: "none",