1// Copyright (C) 2023 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
15soong_namespace {
16    imports: [
17        "frameworks/av/services/audiopolicy/config",
18    ]
19}
20
21package {
22    default_applicable_licenses: [
23        "Android-Apache-2.0",
24    ],
25}
26
27prebuilt_etc {
28    name: "audio_policy_volumes.xml",
29    src: "audio_policy_volumes.xml",
30    soc_specific: true,
31}
32
33prebuilt_etc {
34    name: "imported_default_volume_tables.xml",
35    src: "//frameworks/av/services/audiopolicy/config:default_volume_tables.xml",
36    soc_specific: true,
37    filename_from_src: true,
38}
39
40prebuilt_etc {
41    name: "audio_platform_configuration.xml",
42    src: "audio_platform_configuration.xml",
43    soc_specific: true,
44    required: [
45        "audio_policy_volumes.xml",
46        "imported_default_volume_tables.xml",
47    ],
48}
49
50prebuilt_etc {
51    name: "mixer_paths_aidl.xml",
52    src: "mixer_paths_aidl.xml",
53    soc_specific: true,
54}
55
56phony {
57    name: "audio_aidl_configs",
58    soc_specific: true,
59    required: [
60        "audio_platform_configuration.xml",
61        "mixer_paths_aidl.xml"
62    ],
63}
64