blob: 7ba7b6a28ee8cd377ade16450e000ce65a9df557 [file] [log] [blame]
Bob Badour8117c2a2021-02-03 18:31:58 -08001package {
2 // http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // the below license kinds from "system_media_license":
5 // SPDX-license-identifier-Apache-2.0
6 default_applicable_licenses: ["system_media_license"],
7}
8
David Li5cc38a02021-01-29 09:07:09 +00009cc_defaults {
10 name: "libaudioroute_defaults",
Vijay Venkatramana25465b2017-05-09 11:30:33 -070011 vendor_available: true,
David Li8457b842021-12-14 20:20:30 +080012 host_supported: true,
Dan Willemsena2b50fb2016-09-22 16:05:13 -070013 srcs: ["audio_route.c"],
David Li8457b842021-12-14 20:20:30 +080014 export_include_dirs: ["include"],
Dan Willemsena2b50fb2016-09-22 16:05:13 -070015 shared_libs: [
16 "liblog",
17 "libcutils",
18 "libutils",
19 "libexpat",
Dan Willemsena2b50fb2016-09-22 16:05:13 -070020 ],
21 cflags: [
22 "-Werror",
23 "-Wall",
24 ],
25}
David Li5cc38a02021-01-29 09:07:09 +000026
27cc_library_shared {
28 name: "libaudioroute",
29 defaults: ["libaudioroute_defaults"],
30 vndk: {
31 enabled: true,
32 },
33 shared_libs: [
34 "libtinyalsa",
35 ],
36}
37
38cc_library_shared {
39 name: "libaudioroutev2",
40 defaults: ["libaudioroute_defaults"],
41 shared_libs: [
42 "libtinyalsav2",
43 ],
44}