Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fe801b1 authored by Greg Kaiser's avatar Greg Kaiser Committed by Gerrit Code Review
Browse files

Revert "libbinder: export fewer symbols for bionic builds"

This reverts commit 6781d33a.

Reason for revert: Causes b/349657329

Change-Id: Id87786ad46b1b48b0040b75edc4ec64f2d382e73
Test: Local build of device with this reverted no longer has b/349657329
parent 6781d33a
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -268,21 +268,6 @@ cc_defaults {
        "-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 {