audio: Access header files through header libs

Access header files through header libs which are not accessed
directly.

Change-Id: Ia98e31fd43d56e9bb4786ee00de49961047808d4
diff --git a/post_proc/Android.mk b/post_proc/Android.mk
index b047245..778c330 100644
--- a/post_proc/Android.mk
+++ b/post_proc/Android.mk
@@ -45,6 +45,10 @@
     LOCAL_CFLAGS += -DDTS_EAGLE
 endif
 
+LOCAL_HEADER_LIBRARIES := libhardware_headers \
+                          libsystem_headers \
+                          libutils_headers
+
 LOCAL_SHARED_LIBRARIES := \
         libcutils \
         liblog \
@@ -66,7 +70,7 @@
         $(call include-path-for, audio-effects)
 
 ifneq ($(filter msmnile,$(TARGET_BOARD_PLATFORM)),)
-  LOCAL_HEADER_LIBRARIES := audio_kernel_headers
+  LOCAL_HEADER_LIBRARIES += audio_kernel_headers
 endif
 ifneq ($(filter sdm670 qcs605 msmnile,$(TARGET_BOARD_PLATFORM)),)
   LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include
@@ -100,6 +104,10 @@
 LOCAL_C_INCLUDES := \
     $(call include-path-for, audio-effects)
 
+LOCAL_HEADER_LIBRARIES := libhardware_headers \
+                          libsystem_headers \
+                          libutils_headers
+
 LOCAL_SHARED_LIBRARIES := \
     liblog \
     libeffects
@@ -148,6 +156,10 @@
 
 LOCAL_CFLAGS+= -O2 -fvisibility=hidden
 
+LOCAL_HEADER_LIBRARIES := libhardware_headers \
+                          libsystem_headers \
+                          libutils_headers
+
 LOCAL_SHARED_LIBRARIES := \
         libcutils \
         liblog \
@@ -170,7 +182,7 @@
         external/tinycompress/include
 
 ifneq ($(filter msmnile,$(TARGET_BOARD_PLATFORM)),)
-  LOCAL_HEADER_LIBRARIES := audio_kernel_headers
+  LOCAL_HEADER_LIBRARIES += audio_kernel_headers
 endif
 ifneq ($(filter sdm670 qcs605 msmnile,$(TARGET_BOARD_PLATFORM)),)
   LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include