summaryrefslogtreecommitdiff
path: root/opengl/libs/Android.bp
diff options
context:
space:
mode:
author Tim Van Patten <timvp@google.com> 2025-01-13 14:23:15 -0700
committer Tim Van Patten <timvp@google.com> 2025-01-15 17:28:33 -0700
commit15e275c5f38662db880275c52f4e8e68f9208e9c (patch)
tree865a5d48ca613b9eb5e4feea92757c7de0a9e888 /opengl/libs/Android.bp
parent93ef636c528af9567f8acb58705177e5c38def50 (diff)
getPlatformDisplayAngle: Get ANGLE feature overrides
Query GraphicsEnv for the ANGLE feature overrides to apply when creating an ANGLE EGL display. Bug: 372694741 Test: CQ, Manual verification Flag: com.android.graphics.graphicsenv.flags.feature_overrides Change-Id: Ia17922e4e2136bbc0045221ac47d8454bd3e1b2d
Diffstat (limited to 'opengl/libs/Android.bp')
-rw-r--r--opengl/libs/Android.bp11
1 files changed, 10 insertions, 1 deletions
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index 91250b9945..eb747c767e 100644
--- a/opengl/libs/Android.bp
+++ b/opengl/libs/Android.bp
@@ -8,6 +8,11 @@ package {
default_applicable_licenses: ["frameworks_native_license"],
}
+cc_aconfig_library {
+ name: "libegl_flags_c_lib",
+ aconfig_declarations: "graphicsenv_flags",
+}
+
cc_library {
name: "libETC1",
srcs: ["ETC1/etc1.cpp"],
@@ -155,7 +160,10 @@ cc_library_static {
cc_library_shared {
name: "libEGL",
- defaults: ["egl_libs_defaults"],
+ defaults: [
+ "aconfig_lib_cc_static_link.defaults",
+ "egl_libs_defaults",
+ ],
llndk: {
symbol_file: "libEGL.map.txt",
export_llndk_headers: ["gl_headers"],
@@ -191,6 +199,7 @@ cc_library_shared {
static_libs: [
"libEGL_getProcAddress",
"libEGL_blobCache",
+ "libegl_flags_c_lib",
],
ldflags: [
"-Wl,--exclude-libs=libEGL_getProcAddress.a",