summaryrefslogtreecommitdiffstats
path: root/opengl/libs
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-05-08 15:23:38 -0700
committerMathias Agopian <mathias@google.com>2009-05-08 15:23:38 -0700
commitcb29e6237d7f471a28f8e73116e131f257d9842f (patch)
treec27cbc44f6783ca09d8cc3a1881c229c1265dbcb /opengl/libs
parented3b804f2cc61029cf2969cbfa499ea230c22bb0 (diff)
downloadframeworks_base-cb29e6237d7f471a28f8e73116e131f257d9842f.zip
frameworks_base-cb29e6237d7f471a28f8e73116e131f257d9842f.tar.gz
frameworks_base-cb29e6237d7f471a28f8e73116e131f257d9842f.tar.bz2
only export the GL entry-points, hide everything else.
Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h
Diffstat (limited to 'opengl/libs')
-rw-r--r--opengl/libs/Android.mk4
-rw-r--r--opengl/libs/egl_impl.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/opengl/libs/Android.mk b/opengl/libs/Android.mk
index d636d73..5ba6b76 100644
--- a/opengl/libs/Android.mk
+++ b/opengl/libs/Android.mk
@@ -23,6 +23,8 @@ else
LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private
endif
+LOCAL_CFLAGS += -fvisibility=hidden
+
include $(BUILD_SHARED_LIBRARY)
@@ -49,4 +51,6 @@ else
LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private
endif
+LOCAL_CFLAGS += -fvisibility=hidden
+
include $(BUILD_SHARED_LIBRARY)
diff --git a/opengl/libs/egl_impl.h b/opengl/libs/egl_impl.h
index 62ce3fc..312b176 100644
--- a/opengl/libs/egl_impl.h
+++ b/opengl/libs/egl_impl.h
@@ -20,6 +20,8 @@
#include <ctype.h>
#include <EGL/egl.h>
+#include <EGL/eglext.h>
+#include <EGL/eglplatform.h>
// ----------------------------------------------------------------------------
namespace android {