android: Android.mk should only preserve debug symbols in debug builds.

Fixes Bugzilla #4111.
This commit is contained in:
Ryan C. Gordon 2018-06-24 15:21:01 -04:00
parent c591429542
commit e8237e2b02
1 changed files with 3 additions and 1 deletions

View File

@ -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)