blob: 7f6be56c5b3cb1d10a6f4e04d601a6d6b71f1ca9 [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
Venkataraman Nerellapallib8689ec2017-05-04 11:55:29 +053024ifneq ($(filter sdm660 sdm845 msm8998 apq8098_latv,$(TARGET_BOARD_PLATFORM)),)
Weiyin Jiang2d955482017-04-12 19:06:32 +080025 LOCAL_CFLAGS += -DCAPTURE_DEVICE=7
Garmond Leung6406e9d2016-08-23 16:31:03 -070026endif
27
Eric Laurentc4aef752013-09-12 17:45:53 -070028LOCAL_SHARED_LIBRARIES := \
29 libcutils \
30 liblog \
Ravi Kumar Alamanda518bcbb2014-11-14 16:51:10 -080031 libdl \
Eric Laurentc4aef752013-09-12 17:45:53 -070032 libtinyalsa
33
Apoorv Raghuvanshi1b555f72014-05-29 12:48:15 -070034LOCAL_MODULE_RELATIVE_PATH := soundfx
Eric Laurentc4aef752013-09-12 17:45:53 -070035LOCAL_MODULE:= libqcomvisualizer
Naresh Tannirucab4a7d2017-06-05 21:05:53 +053036LOCAL_MODULE_OWNER := qti
37LOCAL_PROPRIETARY_MODULE := true
Eric Laurentc4aef752013-09-12 17:45:53 -070038
39LOCAL_C_INCLUDES := \
40 external/tinyalsa/include \
41 $(call include-path-for, audio-effects)
42
43include $(BUILD_SHARED_LIBRARY)