Support builds for multiple architectures the same time: Use LOCAL_MODULE_TARGET_ARCH to restrict building to specific arches Use LOCAL_C_INCLUDES_x86 to set the include path for only x86 builds Change-Id: I7c33c27f1c9bfb6e3318a07514698992482f6cd7
26 lines
613 B
Makefile
26 lines
613 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 $(TOP)/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
|
|
|
|
LOCAL_SHARED_LIBRARIES_x86 += libdl
|