Revert "libbinder: export fewer symbols for bionic builds"
This reverts commit 6781d33a5f1f65031907dba71cbaf404a18459df.
Reason for revert: Causes b/349657329
Change-Id: Id87786ad46b1b48b0040b75edc4ec64f2d382e73
Test: Local build of device with this reverted no longer has b/349657329
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index bd6a08e..f31f8d3 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -268,21 +268,6 @@
"-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION",
"-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION",
],
-
- target: {
- bionic: {
- // Hide symbols by default and set the BUILDING_LIBBINDER macro so that
- // the code knows to export them.
- //
- // Only enabled on bionic builds, where RTTI is disabled, because
- // it is failing to export required typeinfo symbols.
- // TODO: b/341341056 - Find a solution for non-bionic builds.
- cflags: [
- "-fvisibility=hidden",
- "-DBUILDING_LIBBINDER",
- ],
- },
- },
}
cc_defaults {