Mark libGLESv2.so and libEGL.so as VNDK libs.
libGLESv2.so and libEGL.so are categorized as SP-NDK and
vendor_available. However, they are marked as VNDK because they
are needed by some VNDK libs.
Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I6552f34a1d972919f2bf1f4e4dfc81aace431b8d
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index b4cc211..1cfc513 100644
--- a/opengl/libs/Android.bp
+++ b/opengl/libs/Android.bp
@@ -117,6 +117,9 @@
cc_library_shared {
name: "libEGL",
defaults: ["egl_libs_defaults"],
+ vndk: {
+ enabled: true,
+ },
srcs: [
"EGL/egl_tls.cpp",
"EGL/egl_cache.cpp",
@@ -180,6 +183,9 @@
cc_library_shared {
name: "libGLESv2",
defaults: ["gles_libs_defaults"],
+ vndk: {
+ enabled: true,
+ },
srcs: ["GLES2/gl2.cpp"],
cflags: ["-DLOG_TAG=\"libGLESv2\""],
}