blob: d0c57671a7801bfec2753c39022da910fde2ddfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
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
|