| 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 | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame^] | 11 | ../engine/common/src/ProductStrategy.cpp \ |
| 12 | ../engine/common/src/EngineBase.cpp |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 13 | |
| 14 | audio_policy_engine_includes_common := \ |
| François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame^] | 15 | $(LOCAL_PATH)/include |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 16 | |
| 17 | LOCAL_CFLAGS += \ |
| 18 | -Wall \ |
| 19 | -Werror \ |
| 20 | -Wextra \ |
| 21 | |
| 22 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 23 | $(audio_policy_engine_includes_common) |
| 24 | |
| 25 | LOCAL_C_INCLUDES := \ |
| 26 | $(audio_policy_engine_includes_common) \ |
| 27 | $(TARGET_OUT_HEADERS)/hw \ |
| 28 | $(call include-path-for, frameworks-av) \ |
| 29 | $(call include-path-for, audio-utils) \ |
| François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame^] | 30 | $(call include-path-for, bionic) |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 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 | |
| Chih-Hung Hsieh | 2b48703 | 2018-09-13 14:16:02 -0700 | [diff] [blame] | 37 | LOCAL_HEADER_LIBRARIES := libbase_headers |
| 38 | |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 39 | LOCAL_STATIC_LIBRARIES := \ |
| François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame^] | 40 | libaudiopolicycomponents |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 41 | |
| François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame^] | 42 | LOCAL_SHARED_LIBRARIES := \ |
| Dimitry Ivanov | d1a9f49 | 2016-02-12 16:19:48 -0800 | [diff] [blame] | 43 | liblog \ |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 44 | libcutils \ |
| 45 | libutils \ |
| François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame^] | 46 | libmedia_helper \ |
| 47 | libaudiopolicyengineconfig |
| 48 | |
| 49 | LOCAL_HEADER_LIBRARIES := \ |
| 50 | libaudiopolicycommon \ |
| 51 | libaudiopolicyengine_common_headers \ |
| 52 | libaudiopolicyengine_interface_headers |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 53 | |
| François Gaffie | 2110e04 | 2015-03-24 08:41:51 +0100 | [diff] [blame] | 54 | include $(BUILD_SHARED_LIBRARY) |