aboutsummaryrefslogtreecommitdiff
path: root/jni
diff options
context:
space:
mode:
authoraliaspider2015-11-08 18:02:48 +0100
committeraliaspider2015-11-08 18:03:31 +0100
commit03ef2061a49969b91de813971712418f11e0070b (patch)
tree10e460fbb50d37caf0e85241e07e24d821791beb /jni
parentd1f029615d8594966c0fd440b2d088739588d0f7 (diff)
downloadsnes9x2005-03ef2061a49969b91de813971712418f11e0070b.tar.gz
snes9x2005-03ef2061a49969b91de813971712418f11e0070b.tar.bz2
snes9x2005-03ef2061a49969b91de813971712418f11e0070b.zip
(android) move more build options to Makefile.common.
Diffstat (limited to 'jni')
-rw-r--r--jni/Android.mk13
1 files changed, 10 insertions, 3 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index d51b890..b584996 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -4,7 +4,13 @@ include $(CLEAR_VARS)
CORE_DIR := ../source
LIBRETRO_DIR := ..
-HAVE_GRIFFIN := 1
+
+DEBUG = 0
+PERF_TEST = 0
+HAVE_GRIFFIN = 1
+LOAD_FROM_MEMORY_TEST = 1
+USE_BLARGG_APU = 0
+
LOCAL_MODULE := retro
@@ -21,9 +27,10 @@ ifeq ($(TARGET_ARCH),mips)
LOCAL_CFLAGS += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
endif
+
include ../Makefile.common
-LOCAL_SRC_FILES += $(SOURCES_C)
-LOCAL_CFLAGS += -O2 -std=gnu99 -ffast-math -DINLINE=inline -DPERF_TEST -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 -DNDEBUG=1 $(INCFLAGS)
+LOCAL_SRC_FILES += $(SOURCES_C)
+LOCAL_CFLAGS += -std=gnu99 -ffast-math -DINLINE=inline $(FLAGS)
include $(BUILD_SHARED_LIBRARY)