blob: c66934436574bc168bb946fb63daa06093731abf [file] [log] [blame]
PIPIPIG23366613549c92020-02-14 22:39:33 -05001#
Alexander Koskovichca6eecb2021-03-02 08:45:17 -07002# Copyright 2020-2021 The LineageOS Project
PIPIPIG23366613549c92020-02-14 22:39:33 -05003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
PIPIPIG23366613549c92020-02-14 22:39:33 -050020
PIPIPIG23366613549c92020-02-14 22:39:33 -050021LOCAL_MODULE := audio_amplifier.$(TARGET_BOARD_PLATFORM)
22LOCAL_MODULE_RELATIVE_PATH := hw
Alexander Koskovichca6eecb2021-03-02 08:45:17 -070023LOCAL_SRC_FILES := audio_amplifier.c
PIPIPIG23366613549c92020-02-14 22:39:33 -050024LOCAL_VENDOR_MODULE := true
25
Alexander Koskovichca6eecb2021-03-02 08:45:17 -070026LOCAL_C_INCLUDES += \
27 $(call include-path-for, audio-route) \
28 $(call include-path-for, audio-utils) \
29 $(call project-path-for, qcom-audio)/hal \
30 $(call project-path-for, qcom-audio)/hal/audio_extn \
31 $(call project-path-for, qcom-audio)/hal/msm8974 \
32 external/tinycompress/include
33
34LOCAL_HEADER_LIBRARIES += \
35 generated_kernel_headers \
36 libhardware_headers
37
38LOCAL_SHARED_LIBRARIES += \
39 audio.primary.$(TARGET_BOARD_PLATFORM) \
40 libcutils \
41 liblog \
42 libtinyalsa
43
PIPIPIG23366613549c92020-02-14 22:39:33 -050044include $(BUILD_SHARED_LIBRARY)