summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2022-09-23 18:37:20 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-09-23 18:37:20 +0000
commit1a8094363008b8ef7b3c60d4f33735c5c99b81c6 (patch)
tree6051e3550bb9d701ff1162ee49e1ee5896d75c89
parent280f6c0f2146bd5be27d8da8525ef1a4aae0cf8d (diff)
parent18c4f489f1499b92c1cef3976dfd5fdb129fe15b (diff)
Merge "Explicitly list the static libs for exclude-libs flag." am: b3f0aab014 am: 0b0b629b60 am: 89ea7b26fa am: 18c4f489f1
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2227218 Change-Id: I02d23eeb61cd1ab5604ba6d9b906cd0248962f9b 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",