mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-02-01 04:26:00 +01:00
Add Android JNI files
This commit is contained in:
parent
ce374b460b
commit
68efde5b94
29
jni/Android.mk
Normal file
29
jni/Android.mk
Normal file
@ -0,0 +1,29 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := retro
|
||||
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
LOCAL_CFLAGS += -DANDROID_ARM
|
||||
LOCAL_ARM_MODE := arm
|
||||
endif
|
||||
|
||||
#ifeq ($(TARGET_ARCH),x86)
|
||||
#LOCAL_CFLAGS += -DANDROID_X86
|
||||
#endif
|
||||
|
||||
#ifeq ($(TARGET_ARCH),mips)
|
||||
#LOCAL_CFLAGS += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
|
||||
#endif
|
||||
|
||||
CORE_DIR := ..
|
||||
|
||||
include $(CORE_DIR)/Makefile.common
|
||||
|
||||
CPU_ARCH := arm
|
||||
|
||||
LOCAL_SRC_FILES += $(SOURCES_C) $(SOURCES_ASM)
|
||||
LOCAL_CFLAGS += -O2 -DARM_ARCH -DNDEBUG -DINLINE=inline -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 $(INCFLAGS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
1
jni/Application.mk
Normal file
1
jni/Application.mk
Normal file
@ -0,0 +1 @@
|
||||
APP_ABI := armeabi armeabi-v7a
|
||||
Loading…
x
Reference in New Issue
Block a user