aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2017-07-24 15:19:44 +0900
committerJustin Yun <justinyun@google.com>2017-07-25 14:44:58 +0900
commit07d11894cb55a31f32f1a11a436a8fe591f1ed9d (patch)
tree56bef32860d4a4c6448e3265c98e84cf9b4ef7a8
parent37defcc8cb12f6668ddeee6afd5b5545b84ca489 (diff)
downloadlibyuv-07d11894cb55a31f32f1a11a436a8fe591f1ed9d.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 Change-Id: I7a39dcffb3c29e1f9bb499bb29ceabbc2b99f954
-rw-r--r--files/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/Android.bp b/files/Android.bp
index 359d64c8..2864b973 100644
--- a/files/Android.bp
+++ b/files/Android.bp
@@ -1,5 +1,9 @@
cc_library {
name: "libyuv",
+ vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
srcs: [
"source/compare.cc",