1cc_library {
2    name: "libtimeinstate",
3    srcs: ["cputimeinstate.cpp"],
4    shared_libs: [
5        "libbase",
6        "libbpf",
7        "libbpf_android",
8        "liblog",
9        "libnetdutils"
10    ],
11    header_libs: ["bpf_prog_headers"],
12    cflags: [
13        "-Werror",
14        "-Wall",
15        "-Wextra",
16    ],
17    export_include_dirs: ["."],
18}
19
20cc_test {
21    name: "libtimeinstate_test",
22    srcs: ["testtimeinstate.cpp"],
23    shared_libs: [
24        "libbase",
25        "libbpf",
26        "libbpf_android",
27        "libtimeinstate",
28        "libnetdutils",
29    ],
30    header_libs: ["bpf_prog_headers"],
31    cflags: [
32        "-Werror",
33        "-Wall",
34        "-Wextra",
35    ],
36}
37
38