fix jni build. Full .apk now produced.

But it gets confused about downloading wordlists.
This commit is contained in:
Eric House 2017-01-18 08:33:49 -08:00
parent 0750a771c3
commit 3ac0039b4d
2 changed files with 5 additions and 5 deletions

View file

@ -3,10 +3,10 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
COMMON_PATH=../../../common
COMMON_PATH=../../common
LOCAL_C_INCLUDES+= \
-I$(LOCAL_PATH)/$(COMMON_PATH) \
-I$(LOCAL_PATH)/../../../relay \
-I$(LOCAL_PATH)/../../relay \
LOCAL_LDLIBS += -llog
@ -61,7 +61,7 @@ LOCAL_SRC_FILES += \
jniutlswrapper.c \
COMMON_PATH=../../../common
COMMON_PATH=../../common
COMMON_SRC_FILES += \
$(COMMON_PATH)/boarddrw.c \
$(COMMON_PATH)/scorebdp.c \

View file

@ -4,8 +4,8 @@ set -e -u
ANDROID_NDK=${ANDROID_NDK:-''}
if [ ! -e build.xml ]; then
echo "no build.xml; please run from root of source tree"
if [ ! -d jni ]; then
echo "no jni directory; please run from root of source tree"
exit 1
fi