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

Commit 7ffa062a authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Remove unnecessary exports from various libraries

This reduces library size by about 10-15%

Test: build, run CTS
Change-Id: I9ecb3f08a8bd6128e601656125e3523c0c52ddb6
parent e1883526
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -235,6 +235,8 @@ cc_library_shared {
        "-Wall",
    ],

    version_script: "exports.lds",

    sanitize: {
        misc_undefined: [
            "unsigned-integer-overflow",
+7 −0
Original line number Diff line number Diff line
{
    global:
        *;
    local:
        _ZN7android13MidiIoWrapper*;
        _ZTVN7android13MidiIoWrapperE;
};
+2 −0
Original line number Diff line number Diff line
@@ -152,6 +152,8 @@ cc_library_shared {
        "-Wall",
    ],

    version_script: "exports.lds",

    product_variables: {
        debuggable: {
            // enable experiments only in userdebug and eng builds
+2 −0
Original line number Diff line number Diff line
@@ -58,6 +58,8 @@ cc_library_shared {

    cflags: ["-Werror"],

    version_script: "exports.lds",

    sanitize: {
        misc_undefined: [
            "signed-integer-overflow",
+5 −0
Original line number Diff line number Diff line
{
    global:
        _Z22createSoftOMXComponentPKcPK16OMX_CALLBACKTYPEPvPP17OMX_COMPONENTTYPE;
    local: *;
};
Loading