From 21693d7ad06702a593a54b53fe91ef03771ac976 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: I2217c50e51aef88a587471e76af537c22725cac6 Change-Id: I2217c50e51aef88a587471e76af537c22725cac6 (cherry picked from commit 84d39db7ad9576606d89ea20eadcf5a56cb29d25) --- Android.bp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Android.bp b/Android.bp index 93e07e3a1..a5c78eecd 100644 --- a/Android.bp +++ b/Android.bp @@ -80,6 +80,9 @@ cc_defaults { cc_library { name: "libpng", vendor_available: true, + vndk: { + enabled: true, + }, host_supported: true, defaults: ["libpng-defaults"], target: { -- cgit v1.2.3