blob: 5a5a5a17a0e2192f8a0f4890aaf3ad05d10b8523 (
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
|
# Copyright 2011 The Android Open Source Project
#AUDIO_POLICY_TEST := true
#ENABLE_AUDIO_DUMP := true
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
AudioHardwareInterface.cpp \
audio_hw_hal.cpp
ifeq ($(BOARD_HAVE_BLUETOOTH),true)
LOCAL_CFLAGS += -DWITH_A2DP
endif
LOCAL_MODULE := libaudiohw_legacy
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_LIBRARIES := libmedia_helper
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
AudioPolicyManagerBase.cpp \
AudioPolicyCompatClient.cpp \
audio_policy_hal.cpp
ifeq ($(AUDIO_POLICY_TEST),true)
LOCAL_CFLAGS += -DAUDIO_POLICY_TEST
endif
ifeq ($(BOARD_HAVE_BLUETOOTH),true)
LOCAL_CFLAGS += -DWITH_A2DP
endif
LOCAL_STATIC_LIBRARIES := libmedia_helper
LOCAL_MODULE := libaudiopolicy_legacy
LOCAL_MODULE_TAGS := optional
include $(BUILD_STATIC_LIBRARY)
#ifeq ($(ENABLE_AUDIO_DUMP),true)
# LOCAL_SRC_FILES += AudioDumpInterface.cpp
# LOCAL_CFLAGS += -DENABLE_AUDIO_DUMP
#endif
#
#ifeq ($(strip $(BOARD_USES_GENERIC_AUDIO)),true)
# LOCAL_CFLAGS += -D GENERIC_AUDIO
#endif
#ifeq ($(BOARD_HAVE_BLUETOOTH),true)
# LOCAL_SRC_FILES += A2dpAudioInterface.cpp
# LOCAL_SHARED_LIBRARIES += liba2dp
# LOCAL_C_INCLUDES += $(call include-path-for, bluez)
#
# LOCAL_CFLAGS += \
# -DWITH_BLUETOOTH \
# -DWITH_A2DP
#endif
#
#include $(BUILD_SHARED_LIBRARY)
# AudioHardwareGeneric.cpp \
# AudioHardwareStub.cpp \
|