blob: 43d7fe19c52ffbc95ec812b0beaa827f28e6503f [file] [log] [blame]
Eric Laurent27ef4d82016-10-14 15:46:06 -07001#
2# Copyright (C) 2016 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
17LOCAL_PATH := $(call my-dir)
18
Mikhail Naganov10548292016-10-31 10:39:47 -070019#
20# Service
21#
22
23include $(CLEAR_VARS)
Eric Laurent27ef4d82016-10-14 15:46:06 -070024LOCAL_MODULE := android.hardware.audio@2.0-service
25LOCAL_INIT_RC := android.hardware.audio@2.0-service.rc
26LOCAL_MODULE_RELATIVE_PATH := hw
Steven Morelanda0da1a12017-02-13 09:59:06 -080027LOCAL_PROPRIETARY_MODULE := true
Eric Laurent27ef4d82016-10-14 15:46:06 -070028LOCAL_SRC_FILES := \
Mikhail Naganov10548292016-10-31 10:39:47 -070029 service.cpp
Eric Laurent27ef4d82016-10-14 15:46:06 -070030
Chih-Hung Hsiehb38c1ae2017-11-20 15:36:52 -080031LOCAL_CFLAGS := -Wall -Werror
32
Eric Laurent27ef4d82016-10-14 15:46:06 -070033LOCAL_SHARED_LIBRARIES := \
Haynes Mathew Georgea57f41d2018-02-21 14:45:20 -080034 libbinder \
Yifan Hong6b920e42016-11-16 14:17:58 -080035 libhidlbase \
36 libhidltransport \
Mikhail Naganov10548292016-10-31 10:39:47 -070037 liblog \
Mikhail Naganov10548292016-10-31 10:39:47 -070038 libutils \
39 libhardware \
40 android.hardware.audio@2.0 \
Kevin Rocardbee7f4e2018-03-01 18:56:58 -080041 android.hardware.audio@4.0 \
Mikhail Naganov10548292016-10-31 10:39:47 -070042 android.hardware.audio.common@2.0 \
Kevin Rocardbee7f4e2018-03-01 18:56:58 -080043 android.hardware.audio.common@4.0 \
Mikhail Naganov10548292016-10-31 10:39:47 -070044 android.hardware.audio.effect@2.0 \
Kevin Rocardbee7f4e2018-03-01 18:56:58 -080045 android.hardware.audio.effect@4.0 \
Aniket Kumar Latad93a3ad2018-01-31 20:17:30 -080046 android.hardware.bluetooth.a2dp@1.0 \
Mikhail Naganovce8d65b2018-01-22 13:25:09 -080047 android.hardware.soundtrigger@2.0 \
48 android.hardware.soundtrigger@2.1
Eric Laurent27ef4d82016-10-14 15:46:06 -070049
Kevin Rocardcb9827c2017-12-15 12:56:47 -080050# Can not switch to Android.bp until AUDIOSERVER_MULTILIB
51# is deprecated as build config variable are not supported
Eric Laurent27ef4d82016-10-14 15:46:06 -070052ifeq ($(strip $(AUDIOSERVER_MULTILIB)),)
53LOCAL_MULTILIB := 32
54else
55LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
56endif
57
Eric Laurent27ef4d82016-10-14 15:46:06 -070058include $(BUILD_EXECUTABLE)