blob: 85d1822b44a51521e21205c668856af56eb782a3 [file] [log] [blame]
François Gaffie2110e042015-03-24 08:41:51 +01001LOCAL_PATH := $(call my-dir)
2
3# Component build
4#######################################################################
5
6include $(CLEAR_VARS)
7
8LOCAL_SRC_FILES := \
9 src/Engine.cpp \
10 src/EngineInstance.cpp \
François Gaffie2110e042015-03-24 08:41:51 +010011
12audio_policy_engine_includes_common := \
13 $(LOCAL_PATH)/include \
14 $(TOPDIR)frameworks/av/services/audiopolicy/engine/interface
15
16LOCAL_CFLAGS += \
17 -Wall \
18 -Werror \
19 -Wextra \
20
21LOCAL_EXPORT_C_INCLUDE_DIRS := \
22 $(audio_policy_engine_includes_common)
23
24LOCAL_C_INCLUDES := \
25 $(audio_policy_engine_includes_common) \
26 $(TARGET_OUT_HEADERS)/hw \
27 $(call include-path-for, frameworks-av) \
28 $(call include-path-for, audio-utils) \
29 $(call include-path-for, bionic) \
30 $(TOPDIR)frameworks/av/services/audiopolicy/common/include
31
Andy Hung8fa26972016-03-03 13:19:27 -080032LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
François Gaffie2110e042015-03-24 08:41:51 +010033
34LOCAL_MODULE := libaudiopolicyenginedefault
35LOCAL_MODULE_TAGS := optional
François Gaffief4ad6e52015-11-19 16:59:57 +010036
François Gaffie2110e042015-03-24 08:41:51 +010037LOCAL_STATIC_LIBRARIES := \
38 libmedia_helper \
François Gaffief4ad6e52015-11-19 16:59:57 +010039 libaudiopolicycomponents \
François Gaffied1ab2bd2015-12-02 18:20:06 +010040 libxml2
François Gaffie2110e042015-03-24 08:41:51 +010041
42LOCAL_SHARED_LIBRARIES += \
43 libcutils \
44 libutils \
45 libaudioutils \
46
François Gaffie2110e042015-03-24 08:41:51 +010047include $(BUILD_SHARED_LIBRARY)