Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98cc1912 authored by François Gaffie's avatar François Gaffie Committed by Jean-Michel Trivi
Browse files

Split ManagerDefault into Manager and ManagerDefinitions



This patch splits the managerdefault into a manager and a manager
defintion library that contains all pillar elements of a policy manager.

It renames the file with the name of the main class they contains.

It splits the AudioPort into AudioPort and AudioPatch.

Change-Id: I992cf0b8aed895805cc003ba0980d2c9e92c985b
Signed-off-by: default avatarFrançois Gaffie <francois.gaffie@intel.com>
parent ad3183e2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ LOCAL_C_INCLUDES := \
    frameworks/av/services/medialog \
    frameworks/av/services/audioflinger \
    frameworks/av/services/audiopolicy \
    frameworks/av/services/audiopolicy/common/managerdefinitions/include \
    frameworks/av/services/camera/libcameraservice \
    frameworks/av/services/mediaresourcemanager \
    $(call include-path-for, audio-utils) \
+13 −10
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ else
LOCAL_SRC_FILES += \
    service/AudioPolicyInterfaceImpl.cpp \
    service/AudioPolicyClientImpl.cpp

endif

LOCAL_C_INCLUDES := \
@@ -39,7 +40,8 @@ LOCAL_SHARED_LIBRARIES += \
endif

LOCAL_STATIC_LIBRARIES := \
    libmedia_helper
    libmedia_helper \
    libaudiopolicycomponents

LOCAL_MODULE:= libaudiopolicyservice

@@ -54,14 +56,6 @@ include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
    managerdefault/AudioPolicyManager.cpp \
    managerdefault/ConfigParsingUtils.cpp \
    managerdefault/Devices.cpp \
    managerdefault/Gains.cpp \
    managerdefault/HwModule.cpp \
    managerdefault/IOProfile.cpp \
    managerdefault/Ports.cpp \
    managerdefault/AudioInputDescriptor.cpp \
    managerdefault/AudioOutputDescriptor.cpp

LOCAL_SHARED_LIBRARIES := \
    libcutils \
@@ -70,7 +64,8 @@ LOCAL_SHARED_LIBRARIES := \
    libsoundtrigger

LOCAL_STATIC_LIBRARIES := \
    libmedia_helper
    libmedia_helper \
    libaudiopolicycomponents

LOCAL_MODULE:= libaudiopolicymanagerdefault

@@ -86,9 +81,17 @@ LOCAL_SRC_FILES:= \
LOCAL_SHARED_LIBRARIES := \
    libaudiopolicymanagerdefault

LOCAL_STATIC_LIBRARIES := \
    libaudiopolicycomponents

LOCAL_MODULE:= libaudiopolicymanager

include $(BUILD_SHARED_LIBRARY)

endif
endif

#######################################################################
# Recursive call sub-folder Android.mk
#
include $(call all-makefiles-under,$(LOCAL_PATH))
+9 −0
Original line number Diff line number Diff line

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

#######################################################################
# Recursive call sub-folder Android.mk
#
include $(call all-makefiles-under,$(LOCAL_PATH))
+29 −0
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
    src/DeviceDescriptor.cpp \
    src/AudioGain.cpp \
    src/HwModule.cpp \
    src/IOProfile.cpp \
    src/AudioPort.cpp \
    src/AudioPatch.cpp \
    src/AudioInputDescriptor.cpp \
    src/AudioOutputDescriptor.cpp \
    src/ConfigParsingUtils.cpp \

LOCAL_SHARED_LIBRARIES := \
    libcutils \
    libutils \
    liblog \

LOCAL_C_INCLUDES += \
    $(LOCAL_PATH)/include \

LOCAL_EXPORT_C_INCLUDE_DIRS := \
    $(LOCAL_PATH)/include

LOCAL_MODULE := libaudiopolicycomponents

include $(BUILD_STATIC_LIBRARY)
Loading