1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    //   SPDX-license-identifier-GPL-2.0
8    default_applicable_licenses: ["frameworks_base_license"],
9}
10
11cc_binary_host {
12    name: "accessorytest",
13
14    srcs: [
15        "accessory.c",
16        "audio.c",
17        "hid.c",
18        "usb.c",
19    ],
20
21    static_libs: [
22        "libusbhost",
23        "libcutils",
24        "libtinyalsa",
25    ],
26    cflags: [
27        "-O0",
28        "-Wno-unused-parameter",
29        "-Werror",
30    ],
31
32    target: {
33        darwin: {
34            // Build for Linux host only
35            enabled: false,
36        },
37    },
38}
39