Eric Laurent | 27ef4d8 | 2016-10-14 15:46:06 -0700 | [diff] [blame] | 1 | # |
| 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
Mikhail Naganov | 1054829 | 2016-10-31 10:39:47 -0700 | [diff] [blame] | 19 | # |
| 20 | # Service |
| 21 | # |
| 22 | |
| 23 | include $(CLEAR_VARS) |
Eric Laurent | 27ef4d8 | 2016-10-14 15:46:06 -0700 | [diff] [blame] | 24 | LOCAL_MODULE := android.hardware.audio@2.0-service |
| 25 | LOCAL_INIT_RC := android.hardware.audio@2.0-service.rc |
| 26 | LOCAL_MODULE_RELATIVE_PATH := hw |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 27 | LOCAL_PROPRIETARY_MODULE := true |
Eric Laurent | 27ef4d8 | 2016-10-14 15:46:06 -0700 | [diff] [blame] | 28 | LOCAL_SRC_FILES := \ |
Mikhail Naganov | 1054829 | 2016-10-31 10:39:47 -0700 | [diff] [blame] | 29 | service.cpp |
Eric Laurent | 27ef4d8 | 2016-10-14 15:46:06 -0700 | [diff] [blame] | 30 | |
Chih-Hung Hsieh | b38c1ae | 2017-11-20 15:36:52 -0800 | [diff] [blame] | 31 | LOCAL_CFLAGS := -Wall -Werror |
| 32 | |
Eric Laurent | 27ef4d8 | 2016-10-14 15:46:06 -0700 | [diff] [blame] | 33 | LOCAL_SHARED_LIBRARIES := \ |
Haynes Mathew George | a57f41d | 2018-02-21 14:45:20 -0800 | [diff] [blame] | 34 | libbinder \ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 35 | libhidlbase \ |
| 36 | libhidltransport \ |
Mikhail Naganov | 1054829 | 2016-10-31 10:39:47 -0700 | [diff] [blame] | 37 | liblog \ |
Mikhail Naganov | 1054829 | 2016-10-31 10:39:47 -0700 | [diff] [blame] | 38 | libutils \ |
| 39 | libhardware \ |
| 40 | android.hardware.audio@2.0 \ |
Kevin Rocard | bee7f4e | 2018-03-01 18:56:58 -0800 | [diff] [blame] | 41 | android.hardware.audio@4.0 \ |
Mikhail Naganov | 1054829 | 2016-10-31 10:39:47 -0700 | [diff] [blame] | 42 | android.hardware.audio.common@2.0 \ |
Kevin Rocard | bee7f4e | 2018-03-01 18:56:58 -0800 | [diff] [blame] | 43 | android.hardware.audio.common@4.0 \ |
Mikhail Naganov | 1054829 | 2016-10-31 10:39:47 -0700 | [diff] [blame] | 44 | android.hardware.audio.effect@2.0 \ |
Kevin Rocard | bee7f4e | 2018-03-01 18:56:58 -0800 | [diff] [blame] | 45 | android.hardware.audio.effect@4.0 \ |
Aniket Kumar Lata | d93a3ad | 2018-01-31 20:17:30 -0800 | [diff] [blame] | 46 | android.hardware.bluetooth.a2dp@1.0 \ |
Mikhail Naganov | ce8d65b | 2018-01-22 13:25:09 -0800 | [diff] [blame] | 47 | android.hardware.soundtrigger@2.0 \ |
| 48 | android.hardware.soundtrigger@2.1 |
Eric Laurent | 27ef4d8 | 2016-10-14 15:46:06 -0700 | [diff] [blame] | 49 | |
Kevin Rocard | cb9827c | 2017-12-15 12:56:47 -0800 | [diff] [blame] | 50 | # Can not switch to Android.bp until AUDIOSERVER_MULTILIB |
| 51 | # is deprecated as build config variable are not supported |
Eric Laurent | 27ef4d8 | 2016-10-14 15:46:06 -0700 | [diff] [blame] | 52 | ifeq ($(strip $(AUDIOSERVER_MULTILIB)),) |
| 53 | LOCAL_MULTILIB := 32 |
| 54 | else |
| 55 | LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) |
| 56 | endif |
| 57 | |
Eric Laurent | 27ef4d8 | 2016-10-14 15:46:06 -0700 | [diff] [blame] | 58 | include $(BUILD_EXECUTABLE) |