cryptoPlugin: only build libwvdecryptcommon for 32-bit

WVCryptoPlugin::decrypt stores a pointer in a uint32, so it cannot
be built for 64-bit until the api is changed.  Force it to only
build for 32-bit for now.

Also set -Wno-unused-parameter to silence unnecessary warnings
so I can see the build error.

Change-Id: I7cc13cc1d8a06b17468fab6f3b28886f9af02e24
This commit is contained in:
Colin Cross
2014-05-05 18:48:18 -07:00
parent e924571282
commit ad27688791

View File

@@ -12,7 +12,12 @@ LOCAL_C_INCLUDES := \
$(TOP)/vendor/widevine/proprietary/wvm/include \
$(TOP)/external/openssl/include
LOCAL_CFLAGS += -Wno-unused-parameter
LOCAL_MODULE:= libwvdecryptcommon
LOCAL_MODULE_TAGS := optional
# Not 64-bit compatible, WVCryptoPlugin::decrypt stores a pointer in a uint32
LOCAL_MULTILIB := 32
include $(BUILD_STATIC_LIBRARY)