ref: 3a7ebf9c36a1e74190aa9820421c8fc8ac051ea0
parent: 73bce9ec7e01ffd64658aa4e74c721034778bd6b
author: Frank Galligan <[email protected]>
date: Fri Apr 17 06:59:11 EDT 2015
Fix dependency of android vpx test application. Change-Id: I32b7c92c89c9a2be0cf38e67a17266b9d3866154
--- a/test/android/Android.mk
+++ b/test/android/Android.mk
@@ -40,7 +40,13 @@
LOCAL_ARM_MODE := arm
LOCAL_MODULE := libvpx_test
LOCAL_STATIC_LIBRARIES := gtest libwebm
-LOCAL_SHARED_LIBRARIES := vpx
+
+ifeq ($(ENABLE_SHARED),1)
+ LOCAL_SHARED_LIBRARIES := vpx
+else
+ LOCAL_STATIC_LIBRARIES += vpx
+endif
+
include $(LOCAL_PATH)/test/test.mk
LOCAL_C_INCLUDES := $(BINDINGS_DIR)
FILTERED_SRC := $(sort $(filter %.cc %.c, $(LIBVPX_TEST_SRCS-yes)))