blob: c9795ea36dad7f4d5f5b07fd9bf8c2c95a1274a8 [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
Garmond Leung6406e9d2016-08-23 16:31:03 -070024ifneq ($(filter msmcobalt,$(TARGET_BOARD_PLATFORM)),)
25 LOCAL_CFLAGS += -DPLATFORM_MSMCOBALT
26endif
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
36
37LOCAL_C_INCLUDES := \
38 external/tinyalsa/include \
39 $(call include-path-for, audio-effects)
40
41include $(BUILD_SHARED_LIBRARY)