diff options
Diffstat (limited to '')
-rw-r--r-- | Android/jni/Android.mk | 4 | ||||
-rw-r--r-- | Android/jni/app-android.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Android/jni/Android.mk b/Android/jni/Android.mk index a9cb819c3..764e57ee8 100644 --- a/Android/jni/Android.mk +++ b/Android/jni/Android.mk @@ -5,14 +5,13 @@ LOCAL_MODULE := mcserver -LOCAL_SRC_FILES := $(shell find ../CryptoPP ../lua-5.1.4 ../jsoncpp-src-0.5.0 ../zlib-1.2.7 ../source ../squirrel_3_0_1_stable ../tolua++-1.0.93 ../iniFile ../WebServer '(' -name '*.cpp' -o -name '*.c' ')')
+LOCAL_SRC_FILES := $(shell find ../CryptoPP ../lua-5.1.4 ../jsoncpp-src-0.5.0 ../zlib-1.2.7 ../source ../squirrel_3_0_1_stable ../tolua++-1.0.93 ../iniFile ../WebServer ../expat '(' -name '*.cpp' -o -name '*.c' ')')
LOCAL_SRC_FILES := $(filter-out %SquirrelFunctions.cpp %SquirrelBindings.cpp %cPlugin_Squirrel.cpp %cSquirrelCommandBinder.cpp %minigzip.c %lua.c %tolua.c %toluabind.c %LeakFinder.cpp %StackWalker.cpp %example.c,$(LOCAL_SRC_FILES))
LOCAL_SRC_FILES := $(patsubst %.cpp,../%.cpp,$(LOCAL_SRC_FILES))
LOCAL_SRC_FILES := $(patsubst %.c,../%.c,$(LOCAL_SRC_FILES))
LOCAL_SRC_FILES += app-android.cpp ToJava.cpp
LOCAL_CFLAGS := -DANDROID_NDK \
- -ffast-math \
-O3 \
-funroll-loops \
-mfloat-abi=softfp -mfpu=neon \
@@ -37,6 +36,7 @@ LOCAL_C_INCLUDES := ../source \ ../squirrel_3_0_1_stable/include \
../squirrel_3_0_1_stable \
../squirrel_3_0_1_stable/sqrat \
+ ../expat/ \
.. \
diff --git a/Android/jni/app-android.cpp b/Android/jni/app-android.cpp index 0e288a2b2..b34207344 100644 --- a/Android/jni/app-android.cpp +++ b/Android/jni/app-android.cpp @@ -105,7 +105,7 @@ extern "C" void Java_com_mcserver_MCServerActivity_NativeCleanUp( JNIEnv* env, __android_log_print(ANDROID_LOG_ERROR,"MCServer", "pRoot: %p", pRoot);
if( pRoot != NULL )
{
- pRoot->ServerCommand("stop");
+ pRoot->ExecuteConsoleCommand("stop");
}
}
|