From 4dddcb29692fa577243eb2a9668214041d0f3f35 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 21 Jul 2016 08:00:29 +0200 Subject: [PATCH] (Vulkan) Add JNI files for libretro-test-vulkan --- cores/libretro-test-vulkan/jni/Android.mk | 25 +++++++++++++++++++ cores/libretro-test-vulkan/jni/Application.mk | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 cores/libretro-test-vulkan/jni/Android.mk create mode 100644 cores/libretro-test-vulkan/jni/Application.mk diff --git a/cores/libretro-test-vulkan/jni/Android.mk b/cores/libretro-test-vulkan/jni/Android.mk new file mode 100644 index 0000000000..08df7070e0 --- /dev/null +++ b/cores/libretro-test-vulkan/jni/Android.mk @@ -0,0 +1,25 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := retro-test-vulkan + +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 +endif + +LOCAL_SRC_FILES += ../libretro-test.c \ + ../../../libretro-common/vulkan/vulkan_symbol_wrapper.c +LOCAL_CFLAGS += -O2 -Wall -std=gnu99 -ffast-math -DGLES -DHAVE_OPENGLES2 -I../../../libretro-common/include -I../../../gfx/include + +include $(BUILD_SHARED_LIBRARY) + diff --git a/cores/libretro-test-vulkan/jni/Application.mk b/cores/libretro-test-vulkan/jni/Application.mk new file mode 100644 index 0000000000..0bf165755b --- /dev/null +++ b/cores/libretro-test-vulkan/jni/Application.mk @@ -0,0 +1,3 @@ +APP_ABI := armeabi-v7a arm64-v8a x86 x86_64 mips mips64 +APP_PLATFORM := android-9 +