blob: 5b865b7d050a97db5c8761a97e4977f20c0f088c [file] [log] [blame]
Eric Laurent73fb11d2013-04-09 11:24:13 -07001LOCAL_PATH:= $(call my-dir)
2
3# audio preprocessing wrapper
4include $(CLEAR_VARS)
5
Abhishek Arpurece112352018-01-31 21:29:03 +05306LOCAL_CFLAGS += -Wno-unused-variable -Wno-gnu-designator -Wno-unused-value -Wno-unused-function
7
Eric Laurent73fb11d2013-04-09 11:24:13 -07008LOCAL_MODULE:= libqcomvoiceprocessing
9LOCAL_MODULE_TAGS := optional
Apoorv Raghuvanshi1b555f72014-05-29 12:48:15 -070010LOCAL_MODULE_RELATIVE_PATH := soundfx
Naresh Tanniru10758b62017-06-05 21:05:53 +053011LOCAL_VENDOR_MODULE := true
Eric Laurent73fb11d2013-04-09 11:24:13 -070012
13LOCAL_SRC_FILES:= \
14 voice_processing.c
15
16LOCAL_C_INCLUDES += \
17 $(call include-path-for, audio-effects)
18
19LOCAL_SHARED_LIBRARIES := \
Dhananjay Kumara5d42b32017-01-11 21:22:16 +053020 liblog \
Eric Laurent73fb11d2013-04-09 11:24:13 -070021 libcutils
22
Vatsal Buchac09ae062018-11-14 13:25:08 +053023ifeq ($(strip $(AUDIO_FEATURE_ENABLED_GCOV)),true)
24LOCAL_CFLAGS += --coverage -fprofile-arcs -ftest-coverage
25LOCAL_CPPFLAGS += --coverage -fprofile-arcs -ftest-coverage
26LOCAL_STATIC_LIBRARIES += libprofile_rt
27endif
28
Eric Laurent73fb11d2013-04-09 11:24:13 -070029LOCAL_SHARED_LIBRARIES += libdl
30
Revathi Uddarajue8bd13c2018-04-02 21:27:54 +053031LOCAL_HEADER_LIBRARIES := libhardware_headers
Eric Laurent73fb11d2013-04-09 11:24:13 -070032LOCAL_CFLAGS += -fvisibility=hidden
33
Soumil Shah196157e2018-01-22 17:39:48 -080034LOCAL_CFLAGS += -Wno-unused-variable
35LOCAL_CFLAGS += -Wno-sign-compare
36LOCAL_CFLAGS += -Wno-unused-parameter
37LOCAL_CFLAGS += -Wno-unused-label
38LOCAL_CFLAGS += -Wno-gnu-designator
39LOCAL_CFLAGS += -Wno-typedef-redefinition
40LOCAL_CFLAGS += -Wno-shorten-64-to-32
41LOCAL_CFLAGS += -Wno-tautological-compare
42LOCAL_CFLAGS += -Wno-unused-function
43LOCAL_CFLAGS += -Wno-unused-local-typedef
44
Eric Laurent73fb11d2013-04-09 11:24:13 -070045include $(BUILD_SHARED_LIBRARY)