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.

Bug: 150902910
Test: build
Change-Id: I13b8222e191333c6c2cb7794ef3344fdcc6ebe98
This commit is contained in:
Justin Yun 2020-11-11 15:16:11 +09:00
parent f4afda9773
commit 869a0faf21
2 changed files with 5 additions and 0 deletions

View file

@ -1800,6 +1800,7 @@ cc_library_headers {
"//tools/security/sanitizer-status:__subpackages__", "//tools/security/sanitizer-status:__subpackages__",
], ],
vendor_available: true, vendor_available: true,
product_available: true,
ramdisk_available: true, ramdisk_available: true,
vendor_ramdisk_available: true, vendor_ramdisk_available: true,
recovery_available: true, recovery_available: true,
@ -1828,6 +1829,7 @@ cc_library_headers {
host_supported: true, host_supported: true,
vendor_available: true, vendor_available: true,
product_available: true,
ramdisk_available: true, ramdisk_available: true,
vendor_ramdisk_available: true, vendor_ramdisk_available: true,
recovery_available: true, recovery_available: true,
@ -1879,6 +1881,7 @@ cc_library_headers {
host_supported: true, host_supported: true,
native_bridge_supported: true, native_bridge_supported: true,
vendor_available: true, vendor_available: true,
product_available: true,
ramdisk_available: true, ramdisk_available: true,
vendor_ramdisk_available: true, vendor_ramdisk_available: true,
recovery_available: true, recovery_available: true,
@ -2008,6 +2011,7 @@ cc_defaults {
name: "crt_defaults", name: "crt_defaults",
defaults: ["linux_bionic_supported"], defaults: ["linux_bionic_supported"],
vendor_available: true, vendor_available: true,
product_available: true,
ramdisk_available: true, ramdisk_available: true,
vendor_ramdisk_available: true, vendor_ramdisk_available: true,
recovery_available: true, recovery_available: true,

View file

@ -9,6 +9,7 @@ cc_library_static {
name: "libasync_safe", name: "libasync_safe",
vendor_available: true, vendor_available: true,
product_available: true,
recovery_available: true, recovery_available: true,
native_bridge_supported: true, native_bridge_supported: true,