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.

36 lines
1.1 KiB

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libuapi_ao
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/ao \
-Ivendor/huanglong/linux/include/audio \
-Ivendor/huanglong/uapi/ao/include \
-Ivendor/huanglong/uapi/common/include \
-Ivendor/huanglong/uapi/memory/include \
-Ivendor/huanglong/uapi/include/audio \
-Ivendor/huanglong/uapi/include/media \
-Ivendor/huanglong/uapi/include/generic
LOCAL_CFLAGS += -DLOG_TAG=libuapi_ao \
-DCONFIG_SOCT_LOG_SUPPORT \
-D_GNU_SOURCE \
-Wno-error=shadow -Wno-type-limits\
-Wno-error=implicit-function-declaration \
-Wno-int-to-pointer-cast
LOCAL_LDFLAGS := -ldl
LOCAL_SHARED_LIBRARIES := libuapi_securec \
libuapi_common \
libuapi_memory
include $(BUILD_LINUX_LIBRARY)