François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_SRC_FILES:= \ |
| 6 | src/DeviceDescriptor.cpp \ |
| 7 | src/AudioGain.cpp \ |
| 8 | src/HwModule.cpp \ |
| 9 | src/IOProfile.cpp \ |
| 10 | src/AudioPort.cpp \ |
François Gaffie | 112b0af | 2015-11-19 16:13:25 +0100 | [diff] [blame] | 11 | src/AudioProfile.cpp \ |
François Gaffie | cbb3044 | 2015-11-19 16:54:20 +0100 | [diff] [blame] | 12 | src/AudioRoute.cpp \ |
François Gaffie | 036e1e9 | 2015-03-19 10:16:24 +0100 | [diff] [blame] | 13 | src/AudioPolicyMix.cpp \ |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 14 | src/AudioPatch.cpp \ |
| 15 | src/AudioInputDescriptor.cpp \ |
| 16 | src/AudioOutputDescriptor.cpp \ |
François Gaffie | cbb3044 | 2015-11-19 16:54:20 +0100 | [diff] [blame] | 17 | src/AudioCollections.cpp \ |
François Gaffie | 45ed3b0 | 2015-03-19 10:35:14 +0100 | [diff] [blame] | 18 | src/EffectDescriptor.cpp \ |
François Gaffie | df37269 | 2015-03-19 10:43:27 +0100 | [diff] [blame] | 19 | src/SoundTriggerSession.cpp \ |
François Gaffie | d1ab2bd | 2015-12-02 18:20:06 +0100 | [diff] [blame] | 20 | src/VolumeCurve.cpp \ |
Eric Laurent | 599c758 | 2015-12-07 18:05:55 -0800 | [diff] [blame] | 21 | src/TypeConverter.cpp \ |
Eric Laurent | fa4fd52 | 2018-07-20 18:23:34 -0700 | [diff] [blame] | 22 | src/ClientDescriptor.cpp |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 23 | |
| 24 | LOCAL_SHARED_LIBRARIES := \ |
| 25 | libcutils \ |
Christopher Wiley | 5b943dd | 2016-04-12 16:51:14 -0700 | [diff] [blame] | 26 | libmedia \ |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 27 | libutils \ |
| 28 | liblog \ |
| 29 | |
Christopher Wiley | 5b943dd | 2016-04-12 16:51:14 -0700 | [diff] [blame] | 30 | LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libmedia |
| 31 | |
François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame] | 32 | LOCAL_C_INCLUDES := \ |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 33 | $(LOCAL_PATH)/include \ |
YOUNG HO CHA | 2ee7aab | 2017-05-25 23:16:51 +0900 | [diff] [blame] | 34 | frameworks/av/services/audiopolicy/common/include \ |
| 35 | frameworks/av/services/audiopolicy \ |
Mikhail Naganov | 1ed007c | 2018-05-04 15:41:10 -0700 | [diff] [blame] | 36 | $(call include-path-for, audio-utils) \ |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 37 | |
François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame] | 38 | ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1) |
François Gaffie | d1ab2bd | 2015-12-02 18:20:06 +0100 | [diff] [blame] | 39 | |
François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame] | 40 | LOCAL_SRC_FILES += src/Serializer.cpp |
| 41 | |
Jaekyun Seok | e4c3c43 | 2016-12-16 12:13:40 +0900 | [diff] [blame] | 42 | LOCAL_SHARED_LIBRARIES += libicuuc libxml2 |
François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame] | 43 | |
| 44 | LOCAL_C_INCLUDES += \ |
YOUNG HO CHA | 2ee7aab | 2017-05-25 23:16:51 +0900 | [diff] [blame] | 45 | external/libxml2/include \ |
| 46 | external/icu/icu4c/source/common |
François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame] | 47 | |
| 48 | else |
François Gaffie | d1ab2bd | 2015-12-02 18:20:06 +0100 | [diff] [blame] | 49 | |
| 50 | LOCAL_SRC_FILES += \ |
| 51 | src/ConfigParsingUtils.cpp \ |
| 52 | src/StreamDescriptor.cpp \ |
| 53 | src/Gains.cpp |
| 54 | |
François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame] | 55 | endif #ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1) |
| 56 | |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 57 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 58 | $(LOCAL_PATH)/include |
| 59 | |
Andy Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 60 | LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) |
| 61 | |
Glenn Kasten | fcddb0b | 2016-07-08 17:19:25 -0700 | [diff] [blame] | 62 | LOCAL_CFLAGS := -Wall -Werror |
| 63 | |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 64 | LOCAL_MODULE := libaudiopolicycomponents |
| 65 | |
| 66 | include $(BUILD_STATIC_LIBRARY) |