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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user