summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 78b0d56..2eb3d13 100644
--- a/Android.bp
+++ b/Android.bp
@@ -185,6 +185,18 @@ cc_library {
],
symbol_file: "libz.map.txt",
},
+
+ // When used by Vendor/Product APEX,
+ // libz should be treated like non-stable module.
+ // (Hence, should be bundled in APEX).
+ target: {
+ product: {
+ no_stubs: true,
+ },
+ vendor: {
+ no_stubs: true,
+ },
+ }
}
cc_library {