From 7edd008d6df106835177b5c7a93b418406172d42 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 28 Oct 2021 13:20:35 -0700 Subject: [PATCH] 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 --- libc/Android.bp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libc/Android.bp b/libc/Android.bp index ee8c280fc..36d2019a0 100644 --- a/libc/Android.bp +++ b/libc/Android.bp @@ -1785,6 +1785,13 @@ cc_library { lto: { never: true, }, + target: { + native_bridge: { + shared: { + installable: false, + }, + }, + }, } genrule {