Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
81-libretro
Commits
35095709
Commit
35095709
authored
May 28, 2019
by
Steel01
Browse files
libretro: jni: Add android jni makefiles
parent
37bcedbc
Changes
2
Hide whitespace changes
Inline
Side-by-side
build/jni/Android.mk
0 → 100644
View file @
35095709
LOCAL_PATH
:=
$(
call
my-dir
)
CORE_DIR
:=
$(LOCAL_PATH)
/../..
INCLUDES
:=
SOURCES_C
:=
SOURCES_CXX
:=
include
$(CORE_DIR)/build/Makefile.common
SOURCES_C
:=
$(
filter-out
%/version.c,
$(SOURCES_C)
)
COREFLAGS
:=
-D__LIBRETRO__
$(RETRODEFS)
$(INCLUDES)
GIT_VERSION
:=
"
$(
shell
git rev-parse --short HEAD || echo unknown
)
"
ifneq
($(GIT_VERSION)," unknown")
COREFLAGS
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
endif
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
retro
LOCAL_SRC_FILES
:=
$(SOURCES_C)
$(SOURCES_CXX)
LOCAL_CPPFLAGS
:=
-std
=
c++11
$(COREFLAGS)
LOCAL_CFLAGS
:=
$(COREFLAGS)
LOCAL_LDFLAGS
:=
-Wl
,-version-script
=
$(CORE_DIR)
/build/link.T
include
$(BUILD_SHARED_LIBRARY)
build/jni/Application.mk
0 → 100644
View file @
35095709
APP_ABI
:=
all
APP_STL
:=
c++_static
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment