blob: 1f2441380156c3b21651e2a68719262166143f10 [file] [log] [blame]
Marco Nelissendcb346b2015-09-09 10:47:29 -07001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_SRC_FILES := \
Ivan Lozanoff6900d2017-08-01 15:47:38 -07006 main_audioserver.cpp \
Marco Nelissendcb346b2015-09-09 10:47:29 -07007
8LOCAL_SHARED_LIBRARIES := \
Phil Burk7f6b40d2017-02-09 13:18:38 -08009 libaaudioservice \
Marco Nelissendcb346b2015-09-09 10:47:29 -070010 libaudioflinger \
11 libaudiopolicyservice \
12 libbinder \
Glenn Kastenae0cff12016-02-24 13:57:49 -080013 libcutils \
Marco Nelissendcb346b2015-09-09 10:47:29 -070014 liblog \
Mikhail Naganov00a21a32017-11-16 08:57:44 -080015 libhidltransport \
16 libhwbinder \
Andy Hung21052712017-12-07 11:45:37 -080017 libmedia \
Glenn Kastenae0cff12016-02-24 13:57:49 -080018 libmedialogservice \
Kevin Rocard8be94972019-02-22 13:26:25 -080019 libmediautils \
Nicolas Roulet40a44982017-02-03 13:39:57 -080020 libnbaio \
Eric Tanace588c2018-09-12 11:44:43 -070021 libnblog \
Marco Nelissendcb346b2015-09-09 10:47:29 -070022 libsoundtriggerservice \
jiabin57303cc2018-12-18 15:45:57 -080023 libutils \
24 libvibrator
Marco Nelissendcb346b2015-09-09 10:47:29 -070025
Phil Burk7f6b40d2017-02-09 13:18:38 -080026# TODO oboeservice is the old folder name for aaudioservice. It will be changed.
Marco Nelissendcb346b2015-09-09 10:47:29 -070027LOCAL_C_INCLUDES := \
28 frameworks/av/services/audioflinger \
29 frameworks/av/services/audiopolicy \
30 frameworks/av/services/audiopolicy/common/managerdefinitions/include \
31 frameworks/av/services/audiopolicy/common/include \
32 frameworks/av/services/audiopolicy/engine/interface \
33 frameworks/av/services/audiopolicy/service \
Glenn Kastenae0cff12016-02-24 13:57:49 -080034 frameworks/av/services/medialog \
Phil Burk7f6b40d2017-02-09 13:18:38 -080035 frameworks/av/services/oboeservice \
Marco Nelissendcb346b2015-09-09 10:47:29 -070036 frameworks/av/services/radio \
37 frameworks/av/services/soundtrigger \
Phil Burk7f6b40d2017-02-09 13:18:38 -080038 frameworks/av/media/libaaudio/include \
39 frameworks/av/media/libaaudio/src \
40 frameworks/av/media/libaaudio/src/binding \
Andy Hung21052712017-12-07 11:45:37 -080041 frameworks/av/media/libmedia \
Marco Nelissendcb346b2015-09-09 10:47:29 -070042 $(call include-path-for, audio-utils) \
43 external/sonic \
44
Andy Hung8fa26972016-03-03 13:19:27 -080045# If AUDIOSERVER_MULTILIB in device.mk is non-empty then it is used to control
46# the LOCAL_MULTILIB for all audioserver exclusive libraries.
47# This is relevant for 64 bit architectures where either or both
48# 32 and 64 bit libraries may be built.
49#
50# AUDIOSERVER_MULTILIB may be set as follows:
51# 32 to build 32 bit audioserver libraries and 32 bit audioserver.
52# 64 to build 64 bit audioserver libraries and 64 bit audioserver.
53# both to build both 32 bit and 64 bit libraries,
54# and use primary target architecture (32 or 64) for audioserver.
55# first to build libraries and audioserver for the primary target architecture only.
Andy Hungf83320a2018-09-14 15:24:42 -070056# <empty> to build both 32 and 64 bit libraries and primary target audioserver.
Andy Hung8fa26972016-03-03 13:19:27 -080057
Andy Hung8fa26972016-03-03 13:19:27 -080058LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
Andy Hung8fa26972016-03-03 13:19:27 -080059
Marco Nelissendcb346b2015-09-09 10:47:29 -070060LOCAL_MODULE := audioserver
Marco Nelissendcb346b2015-09-09 10:47:29 -070061
62LOCAL_INIT_RC := audioserver.rc
63
Glenn Kastene875c802016-03-18 14:52:27 -070064LOCAL_CFLAGS := -Werror -Wall
65
Marco Nelissendcb346b2015-09-09 10:47:29 -070066include $(BUILD_EXECUTABLE)