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
This commit is contained in:
Colin Cross 2021-10-28 13:20:35 -07:00
parent d8854293d1
commit 7edd008d6d

View file

@ -1785,6 +1785,13 @@ cc_library {
lto: {
never: true,
},
target: {
native_bridge: {
shared: {
installable: false,
},
},
},
}
genrule {