blob: dd5dc5228a6e166856ead2d00e6c5db7c9e27e72 [file] [log] [blame]
PIPIPIG23366613549c92020-02-14 22:39:33 -05001#
Michael Bestas4e1ba2f2024-05-12 06:38:39 +03002# SPDX-FileCopyrightText: 2020-2021 The LineageOS Project
3# SPDX-License-Identifier: Apache-2.0
PIPIPIG23366613549c92020-02-14 22:39:33 -05004#
5
6LOCAL_PATH := $(call my-dir)
7
8include $(CLEAR_VARS)
PIPIPIG23366613549c92020-02-14 22:39:33 -05009
PIPIPIG23366613549c92020-02-14 22:39:33 -050010LOCAL_MODULE := audio_amplifier.$(TARGET_BOARD_PLATFORM)
11LOCAL_MODULE_RELATIVE_PATH := hw
Alexander Koskovichca6eecb2021-03-02 08:45:17 -070012LOCAL_SRC_FILES := audio_amplifier.c
PIPIPIG23366613549c92020-02-14 22:39:33 -050013LOCAL_VENDOR_MODULE := true
14
Alexander Koskovichca6eecb2021-03-02 08:45:17 -070015LOCAL_C_INCLUDES += \
16 $(call include-path-for, audio-route) \
17 $(call include-path-for, audio-utils) \
18 $(call project-path-for, qcom-audio)/hal \
19 $(call project-path-for, qcom-audio)/hal/audio_extn \
20 $(call project-path-for, qcom-audio)/hal/msm8974 \
21 external/tinycompress/include
22
23LOCAL_HEADER_LIBRARIES += \
24 generated_kernel_headers \
25 libhardware_headers
26
27LOCAL_SHARED_LIBRARIES += \
28 audio.primary.$(TARGET_BOARD_PLATFORM) \
29 libcutils \
30 liblog \
31 libtinyalsa
32
PIPIPIG23366613549c92020-02-14 22:39:33 -050033include $(BUILD_SHARED_LIBRARY)