| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 1 | ifeq ($(USE_CONFIGURABLE_AUDIO_POLICY), 1) |
| 2 | |
| 3 | LOCAL_PATH := $(call my-dir) |
| 4 | |
| 5 | # Component build |
| 6 | ####################################################################### |
| 7 | |
| 8 | include $(CLEAR_VARS) |
| 9 | |
| 10 | LOCAL_SRC_FILES := \ |
| 11 | src/Engine.cpp \ |
| 12 | src/EngineInstance.cpp \ |
| 13 | src/Stream.cpp \ |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 14 | src/InputSource.cpp \ |
| François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame] | 15 | ../engine/common/src/ProductStrategy.cpp \ |
| 16 | ../engine/common/src/EngineBase.cpp |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 17 | |
| 18 | audio_policy_engine_includes_common := \ |
| YOUNG HO CHA | 2ee7aab | 2017-05-25 23:16:51 +0900 | [diff] [blame] | 19 | frameworks/av/services/audiopolicy/engineconfigurable/include \ |
| François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame] | 20 | frameworks/av/services/audiopolicy/engineconfigurable/interface |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 21 | |
| 22 | LOCAL_CFLAGS += \ |
| 23 | -Wall \ |
| 24 | -Werror \ |
| 25 | -Wextra \ |
| 26 | |
| 27 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 28 | $(audio_policy_engine_includes_common) |
| 29 | |
| 30 | LOCAL_C_INCLUDES := \ |
| 31 | $(audio_policy_engine_includes_common) \ |
| 32 | $(TARGET_OUT_HEADERS)/hw \ |
| 33 | $(call include-path-for, frameworks-av) \ |
| François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame] | 34 | $(call include-path-for, audio-utils) |
| 35 | |
| 36 | LOCAL_HEADER_LIBRARIES := \ |
| 37 | libaudiopolicycommon \ |
| 38 | libaudiopolicyengine_common_headers \ |
| 39 | libaudiopolicyengine_interface_headers |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 40 | |
| Andy Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 41 | LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 42 | |
| 43 | LOCAL_MODULE := libaudiopolicyengineconfigurable |
| 44 | LOCAL_MODULE_TAGS := optional |
| Mikhail Naganov | 913d06c | 2016-11-01 12:49:22 -0700 | [diff] [blame] | 45 | |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 46 | LOCAL_STATIC_LIBRARIES := \ |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 47 | libaudiopolicypfwwrapper \ |
| Jaekyun Seok | e4c3c43 | 2016-12-16 12:13:40 +0900 | [diff] [blame] | 48 | libaudiopolicycomponents |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 49 | |
| 50 | LOCAL_SHARED_LIBRARIES := \ |
| François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame] | 51 | libaudiopolicyengineconfig \ |
| Dan Willemsen | 4ffbc76 | 2016-11-18 13:28:36 -0800 | [diff] [blame] | 52 | liblog \ |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 53 | libutils \ |
| Mikhail Naganov | 913d06c | 2016-11-01 12:49:22 -0700 | [diff] [blame] | 54 | liblog \ |
| Kevin Rocard | 07be14f | 2018-01-24 06:14:03 +0000 | [diff] [blame] | 55 | libaudioutils \ |
| Jaekyun Seok | 08dab5a | 2016-12-07 15:08:17 +0900 | [diff] [blame] | 56 | libparameter \ |
| Jaekyun Seok | e4c3c43 | 2016-12-16 12:13:40 +0900 | [diff] [blame] | 57 | libmedia_helper \ |
| François Gaffie | d0ba9ed | 2018-11-05 11:50:42 +0100 | [diff] [blame] | 58 | libaudiopolicy \ |
| Jaekyun Seok | e4c3c43 | 2016-12-16 12:13:40 +0900 | [diff] [blame] | 59 | libxml2 |
| François Gaffie | 20f06f9 | 2015-03-24 09:01:14 +0100 | [diff] [blame] | 60 | |
| 61 | include $(BUILD_SHARED_LIBRARY) |
| 62 | |
| 63 | ####################################################################### |
| 64 | # Recursive call sub-folder Android.mk |
| 65 | # |
| 66 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
| 67 | |
| 68 | endif |