From 1a0c6e19f7a794d0dd2ea08f9b884c0f6faa501b Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Thu, 4 Jan 2024 01:44:17 +0000 Subject: [PATCH] Skip unique apex_available enforcement on libz (a stub library) libz is a stub library, but needs to be available to runtime apex because it gets statically linked into bionic linker Bug: 281077552 Bug: 277651159 Test: m nothing Change-Id: I04f6f13768d8f9c160ce84202e2003b195176355 --- cc/cc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cc/cc.go b/cc/cc.go index 9f32c4477..7f3490d1d 100644 --- a/cc/cc.go +++ b/cc/cc.go @@ -1941,6 +1941,7 @@ var ( "libdl_android": true, "libm": true, "libdl": true, + "libz": true, // art apex "libandroidio": true, "libdexfile": true,