Android.mk: add ENABLE_SHARED flag

builds libwebp.so instead of libwebp.a
$ ndk-build ENABLE_SHARED=1

Change-Id: Ide05e3be4f9848852e6d7e9d99abe11344419241
This commit is contained in:
James Zern 2014-06-17 23:30:20 -07:00
parent 6e93317f5b
commit 73d8fca01e

View File

@ -93,7 +93,11 @@ LOCAL_STATIC_LIBRARIES := cpufeatures
LOCAL_MODULE := webp
ifeq ($(ENABLE_SHARED),1)
include $(BUILD_SHARED_LIBRARY)
else
include $(BUILD_STATIC_LIBRARY)
endif
include $(CLEAR_VARS)