AOSP: Add "product_available" to product available modules

"vendor_available" modules were available to product modules.
However, not all "vendor_available" modules are required to be
available to product modules. Some modules want to be available only
to product modules but not vendor modules.

To cover the requirement, we separate "product_available" from
"vendor_available".
"vendor_available" will not provide product available module.

Google-Bug-Id: 150902910
Test: build
Change-Id: I316da0d24bde8b6231114aa80841c59547691152
From AOSP commit: df51b0de40581f52c6515f8775ecd84dc4a50bb0
This commit is contained in:
Justin Yun 2020-11-11 16:15:33 +09:00 committed by Theodore Ts'o
parent 61421ee588
commit d89e06515b
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ cc_library_headers {
name: "libext2-headers",
host_supported: true,
vendor_available: true,
product_available: true,
ramdisk_available: true,
recovery_available: true,
target: {

View File

@ -6,6 +6,7 @@ cc_library {
ramdisk_available: true,
recovery_available: true,
vendor_available: true,
product_available: true,
unique_host_soname: true,
defaults: ["e2fsprogs-defaults"],
srcs: [