summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2022-09-23 17:39:38 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-09-23 17:39:38 +0000
commit89ea7b26fa019b518a75b84c506f42cfe62758e6 (patch)
treeca117a091853a24ba9cce35dc8922871fd9ec443
parentf38a1febd7922270b9da70112785e7bc39540437 (diff)
parent0b0b629b60282995a7a6517dd6add579f99f0192 (diff)
Merge "Explicitly list the static libs for exclude-libs flag." am: b3f0aab014 am: 0b0b629b60
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2227218 Change-Id: I3d4aed76c0f8c21f7812bb8bac7f63c314797ac1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--opengl/libs/Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index c1e935aab0..2237d2d123 100644
--- a/opengl/libs/Android.bp
+++ b/opengl/libs/Android.bp
@@ -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",