android: Android.mk should only preserve debug symbols in debug builds.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 24 Jun 2018 15:21:01 -0400
changeset 12032a1fde7f4230f
parent 12031 b6c4568cc10b
child 12033 bc702c5a7c3a
android: Android.mk should only preserve debug symbols in debug builds.

Fixes Bugzilla #4111.
Android.mk
     1.1 --- a/Android.mk	Fri May 04 21:21:32 2018 -0400
     1.2 +++ b/Android.mk	Sun Jun 24 15:21:01 2018 -0400
     1.3 @@ -51,7 +51,9 @@
     1.4  LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
     1.5  LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
     1.6  
     1.7 -cmd-strip := 
     1.8 +ifeq ($(NDK_DEBUG),1)
     1.9 +    cmd-strip :=
    1.10 +endif
    1.11  
    1.12  include $(BUILD_SHARED_LIBRARY)
    1.13