android: use cpufeatures to support SDL_HasNEON() (thanks, Sylvain!).

Fixes Bugzilla #4406.
This commit is contained in:
Ryan C. Gordon
2018-12-01 12:19:11 -05:00
parent 1e4acca851
commit 3323b355c9
2 changed files with 26 additions and 3 deletions

View File

@@ -75,6 +75,8 @@ ifeq ($(NDK_DEBUG),1)
cmd-strip :=
endif
LOCAL_STATIC_LIBRARIES := cpufeatures
include $(BUILD_SHARED_LIBRARY)
###########################
@@ -124,3 +126,6 @@ LOCAL_MODULE := libhidapi
LOCAL_LDLIBS := -llog
include $(BUILD_SHARED_LIBRARY)
$(call import-module,android/cpufeatures)