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.
42 lines
1.4 KiB
42 lines
1.4 KiB
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libuapi_common
|
|
|
|
LOCAL_MULTILIB := both
|
|
LOCAL_BUILD_STATIC := true
|
|
|
|
LOCAL_SRC_FILES := log/iapi_log.c \
|
|
log/mpi_log.c \
|
|
sys/iapi_system.c \
|
|
sys/mpi_system.c \
|
|
module/iapi_module.c \
|
|
module/mpi_module.c \
|
|
userproc/iapi_user_proc.c \
|
|
userproc/mpi_user_proc.c \
|
|
policy/mpi_policy.c \
|
|
policy/iapi_policy.c
|
|
|
|
LOCAL_CFLAGS := -Ivendor/huanglong/uapi/common/include \
|
|
-Ivendor/huanglong/uapi/common/source/module/include \
|
|
-Ivendor/huanglong/uapi/common/source/userproc/include \
|
|
-Ivendor/huanglong/uapi/memory/include \
|
|
-Ivendor/huanglong/uapi/include/video \
|
|
-Ivendor/huanglong/linux/include/generic \
|
|
-Ivendor/huanglong/linux/include/common \
|
|
-Ivendor/huanglong/linux/include/video \
|
|
-Ivendor/platform/secure_c/include
|
|
|
|
LOCAL_LDFLAGS := -lpthread
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=libuapi_common \
|
|
-DCONFIG_SOCT_LOG_SUPPORT \
|
|
-Wno-error=unused-parameter \
|
|
-Wno-unused
|
|
|
|
LOCAL_SHARED_LIBRARIES := libuapi_memory \
|
|
libuapi_securec
|
|
|
|
include $(BUILD_LINUX_LIBRARY)
|
|
|