summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-12-05 05:47:08 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-12-05 05:47:08 +0000
commit95dcfbd56b5384b356056521872a460885a9749a (patch)
tree86df3666fcdf01083029675e4f6b40d50e8919fe
parent9760bae4db96d6fad9a6ec397bb804f15d3cb73d (diff)
parent781d67c01a4c6b4755e6d210fa377587067f667f (diff)
downloadzlib-95dcfbd56b5384b356056521872a460885a9749a.tar.gz
Merge "Prevent libz from providing stubs for vendor/product modules" into main
-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 {