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

Commit 26b3515c authored by Ryan Prichard's avatar Ryan Prichard Committed by Automerger Merge Worker
Browse files

Merge "Stop exporting symbols from app_process" am: c6bd7008 am: 8dd59dba am: f3c96b23

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1727416

Change-Id: Ie94051f4a06ee76f528e2a4592c8ec48ba121b2f
parents 6ad6578f f3c96b23
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -29,7 +29,16 @@ cc_binary {
        },
    },

    ldflags: ["-Wl,--export-dynamic"],
    // Symbols exported from the executable in .dynsym interpose symbols in every
    // linker namespace, including an app's classloader namespace. Provide this
    // version script to prevent unwanted interposition.
    //
    // By default, the static linker doesn't export most of an executable's symbols,
    // but it will export a symbol that appears to override a symbol in a needed DSO.
    // This commonly happens with C++ vaguely-linked entities, such as template
    // functions or type_info variables. Hence, a version script is needed even for
    // an executable.
    version_script: "version-script.txt",

    shared_libs: [
        "libandroid_runtime",
+4 −0
Original line number Diff line number Diff line
{
  local:
    *;
};