You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.9 KiB
51 lines
1.9 KiB
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libuapi_hdmirx
|
|
|
|
LOCAL_MULTILIB := both
|
|
LOCAL_BUILD_STATIC := false
|
|
|
|
LOCAL_SRC_FILES := *.c
|
|
|
|
LOCAL_CFLAGS := -Ivendor/platform/secure_c/include \
|
|
-Ivendor/huanglong/linux/include/generic \
|
|
-Ivendor/huanglong/linux/include/hdmirx \
|
|
-Ivendor/huanglong/linux/include/cipher \
|
|
-Ivendor/huanglong/linux/include/video \
|
|
-Ivendor/huanglong/linux/include/audio \
|
|
-Ivendor/huanglong/linux/include/stat \
|
|
-Ivendor/huanglong/linux/include/keyslot \
|
|
-Ivendor/huanglong/linux/include/klad \
|
|
-Ivendor/huanglong/linux/include/common \
|
|
-Ivendor/huanglong/uapi/include/video \
|
|
-Ivendor/huanglong/uapi/include/audio \
|
|
-Ivendor/huanglong/uapi/include/media \
|
|
-Ivendor/huanglong/uapi/include/cec \
|
|
-Ivendor/huanglong/uapi/hdmirx/include \
|
|
-Ivendor/huanglong/uapi/common/include \
|
|
-Ivendor/huanglong/uapi/cipher/include \
|
|
-Ivendor/huanglong/uapi/memory/include \
|
|
-Ivendor/huanglong/uapi/stat/include \
|
|
-Ivendor/huanglong/uapi/keyslot/include \
|
|
-Ivendor/huanglong/uapi/klad/include
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=libuapi_hdmirx \
|
|
-DCONFIG_SOCT_LOG_SUPPORT
|
|
|
|
ifneq ($(findstring $(PRODUCT_TYPE), "pc"),)
|
|
LOCAL_CFLAGS += -DCONFIG_HDMIRX_EXCLUDE_HDCP
|
|
endif
|
|
|
|
LOCAL_SHARED_LIBRARIES := libuapi_securec \
|
|
libuapi_common \
|
|
libuapi_memory \
|
|
libuapi_stat
|
|
ifeq ($(findstring $(PRODUCT_TYPE), "pc"),)
|
|
LOCAL_SHARED_LIBRARIES += libuapi_cipher \
|
|
libuapi_klad \
|
|
libuapi_keyslot
|
|
endif
|
|
|
|
include $(BUILD_LINUX_LIBRARY)
|