hal: Fix compilation errors

Fix compilation errors for hal test apps

Change-Id: I7cc6b62a5722af8ccef58d242817970c223a5782
This commit is contained in:
Samyak Jain 2018-12-24 12:49:31 +05:30 committed by Gerrit - the friendly Code Review server
parent e3635a3e91
commit 5deda9e700
4 changed files with 10 additions and 10 deletions

View File

@ -11,6 +11,10 @@ LOCAL_MODULE := libqahwwrapper
LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES := $(libqahw-inc)
LOCAL_HEADER_LIBRARIES := libutils_headers \
libsystem_headers \
libhardware_headers
LOCAL_SRC_FILES := \
src/qahw.c \
src/qahw_effect.c
@ -27,15 +31,10 @@ LOCAL_COPY_HEADERS_TO := mm-audio/qahw/inc
LOCAL_COPY_HEADERS := inc/qahw.h
LOCAL_COPY_HEADERS += inc/qahw_effect_api.h
LOCAL_PRELINK_MODULE := false
LOCAL_PROPRIETARY_MODULE := true
LOCAL_VENDOR_MODULE := true
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_COPY_HEADERS_TO := mm-audio/qahw_api/inc
LOCAL_COPY_HEADERS := inc/qahw_defs.h
include $(BUILD_COPY_HEADERS)
endif
endif

View File

@ -35,7 +35,7 @@
#include <utils/Log.h>
#include <stdlib.h>
#include <cutils/list.h>
#include <pthread.h>
#include <hardware/audio.h>
#include <hardware/sound_trigger.h>
#include "qahw.h"

View File

@ -37,7 +37,7 @@
#include <hardware/audio.h>
#include <hardware/audio_effect.h>
#include <stdlib.h>
#include <pthread.h>
#include "qahw.h"
// The current effect API version.

View File

@ -25,12 +25,14 @@ LOCAL_SHARED_LIBRARIES := \
libcutils \
libhardware \
libdl \
libutils \
libqahwwrapper
LOCAL_CFLAGS += -Wall -Werror
LOCAL_COPY_HEADERS_TO := mm-audio/qahw_api/inc
LOCAL_COPY_HEADERS := inc/qahw_api.h
LOCAL_COPY_HEADERS := inc/qahw_defs.h
LOCAL_COPY_HEADERS += inc/qahw_api.h
LOCAL_COPY_HEADERS += inc/qahw_effect_audiosphere.h
LOCAL_COPY_HEADERS += inc/qahw_effect_bassboost.h
LOCAL_COPY_HEADERS += inc/qahw_effect_environmentalreverb.h
@ -39,7 +41,6 @@ LOCAL_COPY_HEADERS += inc/qahw_effect_presetreverb.h
LOCAL_COPY_HEADERS += inc/qahw_effect_virtualizer.h
LOCAL_COPY_HEADERS += inc/qahw_effect_visualizer.h
LOCAL_PRELINK_MODULE := false
LOCAL_VENDOR_MODULE := true
include $(BUILD_SHARED_LIBRARY)