Skip to content

Commit

Permalink
manta: Include kernel headers while building audio
Browse files Browse the repository at this point in the history
Change-Id: I0a1b62b67064e2f5dc4cf5ce3ef1cae2e0b5b036
  • Loading branch information
Tortel committed Nov 27, 2016
1 parent ec9d506 commit e5b0264
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions audio/Android.mk
Expand Up @@ -20,13 +20,19 @@ LOCAL_MODULE := audio.primary.manta
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \
audio_hw.c

LOCAL_C_INCLUDES += \
$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
external/tinyalsa/include \
hardware/samsung_slsi/exynos5/include \
device/samsung/manta/bubblelevel \
device/samsung/manta/voicefx \
$(call include-path-for, audio-utils) \
$(call include-path-for, audio-route)

LOCAL_ADDITIONAL_DEPENDENCIES := \
$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr

LOCAL_CFLAGS := -Wno-unused-parameter
LOCAL_SHARED_LIBRARIES := liblog libcutils libtinyalsa libaudioutils libbubblelevel \
libaudience_voicefx libaudioroute
Expand Down
2 changes: 1 addition & 1 deletion audio/audio_hw.c
Expand Up @@ -32,7 +32,7 @@
#include <hardware/hardware.h>

#include <linux/videodev2.h>
#include <videodev2_exynos_media.h>
#include <linux/videodev2_exynos_media.h>

#include <system/audio.h>

Expand Down

0 comments on commit e5b0264

Please sign in to comment.