blob: a64b9133f491dcda65481f20ceaaf1da9a2ccb75 [file] [log] [blame]
Naresh Tanniruf1290152018-11-27 12:16:45 +05301ifneq ($(AUDIO_USE_STUB_HAL), true)
Sidipotu Ashok404f26d2017-10-10 22:27:51 +05302ifeq ($(strip $(BOARD_SUPPORTS_QAHW)),true)
3
4LOCAL_PATH := $(call my-dir)
5
6include $(CLEAR_VARS)
7
8libqahw-inc := $(LOCAL_PATH)/inc
9
10LOCAL_MODULE := libqahwwrapper
11LOCAL_MODULE_TAGS := optional
12LOCAL_C_INCLUDES := $(libqahw-inc)
13
14LOCAL_SRC_FILES := \
15 src/qahw.c \
16 src/qahw_effect.c
17
18LOCAL_SHARED_LIBRARIES := \
19 liblog \
20 libcutils \
21 libhardware \
22 libdl
23
24LOCAL_CFLAGS += -Wall -Werror
25
26LOCAL_COPY_HEADERS_TO := mm-audio/qahw/inc
27LOCAL_COPY_HEADERS := inc/qahw.h
28LOCAL_COPY_HEADERS += inc/qahw_effect_api.h
29
30LOCAL_PRELINK_MODULE := false
Sachin Mohan Gadag25328bd2017-12-06 16:04:16 +053031LOCAL_VENDOR_MODULE := true
Sidipotu Ashok404f26d2017-10-10 22:27:51 +053032
33include $(BUILD_SHARED_LIBRARY)
34
35include $(CLEAR_VARS)
36LOCAL_COPY_HEADERS_TO := mm-audio/qahw_api/inc
37LOCAL_COPY_HEADERS := inc/qahw_defs.h
38
39include $(BUILD_COPY_HEADERS)
40endif
Naresh Tanniruf1290152018-11-27 12:16:45 +053041endif