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: I5f5adc822d4baa8a295580d7ed7d2dc5af35c5b6
diff --git a/Android.bp b/Android.bp
index ed704ff..888a4b4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -791,10 +791,7 @@
name: "libupdate_engine_headers",
// This header library is available to core and product modules.
- // Right now, vendor_available is the only way to specify this.
- // vendor modules should NOT use this library.
- // TODO(b/150902910): change this to product_available.
- vendor_available: true,
+ product_available: true,
export_include_dirs: ["."],
apex_available: [
diff --git a/stable/Android.bp b/stable/Android.bp
index a415ac5..2b6a318 100644
--- a/stable/Android.bp
+++ b/stable/Android.bp
@@ -20,10 +20,7 @@
name: "libupdate_engine_stable",
// This header library is available to core and product modules.
- // Right now, vendor_available is the only way to specify this.
- // vendor modules should NOT use this library.
- // TODO(b/150902910): change this to product_available.
- vendor_available: true,
+ product_available: true,
srcs: [
"android/os/IUpdateEngineStable.aidl",