PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 1 | # |
Alexander Koskovich | ca6eecb | 2021-03-02 08:45:17 -0700 | [diff] [blame] | 2 | # Copyright 2020-2021 The LineageOS Project |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 3 | # |
| 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
| 19 | include $(CLEAR_VARS) |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 20 | |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 21 | LOCAL_MODULE := audio_amplifier.$(TARGET_BOARD_PLATFORM) |
| 22 | LOCAL_MODULE_RELATIVE_PATH := hw |
Alexander Koskovich | ca6eecb | 2021-03-02 08:45:17 -0700 | [diff] [blame] | 23 | LOCAL_SRC_FILES := audio_amplifier.c |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 24 | LOCAL_VENDOR_MODULE := true |
| 25 | |
Alexander Koskovich | ca6eecb | 2021-03-02 08:45:17 -0700 | [diff] [blame] | 26 | LOCAL_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 | |
| 34 | LOCAL_HEADER_LIBRARIES += \ |
| 35 | generated_kernel_headers \ |
| 36 | libhardware_headers |
| 37 | |
| 38 | LOCAL_SHARED_LIBRARIES += \ |
| 39 | audio.primary.$(TARGET_BOARD_PLATFORM) \ |
| 40 | libcutils \ |
| 41 | liblog \ |
| 42 | libtinyalsa |
| 43 | |
PIPIPIG233666 | 13549c9 | 2020-02-14 22:39:33 -0500 | [diff] [blame] | 44 | include $(BUILD_SHARED_LIBRARY) |