1cc_library_static {
2    name: "libcmd",
3
4    srcs: ["cmd.cpp"],
5    export_include_dirs: ["."],
6
7    shared_libs: [
8        "libutils",
9        "liblog",
10        "libselinux",
11        "libbinder",
12    ],
13
14    cflags: [
15        "-Wall",
16        "-Werror",
17        "-DXP_UNIX",
18    ],
19}
20
21cc_binary {
22    name: "cmd",
23
24    srcs: ["main.cpp"],
25
26    static_libs: [
27        "libcmd",
28    ],
29
30    shared_libs: [
31        "libutils",
32        "liblog",
33        "libselinux",
34        "libbinder",
35    ],
36
37    cflags: [
38        "-Wall",
39        "-Werror",
40        "-DXP_UNIX",
41    ],
42}
43