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