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 := \ |
Ivan Lozano | ff6900d | 2017-08-01 15:47:38 -0700 | [diff] [blame] | 6 | main_audioserver.cpp \ |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 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 \ |
Steven Moreland | 5fee0f2 | 2019-06-10 13:35:00 -0700 | [diff] [blame^] | 15 | libhidlbase \ |
Mikhail Naganov | 00a21a3 | 2017-11-16 08:57:44 -0800 | [diff] [blame] | 16 | libhidltransport \ |
| 17 | libhwbinder \ |
Andy Hung | 2105271 | 2017-12-07 11:45:37 -0800 | [diff] [blame] | 18 | libmedia \ |
Glenn Kasten | ae0cff1 | 2016-02-24 13:57:49 -0800 | [diff] [blame] | 19 | libmedialogservice \ |
Kevin Rocard | 8be9497 | 2019-02-22 13:26:25 -0800 | [diff] [blame] | 20 | libmediautils \ |
Nicolas Roulet | 40a4498 | 2017-02-03 13:39:57 -0800 | [diff] [blame] | 21 | libnbaio \ |
Eric Tan | ace588c | 2018-09-12 11:44:43 -0700 | [diff] [blame] | 22 | libnblog \ |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 23 | libsoundtriggerservice \ |
jiabin | 57303cc | 2018-12-18 15:45:57 -0800 | [diff] [blame] | 24 | libutils \ |
| 25 | libvibrator |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 26 | |
Phil Burk | 7f6b40d | 2017-02-09 13:18:38 -0800 | [diff] [blame] | 27 | # 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] | 28 | LOCAL_C_INCLUDES := \ |
| 29 | frameworks/av/services/audioflinger \ |
| 30 | frameworks/av/services/audiopolicy \ |
| 31 | frameworks/av/services/audiopolicy/common/managerdefinitions/include \ |
| 32 | frameworks/av/services/audiopolicy/common/include \ |
| 33 | frameworks/av/services/audiopolicy/engine/interface \ |
| 34 | frameworks/av/services/audiopolicy/service \ |
Glenn Kasten | ae0cff1 | 2016-02-24 13:57:49 -0800 | [diff] [blame] | 35 | frameworks/av/services/medialog \ |
Phil Burk | 7f6b40d | 2017-02-09 13:18:38 -0800 | [diff] [blame] | 36 | frameworks/av/services/oboeservice \ |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 37 | frameworks/av/services/radio \ |
| 38 | frameworks/av/services/soundtrigger \ |
Phil Burk | 7f6b40d | 2017-02-09 13:18:38 -0800 | [diff] [blame] | 39 | frameworks/av/media/libaaudio/include \ |
| 40 | frameworks/av/media/libaaudio/src \ |
| 41 | frameworks/av/media/libaaudio/src/binding \ |
Andy Hung | 2105271 | 2017-12-07 11:45:37 -0800 | [diff] [blame] | 42 | frameworks/av/media/libmedia \ |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 43 | $(call include-path-for, audio-utils) \ |
| 44 | external/sonic \ |
| 45 | |
Andy Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 46 | # If AUDIOSERVER_MULTILIB in device.mk is non-empty then it is used to control |
| 47 | # the LOCAL_MULTILIB for all audioserver exclusive libraries. |
| 48 | # This is relevant for 64 bit architectures where either or both |
| 49 | # 32 and 64 bit libraries may be built. |
| 50 | # |
| 51 | # AUDIOSERVER_MULTILIB may be set as follows: |
| 52 | # 32 to build 32 bit audioserver libraries and 32 bit audioserver. |
| 53 | # 64 to build 64 bit audioserver libraries and 64 bit audioserver. |
| 54 | # both to build both 32 bit and 64 bit libraries, |
| 55 | # and use primary target architecture (32 or 64) for audioserver. |
| 56 | # first to build libraries and audioserver for the primary target architecture only. |
Andy Hung | f83320a | 2018-09-14 15:24:42 -0700 | [diff] [blame] | 57 | # <empty> to build both 32 and 64 bit libraries and primary target audioserver. |
Andy Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 58 | |
Andy Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 59 | LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) |
Andy Hung | 8fa2697 | 2016-03-03 13:19:27 -0800 | [diff] [blame] | 60 | |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 61 | LOCAL_MODULE := audioserver |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 62 | |
| 63 | LOCAL_INIT_RC := audioserver.rc |
| 64 | |
Glenn Kasten | e875c80 | 2016-03-18 14:52:27 -0700 | [diff] [blame] | 65 | LOCAL_CFLAGS := -Werror -Wall |
| 66 | |
Marco Nelissen | dcb346b | 2015-09-09 10:47:29 -0700 | [diff] [blame] | 67 | include $(BUILD_EXECUTABLE) |