2013-11-11 22:26:21 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2015-07-02 01:04:25 +00:00
|
|
|
|
|
|
|
ifneq (,$(findstring $(PLATFORM_VERSION), 5.0 5.1 5.1.1))
|
2013-11-11 22:26:21 +00:00
|
|
|
include external/stlport/libstlport.mk
|
2015-07-02 01:04:25 +00:00
|
|
|
endif
|
2013-11-11 22:26:21 +00:00
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
|
|
audiod_main.cpp \
|
|
|
|
AudioDaemon.cpp \
|
|
|
|
|
|
|
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libcutils \
|
|
|
|
libutils \
|
|
|
|
libbinder \
|
2015-07-02 01:04:25 +00:00
|
|
|
libmedia
|
|
|
|
|
|
|
|
ifneq (,$(findstring $(PLATFORM_VERSION), 5.0 5.1 5.1.1))
|
|
|
|
LOCAL_SHARED_LIBRARIES += libstlport
|
|
|
|
endif
|
2013-11-11 22:26:21 +00:00
|
|
|
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
|
|
|
|
|
|
|
LOCAL_MODULE:= audiod
|
|
|
|
|
2020-04-10 04:22:53 +00:00
|
|
|
ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),)
|
2019-08-07 20:33:01 +00:00
|
|
|
LOCAL_SANITIZE := integer_overflow
|
|
|
|
endif
|
2013-11-11 22:26:21 +00:00
|
|
|
include $(BUILD_EXECUTABLE)
|