mirror of https://github.com/ClassiCube/ClassiCube
don't forget to update VS project
This commit is contained in:
parent
f7ffad8ee3
commit
78cc5b708c
|
|
@ -120,6 +120,7 @@ SDK_ROOT="/home/buildbot/android/sdk/platforms/android-26"
|
|||
|
||||
build_android() {
|
||||
echo "Building android.."
|
||||
rm cc.apk cc-droid-arm_16 cc-droid-arm_32 cc-droid-arm_64 cc-droid-x86_32 cc-droid-x86_64
|
||||
$NDK_ROOT/armv7a-linux-androideabi16-clang *.c $DROID_FLAGS -march=armv5 $DROID_LIBS -DCC_COMMIT_SHA=\"$LATEST\" -o cc-droid-arm_16
|
||||
$NDK_ROOT/armv7a-linux-androideabi16-clang *.c $DROID_FLAGS $DROID_LIBS -DCC_COMMIT_SHA=\"$LATEST\" -o cc-droid-arm_32
|
||||
$NDK_ROOT/aarch64-linux-android21-clang *.c $DROID_FLAGS $DROID_LIBS -DCC_COMMIT_SHA=\"$LATEST\" -o cc-droid-arm_64
|
||||
|
|
|
|||
|
|
@ -317,7 +317,6 @@
|
|||
<ClCompile Include="Vorbis.c" />
|
||||
<ClCompile Include="Widgets.c" />
|
||||
<ClCompile Include="Logger.c" />
|
||||
<ClCompile Include="Window.c" />
|
||||
<ClCompile Include="Window_Android.c" />
|
||||
<ClCompile Include="Window_Carbon.c" />
|
||||
<ClCompile Include="Window_SDL.c" />
|
||||
|
|
|
|||
|
|
@ -503,9 +503,6 @@
|
|||
<ClCompile Include="_truetype.c">
|
||||
<Filter>Source Files\Freetype</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Window.c">
|
||||
<Filter>Source Files\Platform</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Launcher.c">
|
||||
<Filter>Source Files\Launcher</Filter>
|
||||
</ClCompile>
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
#include "Funcs.h"
|
||||
#include "Bitmap.h"
|
||||
#include "Errors.h"
|
||||
#include "Graphics.h"
|
||||
#include <android/native_window.h>
|
||||
#include <android/native_window_jni.h>
|
||||
#include <android/keycodes.h>
|
||||
|
|
@ -126,7 +127,6 @@ static void JNICALL java_processSurfaceCreated(JNIEnv* env, jobject o, jobject s
|
|||
Event_RaiseVoid(&WindowEvents.Created);
|
||||
}
|
||||
|
||||
#include "Graphics.h"
|
||||
static void JNICALL java_processSurfaceDestroyed(JNIEnv* env, jobject o) {
|
||||
Platform_LogConst("WIN - DESTROYED");
|
||||
if (win_handle) ANativeWindow_release(win_handle);
|
||||
|
|
|
|||
Loading…
Reference in New Issue