From 98996149c95c9f6fca5c2589f4664ec1a394439d Mon Sep 17 00:00:00 2001 From: Justin Yun Date: Mon, 24 Jul 2017 15:19:44 +0900 Subject: 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: I4517a3995efa91afb7fa21cdc0bc0fb8b088149b Change-Id: I4517a3995efa91afb7fa21cdc0bc0fb8b088149b (cherry picked from commit 50103091feb278697c922c91e097e924753fef9a) --- Android.bp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Android.bp b/Android.bp index 95d9cd31..8e390041 100644 --- a/Android.bp +++ b/Android.bp @@ -124,6 +124,10 @@ cc_defaults { cc_library { name: "libunwind", defaults: ["libunwind_defaults"], + vndk: { + enabled: true, + support_system_process: true, + }, sdk_version: "21", stl: "none", -- cgit v1.2.3