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: Ib7793f92de90512fcffcd123b57d726e71051897
Change-Id: Ib7793f92de90512fcffcd123b57d726e71051897
(cherry picked from commit d89bc9355d50461c895a884ac102a5d3da975ed7)
diff --git a/C/Android.bp b/C/Android.bp
index 69cb5b6..d4cb451 100644
--- a/C/Android.bp
+++ b/C/Android.bp
@@ -4,6 +4,10 @@
name: "liblzma",
host_supported: true,
vendor_available: true,
+ vndk: {
+ enabled: true,
+ support_system_process: true,
+ },
sdk_version: "9",
stl: "none",