• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
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
9cc_defaults {
10    name: "libaudioroute_defaults",
11    vendor_available: true,
12    host_supported: true,
13    srcs: ["audio_route.c"],
14    export_include_dirs: ["include"],
15    shared_libs: [
16        "liblog",
17        "libcutils",
18        "libutils",
19        "libexpat",
20    ],
21    cflags: [
22        "-Werror",
23        "-Wall",
24    ],
25}
26
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}
45