Merge "Revert^2 "libz provides stubs to Mainline modules."" am: c6b30343c2

Change-Id: Iab20782ec9298040a474f08ea34ac3e5f4d1a677
diff --git a/Android.bp b/Android.bp
index 009033a..50b7a01 100644
--- a/Android.bp
+++ b/Android.bp
@@ -137,6 +137,14 @@
             enabled: true,
         },
     },
+
+    stubs: {
+        versions: [
+            "29",
+            "30",
+        ],
+        symbol_file: "libz.map.txt",
+    },
 }
 
 cc_binary_host {