| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | # Component build |
| 4 | ####################################################################### |
| 5 | |
| 6 | include $(CLEAR_VARS) |
| 7 | |
| 8 | LOCAL_SRC_FILES := \ |
| 9 | src/Engine.cpp \ |
| 10 | src/EngineInstance.cpp \ |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 11 | |
| 12 | audio_policy_engine_includes_common := \ |
| 13 | $(LOCAL_PATH)/include \ |
| 14 | $(TOPDIR)frameworks/av/services/audiopolicy/engine/interface |
| 15 | |
| 16 | LOCAL_CFLAGS += \ |
| 17 | -Wall \ |
| 18 | -Werror \ |
| 19 | -Wextra \ |
| 20 | |
| 21 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 22 | $(audio_policy_engine_includes_common) |
| 23 | |
| 24 | LOCAL_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 Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 32 | LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 33 | |
| 34 | LOCAL_MODULE := libaudiopolicyenginedefault |
| 35 | LOCAL_MODULE_TAGS := optional |
| François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame] | 36 | |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 37 | LOCAL_STATIC_LIBRARIES := \ |
| François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame] | 38 | libaudiopolicycomponents \ |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 39 | |
| 40 | LOCAL_SHARED_LIBRARIES += \ |
| Dimitry Ivanov | d1a9f49 | 2016-02-12 16:19:48 -0800 | [diff] [blame] | 41 | liblog \ |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 42 | libcutils \ |
| 43 | libutils \ |
| Jaekyun Seok | 08dab5a | 2016-12-07 15:08:17 +0900 | [diff] [blame] | 44 | libmedia_helper |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 45 | |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 46 | include $(BUILD_SHARED_LIBRARY) |