1// Copyright (C) 2020 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 15package { 16 // See: http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // all of the 'license_kinds' from "device_google_atv_license" 19 // to get the below license kinds: 20 // SPDX-license-identifier-Apache-2.0 21 default_applicable_licenses: ["device_google_atv_license"], 22} 23 24cc_binary { 25 name: "device.google.atv.audio_proxy@5.1-service", 26 vendor: true, 27 relative_install_path: "hw", 28 29 srcs: [ 30 "AudioProxyDevicesManagerImpl.cpp", 31 "BusDeviceProvider.cpp", 32 "DeviceImpl.cpp", 33 "DevicesFactoryImpl.cpp", 34 "DummyBusDevice.cpp", 35 "DummyOutputStream.cpp", 36 "main.cpp", 37 ], 38 39 init_rc: [ 40 "device.google.atv.audio_proxy@5.1-service.rc", 41 ], 42 43 vintf_fragments: [ "manifest_audio_proxy.xml" ], 44 45 shared_libs: [ 46 "android.hardware.audio@5.0", 47 "android.hardware.audio.common@5.0", 48 "libhidlbase", 49 "liblog", 50 "libcutils", 51 "libutils", 52 "device.google.atv.audio_proxy@5.0", 53 "device.google.atv.audio_proxy@5.1", 54 ], 55 56 cflags: [ 57 "-DMAJOR_VERSION=5", 58 "-DMINOR_VERSION=0", 59 "-DAUDIO_PROXY_MINOR_VERSION=1", 60 "-include ../common/AudioProxyVersionMacro.h", 61 ], 62} 63