blob: 063374b1b15770ab2bada51f08a17dbcf27855f0 (
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
|
ifneq ($(TARGET_PROVIDES_LIBAUDIO),true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
AudioHardware.cpp
LOCAL_MODULE := audio.primary.aries
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_STATIC_LIBRARIES:= libmedia_helper
LOCAL_SHARED_LIBRARIES:= \
libutils \
libhardware_legacy \
libtinyalsa \
libaudioutils
LOCAL_WHOLE_STATIC_LIBRARIES := libaudiohw_legacy
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES += libdl
LOCAL_C_INCLUDES += \
external/tinyalsa/include \
$(call include-path-for, audio-effects) \
$(call include-path-for, audio-utils)
ifeq ($(BOARD_USES_FROYO_RILCLIENT),true)
LOCAL_CFLAGS += -DUSES_FROYO_RILCLIENT
endif
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := AudioPolicyManager.cpp
LOCAL_SHARED_LIBRARIES := libcutils libutils
LOCAL_STATIC_LIBRARIES := libmedia_helper
LOCAL_WHOLE_STATIC_LIBRARIES := libaudiopolicy_legacy
LOCAL_MODULE := audio_policy.aries
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_TAGS := optional
ifeq ($(BOARD_HAVE_FM_RADIO),true)
LOCAL_CFLAGS += -DHAVE_FM_RADIO
endif
include $(BUILD_SHARED_LIBRARY)
endif
|