blob: 7c3a8ce10111828ad514a3de08737f7b66a913dd [file] [log] [blame]
Dan Willemsena2b50fb2016-09-22 16:05:13 -07001// Copyright (C) 2015 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
Bob Badour8117c2a2021-02-03 18:31:58 -080015package {
16 // http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // the below license kinds from "system_media_license":
19 // SPDX-license-identifier-Apache-2.0
20 default_applicable_licenses: ["system_media_license"],
21}
22
David Li5cc38a02021-01-29 09:07:09 +000023cc_defaults {
24 name: "libalsautils_defaults",
Isaac Chen901023a2017-04-10 14:43:30 +080025 vendor: true,
Dan Willemsena2b50fb2016-09-22 16:05:13 -070026 srcs: [
27 "alsa_device_profile.c",
28 "alsa_device_proxy.c",
29 "alsa_logging.c",
30 "alsa_format.c",
31 ],
32 export_include_dirs: ["include"],
Tri Vo82d94502017-06-23 15:42:32 -070033 header_libs: [
34 "libaudio_system_headers",
35 ],
36 export_header_lib_headers: [
37 "libaudio_system_headers",
38 ],
Dan Willemsena2b50fb2016-09-22 16:05:13 -070039 shared_libs: [
40 "liblog",
41 "libcutils",
Dan Willemsena2b50fb2016-09-22 16:05:13 -070042 "libaudioutils",
43 ],
44 cflags: [
45 "-Werror",
46 "-Wall",
47 "-Wno-unused-parameter",
48 ],
49}
David Li5cc38a02021-01-29 09:07:09 +000050
51cc_library_shared {
52 name: "libalsautils",
53 defaults: ["libalsautils_defaults"],
54 shared_libs: [
55 "libtinyalsa",
56 ],
57}
58
59cc_library_shared {
60 name: "libalsautilsv2",
61 defaults: ["libalsautils_defaults"],
62 shared_libs: [
63 "libtinyalsav2",
64 ],
65}