android: Android.mk should only preserve debug symbols in debug builds. Fixes Bugzilla #4111.
diff --git a/Android.mk b/Android.mk
index d56b5c0..976cbab 100644
--- a/Android.mk
+++ b/Android.mk
@@ -51,7 +51,9 @@ LOCAL_SRC_FILES := \
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
-cmd-strip :=
+ifeq ($(NDK_DEBUG),1)
+ cmd-strip :=
+endif
include $(BUILD_SHARED_LIBRARY)