Reland: "Make native bridge libc uninstallable"
The native bridge libc.so is overridden by
//frameworks/libs/native_bridge_support/libc:libc, mark it
installable: false to avoid a collision in the install rules.
Allows removing BUILD_BROKEN_DUP_RULES from cuttlefish builds.
Relands I5379aa9595a714efdbe1ddc1ff4f65bb45fc67e8 with a fix to
only apply to the shared variant.
Bug: 204136549
Test: m checkbuild
Change-Id: I84abb577e3bb924d39a369670d0b2dbfac45bbc4
diff --git a/libc/Android.bp b/libc/Android.bp
index ee8c280..36d2019 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -1785,6 +1785,13 @@
lto: {
never: true,
},
+ target: {
+ native_bridge: {
+ shared: {
+ installable: false,
+ },
+ },
+ },
}
genrule {