Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_SRC_FILES := \ |
| 6 | main_audioserver.cpp |
| 7 | |
| 8 | LOCAL_SHARED_LIBRARIES := \ |
Phil Burk | 7f6b40d | 2017-02-09 13:18:38 -0800 | [diff] [blame^] | 9 | libaaudioservice \ |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 10 | libaudioflinger \ |
| 11 | libaudiopolicyservice \ |
| 12 | libbinder \ |
Glenn Kasten | ae0cff1 | 2016-02-24 13:57:49 -0800 | [diff] [blame] | 13 | libcutils \ |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 14 | liblog \ |
Glenn Kasten | ae0cff1 | 2016-02-24 13:57:49 -0800 | [diff] [blame] | 15 | libmedialogservice \ |
Nicolas Roulet | 40a4498 | 2017-02-03 13:39:57 -0800 | [diff] [blame] | 16 | libnbaio \ |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 17 | libradioservice \ |
| 18 | libsoundtriggerservice \ |
Eric Laurent | e2afa1e | 2016-12-16 16:30:28 -0800 | [diff] [blame] | 19 | libutils \ |
| 20 | libhwbinder |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 21 | |
Phil Burk | 7f6b40d | 2017-02-09 13:18:38 -0800 | [diff] [blame^] | 22 | # TODO oboeservice is the old folder name for aaudioservice. It will be changed. |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 23 | LOCAL_C_INCLUDES := \ |
| 24 | frameworks/av/services/audioflinger \ |
| 25 | frameworks/av/services/audiopolicy \ |
| 26 | frameworks/av/services/audiopolicy/common/managerdefinitions/include \ |
| 27 | frameworks/av/services/audiopolicy/common/include \ |
| 28 | frameworks/av/services/audiopolicy/engine/interface \ |
| 29 | frameworks/av/services/audiopolicy/service \ |
Glenn Kasten | ae0cff1 | 2016-02-24 13:57:49 -0800 | [diff] [blame] | 30 | frameworks/av/services/medialog \ |
Phil Burk | 7f6b40d | 2017-02-09 13:18:38 -0800 | [diff] [blame^] | 31 | frameworks/av/services/oboeservice \ |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 32 | frameworks/av/services/radio \ |
| 33 | frameworks/av/services/soundtrigger \ |
Phil Burk | 7f6b40d | 2017-02-09 13:18:38 -0800 | [diff] [blame^] | 34 | frameworks/av/media/libaaudio/include \ |
| 35 | frameworks/av/media/libaaudio/src \ |
| 36 | frameworks/av/media/libaaudio/src/binding \ |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 37 | $(call include-path-for, audio-utils) \ |
| 38 | external/sonic \ |
| 39 | |
Andy Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 40 | # If AUDIOSERVER_MULTILIB in device.mk is non-empty then it is used to control |
| 41 | # the LOCAL_MULTILIB for all audioserver exclusive libraries. |
| 42 | # This is relevant for 64 bit architectures where either or both |
| 43 | # 32 and 64 bit libraries may be built. |
| 44 | # |
| 45 | # AUDIOSERVER_MULTILIB may be set as follows: |
| 46 | # 32 to build 32 bit audioserver libraries and 32 bit audioserver. |
| 47 | # 64 to build 64 bit audioserver libraries and 64 bit audioserver. |
| 48 | # both to build both 32 bit and 64 bit libraries, |
| 49 | # and use primary target architecture (32 or 64) for audioserver. |
| 50 | # first to build libraries and audioserver for the primary target architecture only. |
| 51 | # <empty> to build both 32 and 64 bit libraries and 32 bit audioserver. |
| 52 | |
| 53 | ifeq ($(strip $(AUDIOSERVER_MULTILIB)),) |
| 54 | LOCAL_MULTILIB := 32 |
| 55 | else |
| 56 | LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) |
| 57 | endif |
| 58 | |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 59 | LOCAL_MODULE := audioserver |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 60 | |
| 61 | LOCAL_INIT_RC := audioserver.rc |
| 62 | |
Glenn Kasten | e875c80 | 2016-03-18 14:52:27 -0700 | [diff] [blame] | 63 | LOCAL_CFLAGS := -Werror -Wall |
| 64 | |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 65 | include $(BUILD_EXECUTABLE) |