Rahul's changes in preparation for adding x86 support Change-Id: Ib51dfa72291857c44be37595be2205dd040fc0dd related-to-bug: 6276794
30 lines
663 B
Makefile
30 lines
663 B
Makefile
ifneq ($(filter arm x86,$(TARGET_ARCH)),)
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
include $(TOP)/vendor/widevine/proprietary/wvm/common.mk
|
|
include $(TOP)/vendor/widevine/proprietary/drmwvmplugin/oemcryptolevel.mk
|
|
|
|
ifeq ($(LOCAL_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
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
endif
|