Instead of grepping out the oemcrypto level from PRODUCT_PACKAGES, which is very fragile. Change-Id: I1ac5b8ace25dd4798d3383304f01496f12193526
28 lines
634 B
Makefile
28 lines
634 B
Makefile
#
|
|
# To be included by platform-specific vendor Android.mk to build
|
|
# Widevine wvm static library. Sets up includes and defines the core libraries
|
|
# required.
|
|
#
|
|
include vendor/widevine/proprietary/wvm/common.mk
|
|
|
|
ifndef BOARD_WIDEVINE_OEMCRYPTO_LEVEL
|
|
$(error BOARD_WIDEVINE_OEMCRYPTO_LEVEL not defined!)
|
|
endif
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := \
|
|
libwvmcommon
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libstlport \
|
|
libstagefright \
|
|
libWVStreamControlAPI_L$(BOARD_WIDEVINE_OEMCRYPTO_LEVEL) \
|
|
libdrmframework \
|
|
libcutils \
|
|
liblog \
|
|
libutils \
|
|
libz
|
|
|
|
ifeq ($(TARGET_ARCH),x86)
|
|
LOCAL_SHARED_LIBRARIES += libdl
|
|
endif
|