summaryrefslogtreecommitdiff
path: root/opengl
diff options
context:
space:
mode:
author Justin Yun <justinyun@google.com> 2017-07-26 12:16:52 +0900
committer Justin Yun <justinyun@google.com> 2017-07-26 12:16:52 +0900
commit91bbdcc9984f901bb79d7b4f2ff2dfd8f9cd9d61 (patch)
tree8bbc05fef06fa81ec89253a6a59514952ee8962b /opengl
parent572aca270273e751edff03bff169726335d11f8c (diff)
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
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index b4cc2113e9..1cfc5133c1 100644
--- a/opengl/libs/Android.bp
+++ b/opengl/libs/Android.bp
@@ -117,6 +117,9 @@ cc_library_static {
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 {
cc_library_shared {
name: "libGLESv2",
defaults: ["gles_libs_defaults"],
+ vndk: {
+ enabled: true,
+ },
srcs: ["GLES2/gl2.cpp"],
cflags: ["-DLOG_TAG=\"libGLESv2\""],
}