From 869a0faf2154eb433092770ed98830a8be4cf1b3 Mon Sep 17 00:00:00 2001 From: Justin Yun Date: Wed, 11 Nov 2020 15:16:11 +0900 Subject: [PATCH] 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 --- libc/Android.bp | 4 ++++ libc/async_safe/Android.bp | 1 + 2 files changed, 5 insertions(+) diff --git a/libc/Android.bp b/libc/Android.bp index c6bd6fae5..4d63751f6 100644 --- a/libc/Android.bp +++ b/libc/Android.bp @@ -1800,6 +1800,7 @@ cc_library_headers { "//tools/security/sanitizer-status:__subpackages__", ], vendor_available: true, + product_available: true, ramdisk_available: true, vendor_ramdisk_available: true, recovery_available: true, @@ -1828,6 +1829,7 @@ cc_library_headers { host_supported: true, vendor_available: true, + product_available: true, ramdisk_available: true, vendor_ramdisk_available: true, recovery_available: true, @@ -1879,6 +1881,7 @@ cc_library_headers { host_supported: true, native_bridge_supported: true, vendor_available: true, + product_available: true, ramdisk_available: true, vendor_ramdisk_available: true, recovery_available: true, @@ -2008,6 +2011,7 @@ cc_defaults { name: "crt_defaults", defaults: ["linux_bionic_supported"], vendor_available: true, + product_available: true, ramdisk_available: true, vendor_ramdisk_available: true, recovery_available: true, diff --git a/libc/async_safe/Android.bp b/libc/async_safe/Android.bp index 90cff0d43..66389b974 100644 --- a/libc/async_safe/Android.bp +++ b/libc/async_safe/Android.bp @@ -9,6 +9,7 @@ cc_library_static { name: "libasync_safe", vendor_available: true, + product_available: true, recovery_available: true, native_bridge_supported: true,