blob: c7bb82b2b315de2b935d9ca8139c4198a02ff4b5 [file] [log] [blame]
Eric Laurentc4aef752013-09-12 17:45:53 -07001# Copyright 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_SRC_FILES:= \
20 offload_visualizer.c
21
22LOCAL_CFLAGS+= -O2 -fvisibility=hidden
23
Abhishek Arpurea4930482018-01-31 21:29:03 +053024LOCAL_CFLAGS += -Wno-unused-variable -Wno-unused-parameter -Wno-gnu-designator -Wno-unused-value -Wno-typedef-redefinition
25
Eric Laurentc4aef752013-09-12 17:45:53 -070026LOCAL_SHARED_LIBRARIES := \
27 libcutils \
28 liblog \
Ravi Kumar Alamanda518bcbb2014-11-14 16:51:10 -080029 libdl \
Eric Laurentc4aef752013-09-12 17:45:53 -070030 libtinyalsa
31
Chih-Hung Hsiehf5aa4b12017-11-06 11:39:27 -080032LOCAL_CFLAGS += \
33 -Wall \
34 -Werror \
35 -Wno-unused-variable \
36
Apoorv Raghuvanshi1b555f72014-05-29 12:48:15 -070037LOCAL_MODULE_RELATIVE_PATH := soundfx
Eric Laurentc4aef752013-09-12 17:45:53 -070038LOCAL_MODULE:= libqcomvisualizer
Naresh Tannirua68b3d92017-06-05 21:05:53 +053039LOCAL_VENDOR_MODULE := true
Eric Laurentc4aef752013-09-12 17:45:53 -070040
41LOCAL_C_INCLUDES := \
42 external/tinyalsa/include \
43 $(call include-path-for, audio-effects)
44
45include $(BUILD_SHARED_LIBRARY)