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
25 lines
602 B
Makefile
25 lines
602 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
include $(TOP)/vendor/widevine/proprietary/wvm/common.mk
|
|
|
|
ifeq ($(BOARD_WIDEVINE_OEMCRYPTO_LEVEL),1)
|
|
LOCAL_CFLAGS := -DREQUIRE_SECURE_BUFFERS
|
|
endif
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
WVMLogging.cpp \
|
|
WVMExtractorImpl.cpp \
|
|
WVMFileSource.cpp \
|
|
WVMMediaSource.cpp \
|
|
WVMInfoListener.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libstagefright \
|
|
libstagefright_foundation
|
|
|
|
LOCAL_MODULE := libwvmcommon
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_TARGET_ARCH := $(WIDEVINE_SUPPORTED_ARCH)
|
|
include $(BUILD_STATIC_LIBRARY)
|