Android works
This commit is contained in:
parent
1520a93efc
commit
6548c97921
|
@ -1 +1 @@
|
|||
Subproject commit 709d58eef4f2e34b476d38759705d6420d06c548
|
||||
Subproject commit 4c88c7efa656ace687276be7e8507be6f06b83e8
|
|
@ -0,0 +1,6 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := sdlgpu
|
||||
LOCAL_SRC_FILES := ../../../../3rd-party/pre-built/android/sdlgpu/$(TARGET_ARCH_ABI)/libsdlgpu.so
|
||||
include $(PREBUILT_SHARED_LIBRARY)
|
|
@ -17,6 +17,7 @@ LOCAL_C_INCLUDES := \
|
|||
$(LOCAL_PATH)/$(THIRD_PARTY_PATH)/SDL2_net-2.0.1 \
|
||||
$(LOCAL_PATH)/$(THIRD_PARTY_PATH)/moonscript \
|
||||
$(LOCAL_PATH)/$(THIRD_PARTY_PATH)/wren-0.1.0\src\include \
|
||||
$(LOCAL_PATH)/$(THIRD_PARTY_PATH)/sdl-gpu/include \
|
||||
$(LOCAL_PATH)/../../../../include
|
||||
|
||||
# Add your application source files here...
|
||||
|
@ -55,7 +56,7 @@ LOCAL_SRC_FILES := \
|
|||
$(SRC_PATH)/tic80.c \
|
||||
$(SRC_PATH)/system.c
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := SDL2 lua z gif wren
|
||||
LOCAL_SHARED_LIBRARIES := SDL2 lua z gif wren sdlgpu
|
||||
|
||||
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ public class TIC extends SDLActivity
|
|||
protected String[] getLibraries() {
|
||||
return new String[] {
|
||||
"SDL2",
|
||||
"sdlgpu",
|
||||
"lua",
|
||||
"wren",
|
||||
"z",
|
||||
|
|
Loading…
Reference in New Issue