Bob Badour | 8117c2a | 2021-02-03 18:31:58 -0800 | [diff] [blame] | 1 | package { |
| 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 Li | 5cc38a0 | 2021-01-29 09:07:09 +0000 | [diff] [blame] | 9 | cc_defaults { |
| 10 | name: "libaudioroute_defaults", |
Vijay Venkatraman | a25465b | 2017-05-09 11:30:33 -0700 | [diff] [blame] | 11 | vendor_available: true, |
David Li | 8457b84 | 2021-12-14 20:20:30 +0800 | [diff] [blame] | 12 | host_supported: true, |
Dan Willemsen | a2b50fb | 2016-09-22 16:05:13 -0700 | [diff] [blame] | 13 | srcs: ["audio_route.c"], |
David Li | 8457b84 | 2021-12-14 20:20:30 +0800 | [diff] [blame] | 14 | export_include_dirs: ["include"], |
Dan Willemsen | a2b50fb | 2016-09-22 16:05:13 -0700 | [diff] [blame] | 15 | shared_libs: [ |
| 16 | "liblog", |
| 17 | "libcutils", |
| 18 | "libutils", |
| 19 | "libexpat", |
Dan Willemsen | a2b50fb | 2016-09-22 16:05:13 -0700 | [diff] [blame] | 20 | ], |
| 21 | cflags: [ |
| 22 | "-Werror", |
| 23 | "-Wall", |
| 24 | ], |
| 25 | } |
David Li | 5cc38a0 | 2021-01-29 09:07:09 +0000 | [diff] [blame] | 26 | |
| 27 | cc_library_shared { |
| 28 | name: "libaudioroute", |
| 29 | defaults: ["libaudioroute_defaults"], |
| 30 | vndk: { |
| 31 | enabled: true, |
| 32 | }, |
| 33 | shared_libs: [ |
| 34 | "libtinyalsa", |
| 35 | ], |
| 36 | } |
| 37 | |
| 38 | cc_library_shared { |
| 39 | name: "libaudioroutev2", |
| 40 | defaults: ["libaudioroute_defaults"], |
| 41 | shared_libs: [ |
| 42 | "libtinyalsav2", |
| 43 | ], |
| 44 | } |