Define product_available property
To make a module available to product variants, it must define `product_available: true`. `vendor_available: true` will not create product variants any more. However, in this CL, we don't change the behavior of `vendor_available` property. It still creates both variants. After we update all Android.bp files that need to provide product variants with `product_available: true`, we may upload the remaining patches. Bug: 150902910 Test: lunch aosp_arm64-userdebug && m Change-Id: I0fd5be7bbae2c45d5cab3c3c2ca49f53a9b6f975
This commit is contained in:
@@ -55,9 +55,11 @@ type llndkLibraryProperties struct {
|
||||
// Whether the system library uses symbol versions.
|
||||
Unversioned *bool
|
||||
|
||||
// whether this module can be directly depended upon by libs that are installed to /vendor.
|
||||
// When set to false, this module can only be depended on by VNDK libraries, not vendor
|
||||
// libraries. This effectively hides this module from vendors. Default value is true.
|
||||
// whether this module can be directly depended upon by libs that are installed
|
||||
// to /vendor and /product.
|
||||
// When set to false, this module can only be depended on by VNDK libraries, not
|
||||
// vendor nor product libraries. This effectively hides this module from
|
||||
// non-system modules. Default value is true.
|
||||
Vendor_available *bool
|
||||
|
||||
// list of llndk headers to re-export include directories from.
|
||||
|
Reference in New Issue
Block a user