summaryrefslogtreecommitdiffstats
blob: 2efda86cdba7d7e960f45b1d20db89067e445f4a (plain) (blame)
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
cc_binary {
    name: "lmkd",

    srcs: ["lmkd.c"],
    shared_libs: [
        "libcutils",
        "liblog",
    ],
    local_include_dirs: ["include"],
    cflags: ["-Werror"],

    init_rc: ["lmkd.rc"],

    product_variables: {
        debuggable: {
            cflags: [
                "-DLMKD_TRACE_KILLS"
            ],
        },
    },
}

cc_library_static {
    name: "liblmkd_utils",
    srcs: ["liblmkd_utils.c"],
    shared_libs: [
        "libcutils",
    ],
    export_include_dirs: ["include"],
    cppflags: [
        "-g",
        "-Wall",
        "-Werror",
    ]
}