blob: 12713d3037475773b5689b7ef72d18828bf3223a [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 := \
Yifan Hong6b920e42016-11-16 14:17:58 -080034 libhidlbase \
35 libhidltransport \
Mikhail Naganov10548292016-10-31 10:39:47 -070036 liblog \
Mikhail Naganov10548292016-10-31 10:39:47 -070037 libutils \
38 libhardware \
39 android.hardware.audio@2.0 \
40 android.hardware.audio.common@2.0 \
41 android.hardware.audio.effect@2.0 \
Mikhail Naganovce8d65b2018-01-22 13:25:09 -080042 android.hardware.soundtrigger@2.0 \
43 android.hardware.soundtrigger@2.1
Eric Laurent27ef4d82016-10-14 15:46:06 -070044
Kevin Rocardcb9827c2017-12-15 12:56:47 -080045# Can not switch to Android.bp until AUDIOSERVER_MULTILIB
46# is deprecated as build config variable are not supported
Eric Laurent27ef4d82016-10-14 15:46:06 -070047ifeq ($(strip $(AUDIOSERVER_MULTILIB)),)
48LOCAL_MULTILIB := 32
49else
50LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
51endif
52
Eric Laurent27ef4d82016-10-14 15:46:06 -070053include $(BUILD_EXECUTABLE)