Add back deleted Android jni makefiles

This commit is contained in:
Aaron Kling 2020-09-10 12:37:17 -05:00 committed by Mats
parent bde1984f64
commit d0dd4c515c
2 changed files with 19 additions and 0 deletions

17
jni/Android.mk Normal file
View File

@ -0,0 +1,17 @@
LOCAL_PATH := $(call my-dir)
ROOT_DIR := $(LOCAL_PATH)/..
MELON_DIR := $(ROOT_DIR)/src
CORE_DIR := $(MELON_DIR)/libretro
include $(ROOT_DIR)/Makefile.common
CORE_FLAGS := -D__LIBRETRO__ $(INCFLAGS)
include $(CLEAR_VARS)
LOCAL_MODULE := retro
LOCAL_SRC_FILES := $(SOURCES_C) $(SOURCES_CXX)
LOCAL_CFLAGS := $(CORE_FLAGS)
LOCAL_CPPFLAGS := -std=c++11 $(CORE_FLAGS)
LOCAL_LDFLAGS := -Wl,-version-script=$(CORE_DIR)/link.T
include $(BUILD_SHARED_LIBRARY)

2
jni/Application.mk Normal file
View File

@ -0,0 +1,2 @@
APP_ABI := all
APP_STL := c++_static