Apply version-script to libGLESv1_CM 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: Iffec2dce9cfbfcbefb6f9f3235e6bf79c0a58969
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index 583aec9..c80b79a 100644
--- a/opengl/libs/Android.bp
+++ b/opengl/libs/Android.bp
@@ -197,6 +197,7 @@
defaults: ["gles_libs_defaults"],
srcs: ["GLES_CM/gl.cpp"],
cflags: ["-DLOG_TAG=\"libGLESv1\""],
+ version_script: "libGLESv1_CM.map.txt",
}
//##############################################################################