Apply version-script to libGLESv3 library
Hide unintentionally exported symbols, validate that symbols mentioned
in the map file are actually exported by the library.
Bug: http://b/69603741
Test: make
Change-Id: I42ebec97a1a0cd93209119c98a4c776754606d92
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index 5c05bbe..25958e2 100644
--- a/opengl/libs/Android.bp
+++ b/opengl/libs/Android.bp
@@ -219,4 +219,5 @@
defaults: ["gles_libs_defaults"],
srcs: ["GLES2/gl2.cpp"],
cflags: ["-DLOG_TAG=\"libGLESv3\""],
+ version_script: "libGLESv3.map.txt",
}