LOCAL_PATH:= $(call my-dir) alsaucm_dir := $(TARGET_OUT)/share/alsa/ucm pulseconf_dir := $(TARGET_OUT)/etc/pulse # PulseAudio config files include $(CLEAR_VARS) LOCAL_MODULE := daemon.conf LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_TAGS := eng debug LOCAL_MODULE_PATH := $(pulseconf_dir) LOCAL_SRC_FILES := pulseaudio/daemon.conf include $(BUILD_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE := system.pa LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_TAGS := eng debug LOCAL_MODULE_PATH := $(pulseconf_dir) LOCAL_SRC_FILES := pulseaudio/system.pa include $(BUILD_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE := start-pulseaudio-android LOCAL_MODULE_CLASS := EXECUTABLES LOCAL_MODULE_TAGS := eng debug LOCAL_SRC_FILES := pulseaudio/start-pulseaudio-android include $(BUILD_PREBUILT) # ALSA config files ifneq ($(filter tuna,$(TARGET_DEVICE)),) alsa_device := Tuna include $(CLEAR_VARS) LOCAL_MODULE := HiFi LOCAL_MODULE_CLASS := DATA LOCAL_MODULE_TAGS := eng debug LOCAL_MODULE_PATH := $(alsaucm_dir)/$(alsa_device) LOCAL_SRC_FILES := alsa/ucm/Tuna/HiFi include $(BUILD_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE := VoiceCall LOCAL_MODULE_CLASS := DATA LOCAL_MODULE_TAGS := eng debug LOCAL_MODULE_PATH := $(alsaucm_dir)/$(alsa_device) LOCAL_SRC_FILES := alsa/ucm/Tuna/VoiceCall include $(BUILD_PREBUILT) endif # tuna ifneq ($(filter mako,$(TARGET_DEVICE)),) alsa_device := apq8064-tabla-snd-card include $(CLEAR_VARS) LOCAL_MODULE := HiFi LOCAL_MODULE_CLASS := DATA LOCAL_MODULE_TAGS := eng debug LOCAL_MODULE_PATH := $(alsaucm_dir)/$(alsa_device) LOCAL_SRC_FILES := alsa/ucm/apq8064-tabla-snd-card/HiFi include $(BUILD_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE := VoiceCall LOCAL_MODULE_CLASS := DATA LOCAL_MODULE_TAGS := eng debug LOCAL_MODULE_PATH := $(alsaucm_dir)/$(alsa_device) LOCAL_SRC_FILES := alsa/ucm/apq8064-tabla-snd-card/VoiceCall include $(BUILD_PREBUILT) endif # mako ifneq ($(filter falcon,$(TARGET_DEVICE)),) alsa_device := msm8226-tapan9302-snd-card include $(CLEAR_VARS) LOCAL_MODULE := HiFi LOCAL_MODULE_CLASS := DATA LOCAL_MODULE_TAGS := eng debug LOCAL_MODULE_PATH := $(alsaucm_dir)/$(alsa_device) LOCAL_SRC_FILES := alsa/ucm/msm8226-tapan9302-snd-card/HiFi include $(BUILD_PREBUILT) endif # falcon # common UCM config file ifneq ($(alsa_device),) include $(CLEAR_VARS) LOCAL_MODULE := $(alsa_device).conf LOCAL_MODULE_CLASS := DATA LOCAL_MODULE_TAGS := eng debug LOCAL_MODULE_PATH := $(alsaucm_dir)/$(alsa_device) LOCAL_SRC_FILES := alsa/ucm/$(alsa_device)/$(alsa_device).conf include $(BUILD_PREBUILT) endif