| ifneq ($(USE_LEGACY_AUDIO_POLICY), 1) |
| ifeq ($(USE_CUSTOM_AUDIO_POLICY), 1) |
| LOCAL_PATH := $(call my-dir) |
| include $(CLEAR_VARS) |
| |
| LOCAL_SRC_FILES := AudioPolicyManager.cpp |
| |
| LOCAL_C_INCLUDES := $(TOPDIR)frameworks/av/services \ |
| $(TOPDIR)frameworks/av/services/audioflinger \ |
| $(call include-path-for, audio-effects) \ |
| $(call include-path-for, audio-utils) \ |
| $(TOPDIR)frameworks/av/services/audiopolicy/common/include \ |
| $(TOPDIR)frameworks/av/services/audiopolicy/engine/interface \ |
| $(TOPDIR)frameworks/av/services/audiopolicy \ |
| $(TOPDIR)frameworks/av/services/audiopolicy/common/managerdefinitions/include \ |
| $(call include-path-for, avextension) |
| |
| |
| LOCAL_SHARED_LIBRARIES := \ |
| libcutils \ |
| libutils \ |
| liblog \ |
| libsoundtrigger \ |
| libaudiopolicymanagerdefault \ |
| libserviceutility |
| |
| LOCAL_STATIC_LIBRARIES := \ |
| libmedia_helper \ |
| |
| LOCAL_MODULE := libaudiopolicymanager |
| |
| include $(BUILD_SHARED_LIBRARY) |
| |
| endif |
| endif |