axmol/cocos2dx/platform/third_party/android/prebuilt/libwebp/Android.mk

18 lines
416 B
Makefile

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := cocos_libwebp_static
LOCAL_MODULE_FILENAME := webp
LOCAL_SRC_FILES := libs/$(TARGET_ARCH_ABI)/libwebp.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_WHOLE_STATIC_LIBRARIES := cpufeatures
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_CFLAGS := -DHAVE_NEON=1
endif
include $(PREBUILT_STATIC_LIBRARY)
$(call import-module,cpufeatures)