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
24 lines
548 B
Makefile
24 lines
548 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
ifeq ($(BOARD_WIDEVINE_OEMCRYPTO_LEVEL),1)
|
|
LOCAL_CFLAGS := -DREQUIRE_SECURE_BUFFERS
|
|
endif
|
|
|
|
LOCAL_SRC_FILES := \
|
|
WVCryptoPlugin.cpp
|
|
|
|
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)
|