FP4: amplifier: Clean up makefile

Change-Id: I416005aec3e4b6a686079d7e4796e5b548ee0e9f
diff --git a/audio_amplifier/Android.mk b/audio_amplifier/Android.mk
index fa8a8b5..c669344 100644
--- a/audio_amplifier/Android.mk
+++ b/audio_amplifier/Android.mk
@@ -1,5 +1,5 @@
 #
-# Copyright 2020 The LineageOS Project
+# Copyright 2020-2021 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -17,38 +17,28 @@
 LOCAL_PATH := $(call my-dir)
 
 include $(CLEAR_VARS)
-LOCAL_SHARED_LIBRARIES := \
-    libbase \
-    liblog \
-    libcutils \
-    libtinyalsa \
-    libtinycompress \
-    libaudioroute \
-    libdl \
-    libaudioutils \
-    libhwbinder \
-    libhidlbase \
-    libprocessgroup \
-    libutils \
-    audio.primary.$(TARGET_BOARD_PLATFORM)
 
-LOCAL_C_INCLUDES += \
-    external/tinyalsa/include \
-    external/tinycompress/include \
-    hardware/libhardware/include \
-    system/media/audio_utils/include \
-    $(call include-path-for, audio-effects) \
-    $(call include-path-for, audio-route) \
-    $(call project-path-for,qcom-audio)/hal \
-    $(call project-path-for,qcom-audio)/hal/msm8974 \
-    $(call project-path-for,qcom-audio)/hal/audio_extn \
-    $(call project-path-for,qcom-audio)/hal/voice_extn
-
-LOCAL_HEADER_LIBRARIES := generated_kernel_headers
-LOCAL_SRC_FILES := audio_amplifier.c
 LOCAL_MODULE := audio_amplifier.$(TARGET_BOARD_PLATFORM)
 LOCAL_MODULE_RELATIVE_PATH := hw
-LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES := audio_amplifier.c
 LOCAL_VENDOR_MODULE := true
 
+LOCAL_C_INCLUDES += \
+    $(call include-path-for, audio-route) \
+    $(call include-path-for, audio-utils) \
+    $(call project-path-for, qcom-audio)/hal \
+    $(call project-path-for, qcom-audio)/hal/audio_extn \
+    $(call project-path-for, qcom-audio)/hal/msm8974 \
+    external/tinycompress/include
+
+LOCAL_HEADER_LIBRARIES += \
+    generated_kernel_headers \
+    libhardware_headers
+
+LOCAL_SHARED_LIBRARIES += \
+    audio.primary.$(TARGET_BOARD_PLATFORM) \
+    libcutils \
+    liblog \
+    libtinyalsa
+
 include $(BUILD_SHARED_LIBRARY)