summaryrefslogtreecommitdiff
path: root/libs/usb/tests/accessorytest/Android.bp
blob: c6340e32e60c457cf7d42aec9a995ac62ab34458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
cc_binary_host {
    name: "accessorytest",

    srcs: [
        "accessory.c",
        "audio.c",
        "hid.c",
        "usb.c",
    ],

    static_libs: [
        "libusbhost",
        "libcutils",
        "libtinyalsa",
    ],
    cflags: [
        "-O0",
        "-Wno-unused-parameter",
        "-Werror",
    ],

    target: {
        darwin: {
            // Build for Linux host only
            enabled: false,
        },
    },
}