1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4LOCAL_SRC_FILES:= \
5	AudioHardware.cpp
6
7LOCAL_MODULE := audio.primary.herring
8LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
9LOCAL_STATIC_LIBRARIES:= libmedia_helper
10LOCAL_SHARED_LIBRARIES:= \
11	libutils \
12	libhardware_legacy \
13	libtinyalsa \
14	libaudioutils
15
16LOCAL_WHOLE_STATIC_LIBRARIES := libaudiohw_legacy
17LOCAL_MODULE_TAGS := optional
18
19LOCAL_SHARED_LIBRARIES += libdl
20LOCAL_C_INCLUDES += \
21	external/tinyalsa/include \
22	$(call include-path-for, audio-effects) \
23	$(call include-path-for, audio-utils)
24
25include $(BUILD_SHARED_LIBRARY)
26
27include $(CLEAR_VARS)
28
29LOCAL_SRC_FILES := AudioPolicyManager.cpp
30LOCAL_SHARED_LIBRARIES := libcutils libutils
31LOCAL_STATIC_LIBRARIES := libmedia_helper
32LOCAL_WHOLE_STATIC_LIBRARIES := libaudiopolicy_legacy
33LOCAL_MODULE := audio_policy.herring
34LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
35LOCAL_MODULE_TAGS := optional
36
37include $(BUILD_SHARED_LIBRARY)
38