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 \ |
François Gaffie | dfd7409 | 2015-03-19 12:10:59 +0100 | [diff] [blame] | 8 | src/StreamDescriptor.cpp \ |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 9 | src/HwModule.cpp \ |
| 10 | src/IOProfile.cpp \ |
| 11 | src/AudioPort.cpp \ |
François Gaffie | 112b0af | 2015-11-19 16:13:25 +0100 | [diff] [blame] | 12 | src/AudioProfile.cpp \ |
François Gaffie | cbb3044 | 2015-11-19 16:54:20 +0100 | [diff] [blame] | 13 | src/AudioRoute.cpp \ |
François Gaffie | 036e1e9 | 2015-03-19 10:16:24 +0100 | [diff] [blame] | 14 | src/AudioPolicyMix.cpp \ |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 15 | src/AudioPatch.cpp \ |
| 16 | src/AudioInputDescriptor.cpp \ |
| 17 | src/AudioOutputDescriptor.cpp \ |
François Gaffie | cbb3044 | 2015-11-19 16:54:20 +0100 | [diff] [blame] | 18 | src/AudioCollections.cpp \ |
François Gaffie | 45ed3b0 | 2015-03-19 10:35:14 +0100 | [diff] [blame] | 19 | src/EffectDescriptor.cpp \ |
François Gaffie | df37269 | 2015-03-19 10:43:27 +0100 | [diff] [blame] | 20 | src/SoundTriggerSession.cpp \ |
François Gaffie | 54c0659 | 2015-07-08 09:46:05 +0200 | [diff] [blame] | 21 | src/SessionRoute.cpp \ |
François Gaffie | a8ecc2c | 2015-11-09 16:10:40 +0100 | [diff] [blame] | 22 | src/AudioSourceDescriptor.cpp \ |
Eric Laurent | 599c758 | 2015-12-07 18:05:55 -0800 | [diff] [blame] | 23 | src/TypeConverter.cpp \ |
| 24 | src/AudioSession.cpp |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 25 | |
| 26 | LOCAL_SHARED_LIBRARIES := \ |
| 27 | libcutils \ |
| 28 | libutils \ |
| 29 | liblog \ |
| 30 | |
François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame^] | 31 | LOCAL_C_INCLUDES := \ |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 32 | $(LOCAL_PATH)/include \ |
François Gaffie | 53615e2 | 2015-03-19 09:24:12 +0100 | [diff] [blame] | 33 | $(TOPDIR)frameworks/av/services/audiopolicy/common/include \ |
François Gaffie | a8ecc2c | 2015-11-09 16:10:40 +0100 | [diff] [blame] | 34 | $(TOPDIR)frameworks/av/services/audiopolicy \ |
| 35 | $(TOPDIR)frameworks/av/services/audiopolicy/utilities \ |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 36 | |
François Gaffie | f4ad6e5 | 2015-11-19 16:59:57 +0100 | [diff] [blame^] | 37 | ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1) |
| 38 | LOCAL_SRC_FILES += src/Serializer.cpp |
| 39 | |
| 40 | LOCAL_STATIC_LIBRARIES := libxml2 |
| 41 | |
| 42 | LOCAL_SHARED_LIBRARIES += libicuuc |
| 43 | |
| 44 | LOCAL_C_INCLUDES += \ |
| 45 | $(TOPDIR)external/libxml2/include \ |
| 46 | $(TOPDIR)external/icu/icu4c/source/common |
| 47 | |
| 48 | else |
| 49 | LOCAL_SRC_FILES += src/ConfigParsingUtils.cpp |
| 50 | endif #ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1) |
| 51 | |
François Gaffie | 98cc191 | 2015-03-18 17:52:40 +0100 | [diff] [blame] | 52 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 53 | $(LOCAL_PATH)/include |
| 54 | |
| 55 | LOCAL_MODULE := libaudiopolicycomponents |
| 56 | |
| 57 | include $(BUILD_STATIC_LIBRARY) |