Libretro: Builtbot support for Android
This commit is contained in:
parent
439f72e5ee
commit
5b8800f038
3 changed files with 48 additions and 1 deletions
|
@ -26,6 +26,10 @@
|
||||||
#include "DebugHud.h"
|
#include "DebugHud.h"
|
||||||
#include "StandardController.h"
|
#include "StandardController.h"
|
||||||
|
|
||||||
|
#ifndef UINT32_MAX
|
||||||
|
#define UINT32_MAX ((uint32_t)-1)
|
||||||
|
#endif
|
||||||
|
|
||||||
Debugger* Debugger::Instance = nullptr;
|
Debugger* Debugger::Instance = nullptr;
|
||||||
const int Debugger::BreakpointTypeCount;
|
const int Debugger::BreakpointTypeCount;
|
||||||
string Debugger::_disassemblerOutput = "";
|
string Debugger::_disassemblerOutput = "";
|
||||||
|
|
41
Libretro/jni/Android.mk
Normal file
41
Libretro/jni/Android.mk
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
LIBRETRO_DIR += ../
|
||||||
|
SEVENZIP_DIR += ../../SevenZip
|
||||||
|
LUA_DIR += ../../Lua
|
||||||
|
CORE_DIR += ../../Core
|
||||||
|
UTIL_DIR += ../../Utilities
|
||||||
|
|
||||||
|
GIT_VERSION ?= " $(shell git rev-parse --short HEAD || echo unknown)"
|
||||||
|
ifneq ($(GIT_VERSION)," unknown")
|
||||||
|
LOCAL_CXXFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
HAVE_NETWORK = 1
|
||||||
|
LOCAL_MODULE := libretro
|
||||||
|
|
||||||
|
ifeq ($(TARGET_ARCH),arm)
|
||||||
|
LOCAL_CXXFLAGS += -DANDROID_ARM
|
||||||
|
LOCAL_ARM_MODE := arm
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(TARGET_ARCH),x86)
|
||||||
|
LOCAL_CXXFLAGS += -DANDROID_X86
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(TARGET_ARCH),mips)
|
||||||
|
LOCAL_CXXFLAGS += -DANDROID_MIPS
|
||||||
|
endif
|
||||||
|
|
||||||
|
include ../Makefile.common
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES := $(SOURCES_CXX) $(SOURCES_C)
|
||||||
|
LOCAL_CFLAGS += -DINLINE=inline -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DLIBRETRO -DNDEBUG -D_USE_MATH_DEFINES -I$(CORE_DIR) -DDISABLE_DEBUGGER -DDISABLE_TIMEKEEPING -Wno-multichar
|
||||||
|
LOCAL_CXXFLAGS += -DINLINE=inline -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DLIBRETRO -DNDEBUG -D_USE_MATH_DEFINES -I$(CORE_DIR) -DDISABLE_DEBUGGER -DDISABLE_TIMEKEEPING -Wno-multichar -std=c++11 -frtti -fexceptions
|
||||||
|
LOCAL_C_INCLUDES = $(INCFLAGS)
|
||||||
|
LOCAL_CXX_INCLUDES = $(INCFLAGS)
|
||||||
|
|
||||||
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
2
Libretro/jni/Application.mk
Normal file
2
Libretro/jni/Application.mk
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
APP_STL:=c++_static
|
||||||
|
APP_ABI := all
|
Loading…
Add table
Reference in a new issue