summaryrefslogtreecommitdiff
path: root/Android.bp
blob: 452fd2a9c63f5df4d20c572f401b920779131184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cc_library_shared {
    name: "libdaemon",

    srcs: [
        "libdaemon/dexec.c",
        "libdaemon/dfork.c",
        "libdaemon/dlog.c",
        "libdaemon/dnonblock.c",
        "libdaemon/dpid.c",
        "libdaemon/dsignal.c",
    ],

    export_include_dirs: ["."],

    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-error=user-defined-warnings",
        "-Wno-unused-parameter",
        "-DHAVE_CONFIG_H",
        "-DLOCALSTATEDIR=\"/var\"",
    ],
}