diff options
author | Gregor Richards | 2017-01-15 13:40:34 -0500 |
---|---|---|
committer | Gregor Richards | 2017-01-15 13:40:34 -0500 |
commit | 715634d23a55f3237dc24c23bc05c8c801468fff (patch) | |
tree | d7b10c58b127705519c90acdc1c68ead905409bd /jni | |
parent | 0e8ec6b5f7ab59ad13970536c76e2c8c52a23965 (diff) | |
download | snesemu-715634d23a55f3237dc24c23bc05c8c801468fff.tar.gz snesemu-715634d23a55f3237dc24c23bc05c8c801468fff.tar.bz2 snesemu-715634d23a55f3237dc24c23bc05c8c801468fff.zip |
Report git version with library_version on Android
Diffstat (limited to 'jni')
-rw-r--r-- | jni/Android.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jni/Android.mk b/jni/Android.mk index b890e2f..579cb12 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -1,11 +1,12 @@ LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)" ifneq ($(GIT_VERSION)," unknown") LOCAL_CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\" endif -include $(CLEAR_VARS) - CORE_DIR := ../source LIBRETRO_DIR := .. |