blob: b36bf9fe87190b7d94e2ed9d645599c39d432edd [file] [log] [blame]
Simon Wilson19957a32012-04-06 16:17:12 -07001# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE := audio.usb.default
Colin Cross3557aba2014-01-24 21:00:32 -080020LOCAL_MODULE_RELATIVE_PATH := hw
Po-Chien Hsuehc535b2f2017-03-02 15:44:24 +080021LOCAL_PROPRIETARY_MODULE := true
Simon Wilson19957a32012-04-06 16:17:12 -070022LOCAL_SRC_FILES := \
Paul McLean9ab869a2015-01-13 09:37:06 -080023 audio_hal.c
Simon Wilson19957a32012-04-06 16:17:12 -070024LOCAL_C_INCLUDES += \
Paul McLeanc2201152014-07-16 13:46:07 -070025 external/tinyalsa/include \
Paul McLean9ab869a2015-01-13 09:37:06 -080026 $(call include-path-for, audio-utils) \
27 $(call include-path-for, alsa-utils)
28LOCAL_SHARED_LIBRARIES := liblog libcutils libtinyalsa libaudioutils libalsautils
Simon Wilson19957a32012-04-06 16:17:12 -070029LOCAL_MODULE_TAGS := optional
Colin Cross732b92a2014-04-18 15:41:11 -070030LOCAL_CFLAGS := -Wno-unused-parameter
Simon Wilson19957a32012-04-06 16:17:12 -070031
32include $(BUILD_SHARED_LIBRARY)
33