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.
155 lines
5.5 KiB
155 lines
5.5 KiB
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := sample_ai
|
|
|
|
LOCAL_SRC_FILES := sample_ai.c
|
|
|
|
LOCAL_CFLAGS := -Ivendor/huanglong/uapi/include/audio \
|
|
-Ivendor/huanglong/uapi/include/media \
|
|
-Ivendor/huanglong/uapi/include/video \
|
|
-Ivendor/huanglong/uapi/aenc/include \
|
|
-Ivendor/huanglong/uapi/ai/include \
|
|
-Ivendor/huanglong/uapi/avplay/include \
|
|
-Ivendor/huanglong/uapi/ao/include \
|
|
-Ivendor/huanglong/uapi/common/include \
|
|
-Ivendor/huanglong/uapi/ha_codec/include \
|
|
-Ivendor/huanglong/linux/include/audio \
|
|
-Ivendor/huanglong/linux/include/generic \
|
|
-Ivendor/huanglong/sample/audio \
|
|
-Ivendor/platform/secure_c/include
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=sample_audio_ai \
|
|
-DCONFIG_SOCT_LOG_SUPPORT
|
|
|
|
LOCAL_LDFLAGS := -lpthread
|
|
|
|
LOCAL_SHARED_LIBRARIES := libuapi_common \
|
|
libuapi_avplay \
|
|
libuapi_securec \
|
|
libuapi_ao \
|
|
libuapi_ai \
|
|
libuapi_aenc
|
|
|
|
LOCAL_STATIC_LIBRARIES := libuapi_adp
|
|
|
|
include $(BUILD_LINUX_EXECUTABLE)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := sample_ai_aenc
|
|
|
|
LOCAL_SRC_FILES := sample_ai_aenc.c
|
|
|
|
LOCAL_CFLAGS := -Ivendor/huanglong/uapi/include/audio \
|
|
-Ivendor/huanglong/uapi/include/media \
|
|
-Ivendor/huanglong/uapi/include/video \
|
|
-Ivendor/huanglong/uapi/aenc/include \
|
|
-Ivendor/huanglong/uapi/ai/include \
|
|
-Ivendor/huanglong/uapi/ao/include \
|
|
-Ivendor/huanglong/uapi/avplay/include \
|
|
-Ivendor/huanglong/uapi/common/include \
|
|
-Ivendor/huanglong/uapi/ha_codec/include \
|
|
-Ivendor/huanglong/linux/include/audio \
|
|
-Ivendor/huanglong/linux/include/generic \
|
|
-Ivendor/huanglong/sample/audio \
|
|
-Ivendor/platform/secure_c/include
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=sample_audio_aenc \
|
|
-DCONFIG_SOCT_LOG_SUPPORT
|
|
|
|
LOCAL_LDFLAGS := -lpthread
|
|
|
|
LOCAL_SHARED_LIBRARIES := libuapi_common \
|
|
libuapi_avplay \
|
|
libuapi_securec \
|
|
libuapi_ao \
|
|
libuapi_ai \
|
|
libuapi_aenc
|
|
|
|
LOCAL_STATIC_LIBRARIES := libuapi_adp
|
|
|
|
include $(BUILD_LINUX_EXECUTABLE)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := sample_ai_ao
|
|
|
|
LOCAL_SRC_FILES := sample_ai_ao.c
|
|
|
|
LOCAL_CFLAGS := -Ivendor/huanglong/uapi/include/audio \
|
|
-Ivendor/huanglong/uapi/include/media \
|
|
-Ivendor/huanglong/uapi/include/video \
|
|
-Ivendor/huanglong/uapi/aenc/include \
|
|
-Ivendor/huanglong/uapi/ai/include \
|
|
-Ivendor/huanglong/uapi/avplay/include \
|
|
-Ivendor/huanglong/uapi/ao/include \
|
|
-Ivendor/huanglong/uapi/common/include \
|
|
-Ivendor/huanglong/uapi/ha_codec/include \
|
|
-Ivendor/huanglong/linux/include/audio \
|
|
-Ivendor/huanglong/linux/include/generic \
|
|
-Ivendor/huanglong/sample/audio \
|
|
-Ivendor/platform/secure_c/include
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=sample_audio_ai \
|
|
-DCONFIG_SOCT_LOG_SUPPORT
|
|
|
|
LOCAL_LDFLAGS := -lpthread
|
|
|
|
LOCAL_SHARED_LIBRARIES := libuapi_common \
|
|
libuapi_avplay \
|
|
libuapi_securec \
|
|
libuapi_ao \
|
|
libuapi_ai \
|
|
libuapi_aenc
|
|
|
|
LOCAL_STATIC_LIBRARIES := libuapi_adp
|
|
|
|
include $(BUILD_LINUX_EXECUTABLE)
|
|
|
|
ifeq ($(strip $(PRODUCT_TYPE)), tv)
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := sample_ai_hdmirx
|
|
|
|
LOCAL_SRC_FILES := sample_ai_hdmirx.c
|
|
|
|
LOCAL_CFLAGS := -Ivendor/huanglong/uapi/include/audio \
|
|
-Ivendor/huanglong/uapi/include/cec \
|
|
-Ivendor/huanglong/uapi/include/media \
|
|
-Ivendor/huanglong/uapi/include/video \
|
|
-Ivendor/huanglong/uapi/aenc/include \
|
|
-Ivendor/huanglong/uapi/ai/include \
|
|
-Ivendor/huanglong/uapi/avplay/include \
|
|
-Ivendor/huanglong/uapi/ao/include \
|
|
-Ivendor/huanglong/uapi/common/include \
|
|
-Ivendor/huanglong/uapi/ha_codec/include \
|
|
-Ivendor/huanglong/uapi/hdmirx/include \
|
|
-Ivendor/huanglong/uapi/pq/include \
|
|
-Ivendor/huanglong/uapi/panel/include \
|
|
-Ivendor/huanglong/uapi/vi/include \
|
|
-Ivendor/huanglong/uapi/vo/include \
|
|
-Ivendor/huanglong/linux/include/audio \
|
|
-Ivendor/huanglong/linux/include/generic \
|
|
-Ivendor/huanglong/sample/audio \
|
|
-Ivendor/platform/secure_c/include
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=sample_audio_ai \
|
|
-DCONFIG_SOCT_LOG_SUPPORT
|
|
|
|
LOCAL_LDFLAGS := -lpthread
|
|
|
|
LOCAL_SHARED_LIBRARIES := libuapi_common \
|
|
libuapi_avplay \
|
|
libuapi_securec \
|
|
libuapi_ao \
|
|
libuapi_ai \
|
|
libuapi_hdmirx \
|
|
libuapi_panel \
|
|
libuapi_pq \
|
|
libuapi_vi \
|
|
libuapi_vo \
|
|
libuapi_aenc
|
|
|
|
LOCAL_STATIC_LIBRARIES := libuapi_adp
|
|
|
|
include $(BUILD_LINUX_EXECUTABLE)
|
|
endif
|