Build debug and release library variants

This commit is contained in:
Cameron Gutman
2017-06-08 19:55:28 -07:00
parent c8339d5eae
commit 8c09154183
4 changed files with 12 additions and 8 deletions

View File

@@ -5,6 +5,3 @@ APP_PLATFORM := android-16
# Support all modern ABIs
APP_ABI := armeabi-v7a arm64-v8a x86 x86_64 mips mips64
# We want an optimized build
APP_OPTIM := release

View File

@@ -43,7 +43,11 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/moonlight-common-c/enet/include \
$(LOCAL_PATH)/moonlight-common-c/reedsolomon \
$(LOCAL_PATH)/moonlight-common-c/src \
LOCAL_CFLAGS := -DHAS_SOCKLEN_T=1 -DLC_ANDROID -DLC_DEBUG
LOCAL_CFLAGS := -DHAS_SOCKLEN_T=1 -DLC_ANDROID
ifeq ($(NDK_DEBUG),1)
LOCAL_CFLAGS += -DLC_DEBUG
endif
LOCAL_LDLIBS := -llog

Submodule moonlight-common/src/main/jni/moonlight-core/moonlight-common-c updated: 634031839c...c01deff683