1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4#===============================================================================
5#            Deploy the headers that can be exposed
6#===============================================================================
7
8LOCAL_COPY_HEADERS_TO   := mm-video-v4l2/DivxDrmDecrypt
9LOCAL_COPY_HEADERS      := inc/DivXDrmDecrypt.h
10
11LOCAL_CFLAGS := \
12    -D_ANDROID_
13
14LOCAL_SRC_FILES:=       \
15    src/DivXDrmDecrypt.cpp
16
17LOCAL_C_INCLUDES:= \
18    $(LOCAL_PATH)/inc \
19    $(TARGET_OUT_HEADERS)/mm-core/omxcore
20
21
22LOCAL_MODULE:= libdivxdrmdecrypt
23LOCAL_LICENSE_KINDS:= SPDX-license-identifier-BSD
24LOCAL_LICENSE_CONDITIONS:= notice
25LOCAL_MODULE_TAGS := optional
26
27LOCAL_SHARED_LIBRARIES	:= liblog libdl
28
29LOCAL_LDLIBS +=
30include $(BUILD_SHARED_LIBRARY)
31