summaryrefslogtreecommitdiff
path: root/qcom/qrtr/Android.bp
blob: 8103bb6abef5911cc2abdad0d2ff21d6429e9430 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package {
    default_applicable_licenses: [
        "device_linaro_dragonboard_qcom_qrtr_license",
    ],
}

// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
    name: "device_linaro_dragonboard_qcom_qrtr_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-BSD",
    ],
    license_text: [
        "LICENSE",
    ],
}

cc_library {
    name: "libqrtr",
    vendor: true,
    srcs: [
        "lib/logging.c",
        "lib/qrtr.c",
        "lib/qmi.c",
    ],
    cflags: ["-fPIC"],
    export_include_dirs: ["lib"],
    local_include_dirs: ["src"],
}

cc_binary {
    name: "qrtr-ns",
    vendor: true,
    srcs: [
        "lib/logging.c",
        "src/addr.c",
        "src/ns.c",
        "src/map.c",
        "src/hash.c",
        "src/waiter.c",
        "src/util.c",
    ],
    local_include_dirs: ["lib"],
}

cc_binary {
    name: "qrtr-cfg",
    vendor: true,
    srcs: [
        "lib/logging.c",
        "src/addr.c",
        "src/cfg.c",
    ],
    local_include_dirs: ["lib"],
}

cc_binary {
    name: "qrtr-lookup",
    vendor: true,
    srcs: [
        "lib/logging.c",
        "src/lookup.c",
        "src/util.c",
    ],
    local_include_dirs: ["lib"],
}