1LOCAL_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 \ 11 12audio_policy_engine_includes_common := \ 13 $(LOCAL_PATH)/include \ 14 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 frameworks/av/services/audiopolicy/common/include 31 32LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) 33 34LOCAL_MODULE := libaudiopolicyenginedefault 35LOCAL_MODULE_TAGS := optional 36 37LOCAL_STATIC_LIBRARIES := \ 38 libaudiopolicycomponents \ 39 40LOCAL_SHARED_LIBRARIES += \ 41 liblog \ 42 libcutils \ 43 libutils \ 44 libmedia_helper 45 46include $(BUILD_SHARED_LIBRARY) 47