1/*
2 * Copyright (C) 2019 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
17soong_namespace {
18}
19
20package {
21    default_team: "trendy_team_android_media_audio_framework",
22    // See: http://go/android-license-faq
23    // A large-scale-change added 'default_applicable_licenses' to import
24    // all of the 'license_kinds' from "frameworks_av_license"
25    // to get the below license kinds:
26    //   SPDX-license-identifier-Apache-2.0
27    default_applicable_licenses: ["frameworks_av_license"],
28}
29
30prebuilt_etc {
31    name: "a2dp_in_audio_policy_configuration.xml",
32    vendor: true,
33    src: ":a2dp_in_audio_policy_configuration",
34}
35
36prebuilt_etc {
37    name: "a2dp_audio_policy_configuration.xml",
38    vendor: true,
39    src: ":a2dp_audio_policy_configuration",
40}
41
42prebuilt_etc {
43    name: "audio_policy_configuration.xml",
44    vendor: true,
45    src: ":audio_policy_configuration_generic",
46}
47
48prebuilt_etc {
49    name: "r_submix_audio_policy_configuration.xml",
50    vendor: true,
51    src: ":r_submix_audio_policy_configuration",
52}
53
54prebuilt_etc {
55    name: "audio_policy_volumes.xml",
56    vendor: true,
57    src: ":audio_policy_volumes",
58}
59
60prebuilt_etc {
61    name: "default_volume_tables.xml",
62    vendor: true,
63    src: ":default_volume_tables",
64}
65
66prebuilt_etc {
67    name: "surround_sound_configuration_5_0.xml",
68    vendor: true,
69    src: ":surround_sound_configuration_5_0",
70}
71
72prebuilt_etc {
73    name: "usb_audio_policy_configuration.xml",
74    vendor: true,
75    src: ":usb_audio_policy_configuration",
76}
77
78prebuilt_etc {
79    name: "primary_audio_policy_configuration.xml",
80    src: ":primary_audio_policy_configuration",
81    vendor: true,
82}
83
84filegroup {
85    name: "a2dp_in_audio_policy_configuration",
86    srcs: ["a2dp_in_audio_policy_configuration.xml"],
87}
88
89filegroup {
90    name: "a2dp_audio_policy_configuration",
91    srcs: ["a2dp_audio_policy_configuration.xml"],
92}
93
94filegroup {
95    name: "primary_audio_policy_configuration",
96    srcs: ["primary_audio_policy_configuration.xml"],
97}
98
99filegroup {
100    name: "surround_sound_configuration_5_0",
101    srcs: ["surround_sound_configuration_5_0.xml"],
102}
103
104filegroup {
105    name: "default_volume_tables",
106    srcs: ["default_volume_tables.xml"],
107}
108
109filegroup {
110    name: "audio_policy_volumes",
111    srcs: ["audio_policy_volumes.xml"],
112}
113
114filegroup {
115    name: "audio_policy_configuration_generic",
116    srcs: ["audio_policy_configuration_generic.xml"],
117}
118
119filegroup {
120    name: "audio_policy_configuration_generic_configurable",
121    srcs: ["audio_policy_configuration_generic_configurable.xml"],
122}
123
124filegroup {
125    name: "usb_audio_policy_configuration",
126    srcs: ["usb_audio_policy_configuration.xml"],
127}
128
129filegroup {
130    name: "r_submix_audio_policy_configuration",
131    srcs: ["r_submix_audio_policy_configuration.xml"],
132}
133
134filegroup {
135    name: "bluetooth_audio_policy_configuration_7_0",
136    srcs: ["bluetooth_audio_policy_configuration_7_0.xml"],
137}
138
139filegroup {
140    name: "bluetooth_with_le_audio_policy_configuration_7_0",
141    srcs: ["bluetooth_with_le_audio_policy_configuration_7_0.xml"],
142}
143
144filegroup {
145    name: "hearing_aid_audio_policy_configuration_7_0",
146    srcs: ["hearing_aid_audio_policy_configuration_7_0.xml"],
147}
148