PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 1 | # |
Michael Bestas | 4e1ba2f | 2024-05-12 06:38:39 +0300 | [diff] [blame] | 2 | # SPDX-FileCopyrightText: 2020-2021 The LineageOS Project |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 4 | # |
| 5 | |
| 6 | LOCAL_PATH := $(call my-dir) |
| 7 | |
| 8 | include $(CLEAR_VARS) |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 9 | |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 10 | LOCAL_MODULE := audio_amplifier.$(TARGET_BOARD_PLATFORM) |
| 11 | LOCAL_MODULE_RELATIVE_PATH := hw |
Alexander Koskovich | ca6eecb | 2021-03-02 08:45:17 -0700 | [diff] [blame] | 12 | LOCAL_SRC_FILES := audio_amplifier.c |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 13 | LOCAL_VENDOR_MODULE := true |
| 14 | |
Alexander Koskovich | ca6eecb | 2021-03-02 08:45:17 -0700 | [diff] [blame] | 15 | LOCAL_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 | |
| 23 | LOCAL_HEADER_LIBRARIES += \ |
| 24 | generated_kernel_headers \ |
| 25 | libhardware_headers |
| 26 | |
| 27 | LOCAL_SHARED_LIBRARIES += \ |
| 28 | audio.primary.$(TARGET_BOARD_PLATFORM) \ |
| 29 | libcutils \ |
| 30 | liblog \ |
| 31 | libtinyalsa |
| 32 | |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 33 | include $(BUILD_SHARED_LIBRARY) |