Bug: 130284799 Test: make Change-Id: I60d41eaa41564fecdeef6d4cb223a8367883db50 Signed-off-by: François Gaffie <francois.gaffie@renault.com>gugelfrei
parent
48601f013a
commit
962ba215fb
@ -0,0 +1,5 @@
|
||||
cc_library_headers {
|
||||
name: "libaudiopolicymanager_interface_headers",
|
||||
host_supported: true,
|
||||
export_include_dirs: ["."],
|
||||
}
|
@ -1,136 +0,0 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
service/AudioPolicyService.cpp \
|
||||
service/AudioPolicyEffects.cpp \
|
||||
service/AudioPolicyInterfaceImpl.cpp \
|
||||
service/AudioPolicyClientImpl.cpp
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
frameworks/av/services/audioflinger \
|
||||
$(call include-path-for, audio-utils) \
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libaudiopolicycommon \
|
||||
libaudiopolicyengine_interface_headers \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libutils \
|
||||
liblog \
|
||||
libbinder \
|
||||
libaudioclient \
|
||||
libhardware_legacy \
|
||||
libaudiopolicymanager \
|
||||
libmedia_helper \
|
||||
libmediametrics \
|
||||
libmediautils \
|
||||
libeffectsconfig \
|
||||
libsensorprivacy
|
||||
|
||||
LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := \
|
||||
libsensorprivacy
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libaudiopolicycomponents
|
||||
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
|
||||
LOCAL_MODULE:= libaudiopolicyservice
|
||||
|
||||
LOCAL_CFLAGS += -fvisibility=hidden
|
||||
LOCAL_CFLAGS += -Wall -Werror
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= managerdefault/AudioPolicyManager.cpp
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libutils \
|
||||
liblog \
|
||||
libaudiopolicy \
|
||||
libsoundtrigger
|
||||
|
||||
ifeq ($(USE_CONFIGURABLE_AUDIO_POLICY), 1)
|
||||
|
||||
ifneq ($(USE_XML_AUDIO_POLICY_CONF), 1)
|
||||
$(error Configurable policy does not support legacy conf file)
|
||||
endif #ifneq ($(USE_XML_AUDIO_POLICY_CONF), 1)
|
||||
|
||||
LOCAL_C_INCLUDES += frameworks/av/services/audiopolicy/engineconfigurable/include
|
||||
LOCAL_C_INCLUDES += frameworks/av/include
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += libaudiopolicyengineconfigurable
|
||||
|
||||
else
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += libaudiopolicyenginedefault
|
||||
|
||||
endif # ifeq ($(USE_CONFIGURABLE_AUDIO_POLICY), 1)
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
$(call include-path-for, audio-utils) \
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libaudiopolicycommon \
|
||||
libaudiopolicyengine_interface_headers
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libaudiopolicycomponents
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += libmedia_helper
|
||||
LOCAL_SHARED_LIBRARIES += libmediametrics
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += libbinder libhidlbase libxml2
|
||||
|
||||
ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)
|
||||
LOCAL_CFLAGS += -DUSE_XML_AUDIO_POLICY_CONF
|
||||
endif #ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)
|
||||
|
||||
LOCAL_CFLAGS += -Wall -Werror
|
||||
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
|
||||
LOCAL_MODULE:= libaudiopolicymanagerdefault
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
ifneq ($(USE_CUSTOM_AUDIO_POLICY), 1)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
manager/AudioPolicyFactory.cpp
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libaudiopolicymanagerdefault
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libaudiopolicycomponents
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
$(call include-path-for, audio-utils) \
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libaudiopolicycommon \
|
||||
libaudiopolicyengine_interface_headers
|
||||
|
||||
LOCAL_CFLAGS := -Wall -Werror
|
||||
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
|
||||
LOCAL_MODULE:= libaudiopolicymanager
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif
|
||||
|
||||
#######################################################################
|
||||
# Recursive call sub-folder Android.mk
|
||||
#
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
@ -1,9 +0,0 @@
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
#######################################################################
|
||||
# Recursive call sub-folder Android.mk
|
||||
#
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
@ -0,0 +1,44 @@
|
||||
cc_library_headers {
|
||||
name: "libaudiopolicyengineconfigurable_interface_headers",
|
||||
host_supported: true,
|
||||
export_include_dirs: ["interface"],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libaudiopolicyengineconfigurable",
|
||||
export_include_dirs: ["include"],
|
||||
srcs: [
|
||||
"src/Engine.cpp",
|
||||
"src/EngineInstance.cpp",
|
||||
"src/Stream.cpp",
|
||||
"src/InputSource.cpp",
|
||||
],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wextra",
|
||||
],
|
||||
local_include_dirs: ["include"],
|
||||
header_libs: [
|
||||
"libbase_headers",
|
||||
"libaudiopolicycommon",
|
||||
"libaudiopolicyengine_interface_headers",
|
||||
"libaudiopolicyengineconfigurable_interface_headers",
|
||||
],
|
||||
static_libs: [
|
||||
"libaudiopolicycomponents",
|
||||
"libaudiopolicyengine_common",
|
||||
"libaudiopolicyengine_config",
|
||||
"libaudiopolicyengineconfigurable_pfwwrapper",
|
||||
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libmedia_helper",
|
||||
"libaudiopolicy",
|
||||
"libparameter",
|
||||
"libxml2",
|
||||
],
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
ifeq ($(USE_CONFIGURABLE_AUDIO_POLICY), 1)
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
# Component build
|
||||
#######################################################################
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
src/Engine.cpp \
|
||||
src/EngineInstance.cpp \
|
||||
src/Stream.cpp \
|
||||
src/InputSource.cpp \
|
||||
|
||||
audio_policy_engine_includes_common := \
|
||||
frameworks/av/services/audiopolicy/engineconfigurable/include \
|
||||
frameworks/av/services/audiopolicy/engineconfigurable/interface
|
||||
|
||||
LOCAL_CFLAGS += \
|
||||
-Wall \
|
||||
-Werror \
|
||||
-Wextra \
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := \
|
||||
$(audio_policy_engine_includes_common)
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(audio_policy_engine_includes_common) \
|
||||
$(TARGET_OUT_HEADERS)/hw \
|
||||
$(call include-path-for, frameworks-av) \
|
||||
$(call include-path-for, audio-utils)
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libaudiopolicycommon \
|
||||
libaudiopolicyengine_interface_headers
|
||||
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
|
||||
LOCAL_MODULE := libaudiopolicyengineconfigurable
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libaudiopolicypfwwrapper \
|
||||
libaudiopolicycomponents \
|
||||
libaudiopolicyengine_common \
|
||||
libaudiopolicyengine_config \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
liblog \
|
||||
libutils \
|
||||
liblog \
|
||||
libcutils \
|
||||
libaudioutils \
|
||||
libparameter \
|
||||
libmedia_helper \
|
||||
libaudiopolicy \
|
||||
libxml2
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
#######################################################################
|
||||
# Recursive call sub-folder Android.mk
|
||||
#
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
endif
|
@ -1,9 +0,0 @@
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
#######################################################################
|
||||
# Recursive call sub-folder Android.mk
|
||||
#
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
@ -1,7 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
#######################################################################
|
||||
# Recursive call sub-folder Android.mk
|
||||
#######################################################################
|
||||
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
@ -0,0 +1,36 @@
|
||||
cc_library_shared {
|
||||
name: "libpolicy-subsystem",
|
||||
srcs: [
|
||||
"PolicySubsystemBuilder.cpp",
|
||||
"PolicySubsystem.cpp",
|
||||
"InputSource.cpp",
|
||||
"Stream.cpp",
|
||||
"ProductStrategy.cpp",
|
||||
],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wextra",
|
||||
"-fvisibility-inlines-hidden",
|
||||
"-fvisibility=hidden",
|
||||
],
|
||||
header_libs: [
|
||||
"libbase_headers",
|
||||
"libaudiopolicycommon",
|
||||
"libaudioclient_headers",
|
||||
"libaudiopolicyengine_interface_headers",
|
||||
"libaudiopolicyengineconfigurable_interface_headers",
|
||||
],
|
||||
static_libs: [
|
||||
"libaudiopolicycomponents",
|
||||
"libaudiopolicyengine_common",
|
||||
"libpfw_utility",
|
||||
],
|
||||
shared_libs: [
|
||||
"libaudiopolicyengineconfigurable",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libmedia_helper",
|
||||
"libparameter"
|
||||
],
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_SRC_FILES := \
|
||||
PolicySubsystemBuilder.cpp \
|
||||
PolicySubsystem.cpp \
|
||||
InputSource.cpp \
|
||||
Stream.cpp \
|
||||
ProductStrategy.cpp
|
||||
|
||||
LOCAL_CFLAGS += \
|
||||
-Wall \
|
||||
-Werror \
|
||||
-Wextra \
|
||||
-fvisibility-inlines-hidden \
|
||||
-fvisibility=hidden
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
frameworks/av/services/audiopolicy/engineconfigurable/include \
|
||||
frameworks/av/services/audiopolicy/engineconfigurable/interface
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libaudiopolicyengineconfigurable \
|
||||
libparameter \
|
||||
libmedia_helper \
|
||||
liblog \
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libaudiopolicycommon \
|
||||
libaudioclient_headers \
|
||||
libbase_headers
|
||||
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libpfw_utility \
|
||||
libaudiopolicycomponents
|
||||
|
||||
LOCAL_MODULE := libpolicy-subsystem
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
@ -0,0 +1,21 @@
|
||||
cc_library {
|
||||
name: "libaudiopolicyengineconfigurable_pfwwrapper",
|
||||
export_include_dirs: ["include"],
|
||||
srcs: ["ParameterManagerWrapper.cpp"],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wextra",
|
||||
],
|
||||
header_libs: [
|
||||
"libbase_headers",
|
||||
"libaudiopolicycommon",
|
||||
],
|
||||
static_libs: ["libaudiopolicycomponents"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libmedia_helper",
|
||||
"libparameter",
|
||||
],
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
##################################################################
|
||||
# WRAPPER LIBRARY
|
||||
##################################################################
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/include \
|
||||
frameworks/av/services/audiopolicy/engineconfigurable/include \
|
||||
frameworks/av/services/audiopolicy/engineconfigurable/interface \
|
||||
external/libxml2/include \
|
||||
external/icu/icu4c/source/common
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
ParameterManagerWrapper.cpp
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libparameter \
|
||||
libmedia_helper \
|
||||
libxml2
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libaudiopolicycommon
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libaudiopolicycomponents
|
||||
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
|
||||
LOCAL_MODULE:= libaudiopolicypfwwrapper
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CFLAGS := -Wall -Werror -Wextra
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
@ -1,9 +0,0 @@
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
#######################################################################
|
||||
# Recursive call sub-folder Android.mk
|
||||
#
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
@ -0,0 +1,32 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
ifneq ($(USE_CUSTOM_AUDIO_POLICY), 1)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
AudioPolicyFactory.cpp
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libaudiopolicymanagerdefault
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libaudiopolicycomponents
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
$(call include-path-for, audio-utils)
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libaudiopolicycommon \
|
||||
libaudiopolicyengine_interface_headers \
|
||||
libaudiopolicymanager_interface_headers
|
||||
|
||||
LOCAL_CFLAGS := -Wall -Werror
|
||||
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
|
||||
LOCAL_MODULE:= libaudiopolicymanager
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif #ifneq ($(USE_CUSTOM_AUDIO_POLICY), 1)
|
@ -0,0 +1,56 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= AudioPolicyManager.cpp
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libutils \
|
||||
liblog \
|
||||
libaudiopolicy \
|
||||
libsoundtrigger
|
||||
|
||||
ifeq ($(USE_CONFIGURABLE_AUDIO_POLICY), 1)
|
||||
|
||||
ifneq ($(USE_XML_AUDIO_POLICY_CONF), 1)
|
||||
$(error Configurable policy does not support legacy conf file)
|
||||
endif #ifneq ($(USE_XML_AUDIO_POLICY_CONF), 1)
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += libaudiopolicyengineconfigurable
|
||||
|
||||
else
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += libaudiopolicyenginedefault
|
||||
|
||||
endif # ifeq ($(USE_CONFIGURABLE_AUDIO_POLICY), 1)
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
$(call include-path-for, audio-utils)
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libaudiopolicycommon \
|
||||
libaudiopolicyengine_interface_headers \
|
||||
libaudiopolicymanager_interface_headers
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libaudiopolicycomponents
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += libmedia_helper
|
||||
LOCAL_SHARED_LIBRARIES += libmediametrics
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += libbinder libhidlbase libxml2
|
||||
|
||||
ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)
|
||||
LOCAL_CFLAGS += -DUSE_XML_AUDIO_POLICY_CONF
|
||||
endif #ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)
|
||||
|
||||
LOCAL_CFLAGS += -Wall -Werror
|
||||
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
|
||||
LOCAL_MODULE:= libaudiopolicymanagerdefault
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
@ -0,0 +1,49 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
AudioPolicyService.cpp \
|
||||
AudioPolicyEffects.cpp \
|
||||
AudioPolicyInterfaceImpl.cpp \
|
||||
AudioPolicyClientImpl.cpp
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
frameworks/av/services/audioflinger \
|
||||
$(call include-path-for, audio-utils)
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libaudiopolicycommon \
|
||||
libaudiopolicyengine_interface_headers \
|
||||
libaudiopolicymanager_interface_headers
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libutils \
|
||||
liblog \
|
||||
libbinder \
|
||||
libaudioclient \
|
||||
libaudioutils \
|
||||
libhardware_legacy \
|
||||
libaudiopolicymanager \
|
||||
libmedia_helper \
|
||||
libmediametrics \
|
||||
libmediautils \
|
||||
libeffectsconfig \
|
||||
libsensorprivacy
|
||||
|
||||
LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := \
|
||||
libsensorprivacy
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libaudiopolicycomponents
|
||||
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
|
||||
LOCAL_MODULE:= libaudiopolicyservice
|
||||
|
||||
LOCAL_CFLAGS += -fvisibility=hidden
|
||||
LOCAL_CFLAGS += -Wall -Werror
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
Loading…
Reference in new issue