aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2017-07-24 15:19:44 +0900
committerJae Shin <jaeshin@google.com>2017-09-07 02:23:30 +0000
commit21693d7ad06702a593a54b53fe91ef03771ac976 (patch)
treebf6f9d4400ddc901e63427a5bd913a50613fc608
parent849b9859cf5c1ae17534d7ca6fe0ec88e85ef140 (diff)
downloadlibpng-21693d7ad06702a593a54b53fe91ef03771ac976.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 Merged-In: I2217c50e51aef88a587471e76af537c22725cac6 Change-Id: I2217c50e51aef88a587471e76af537c22725cac6 (cherry picked from commit 84d39db7ad9576606d89ea20eadcf5a56cb29d25)
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
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: {