diff options
author | Justin Yun <justinyun@google.com> | 2020-11-11 19:23:49 +0900 |
---|---|---|
committer | Justin Yun <justinyun@google.com> | 2020-11-25 19:00:09 +0900 |
commit | 8ee9713fd769bbce2da8d99855b0701a05a71b36 (patch) | |
tree | 40c3397796b4cb83669f6a2c7717e0d1cfcf5e30 | |
parent | 90d01ef298a8c43068e63bcf1c2ab97b646643f8 (diff) | |
download | libhidl-8ee9713fd769bbce2da8d99855b0701a05a71b36.tar.gz |
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: I3fea06067f4b085af5fa981ac60958fc3bd4b045
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | adapter/Android.bp | 1 | ||||
-rw-r--r-- | libhidlmemory/Android.bp | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -69,6 +69,7 @@ cc_library { native_bridge_supported: true, recovery_available: true, vendor_available: true, + product_available: true, apex_available: [ // TODO(b/137948090): not fully supported in APEX for certain usecases // - large dependency sizes diff --git a/adapter/Android.bp b/adapter/Android.bp index 07faa10..3dc382e 100644 --- a/adapter/Android.bp +++ b/adapter/Android.bp @@ -16,6 +16,7 @@ cc_library { name: "libhidladapter", defaults: ["libhidl-defaults"], vendor_available: true, + product_available: true, // TODO(b/153609531): remove when no longer needed. native_bridge_supported: true, srcs: [ diff --git a/libhidlmemory/Android.bp b/libhidlmemory/Android.bp index d3bef74..547be11 100644 --- a/libhidlmemory/Android.bp +++ b/libhidlmemory/Android.bp @@ -15,6 +15,7 @@ cc_library { name: "libhidlmemory", vendor_available: true, + product_available: true, // Host support is needed for testing only host_supported: true, // TODO(b/153609531): remove when no longer needed. |