mirror of
https://github.com/libretro/RetroArch
synced 2025-03-09 22:13:25 +00:00
(JNI) Add JNI files for async compute test core
This commit is contained in:
parent
4dddcb2969
commit
5d154dac8e
25
cores/libretro-test-vulkan-async-compute/jni/Android.mk
Normal file
25
cores/libretro-test-vulkan-async-compute/jni/Android.mk
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
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
|
||||||
|
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)
|
||||||
|
|
@ -0,0 +1,3 @@
|
|||||||
|
APP_ABI := armeabi-v7a arm64-v8a x86 x86_64 mips mips64
|
||||||
|
APP_PLATFORM := android-9
|
||||||
|
|
@ -2,7 +2,7 @@ LOCAL_PATH := $(call my-dir)
|
|||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := retro-test-vulkan
|
LOCAL_MODULE := retro
|
||||||
|
|
||||||
ifeq ($(TARGET_ARCH),arm)
|
ifeq ($(TARGET_ARCH),arm)
|
||||||
LOCAL_CFLAGS += -DANDROID_ARM
|
LOCAL_CFLAGS += -DANDROID_ARM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user