1// Copyright (C) 2024 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 default_team: "trendy_team_aaos_framework", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20filegroup { 21 name: "simple_car_audio_configuration_xml", 22 srcs: [ 23 "simple_car_audio_configuration.xml", 24 "simple_car_audio_configuration_with_device_type.xml", 25 "multi_zone_car_audio_configuration.xml", 26 "car_audio_configuration_without_configuration.xml", 27 "car_audio_configuration_with_default_context.xml", 28 "car_audio_configuration_with_missing_zones.xml", 29 "car_audio_configuration_without_audio_zone.xml", 30 "car_audio_fade_configuration.xml", 31 ], 32} 33 34cc_test { 35 name: "AudioControlConverterUnitTest", 36 vendor: true, 37 require_root: true, 38 srcs: ["*.cpp"], 39 stl: "libc++_static", 40 static_libs: [ 41 "libbase", 42 "android.hardware.audiocontrol.internal", 43 "libgtest", 44 "libgmock", 45 "libutils", 46 "libaudio_aidl_conversion_common_ndk", 47 ], 48 shared_libs: ["liblog"], 49 defaults: [ 50 "latest_android_hardware_audio_common_ndk_static", 51 "car.audio.configuration.xsd.default", 52 "car.fade.configuration.xsd.default", 53 "latest_android_hardware_automotive_audiocontrol_ndk_static", 54 "latest_android_media_audio_common_types_ndk_static", 55 ], 56 data: [ 57 ":simple_car_audio_configuration_xml", 58 ], 59 test_suites: ["device-tests"], 60 exclude_shared_libs: [ 61 "android.hardware.automotive.audiocontrol-V5-ndk", 62 ], 63} 64