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

Commit 1b5902e6 authored by Yu Liu's avatar Yu Liu
Browse files

Explicitly list the static libs for exclude-libs flag.

This is to work around an issue where the symbols from all the local
source are hidden when building this with bazel.

Bug: 232544295
Test: Manual
Change-Id: I8919f8cc76f0d97b3c6a10edc3863be2e135c4b8
parent e583df86
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -170,7 +170,11 @@ cc_library_shared {
        "libEGL_getProcAddress",
        "libEGL_blobCache",
    ],
    ldflags: ["-Wl,--exclude-libs=ALL,--Bsymbolic-functions"],
    ldflags: [
        "-Wl,--exclude-libs=libEGL_getProcAddress.a",
        "-Wl,--exclude-libs=libEGL_blobCache.a",
        "-Wl,--Bsymbolic-functions",
    ],
    export_include_dirs: ["EGL/include"],
    stubs: {
        symbol_file: "libEGL.map.txt",