1cc_defaults {
2    name: "sg3-utils-defaults",
3    cflags: [
4        "-Wno-unused-function"
5    ],
6    local_include_dirs: [
7        "include",
8    ],
9}
10
11cc_binary {
12    name: "sg_write_buffer",
13    defaults: [ "sg3-utils-defaults" ],
14    srcs: [
15        "sg_write_buffer.c",
16        "sg_cmds_basic.c",
17        "sg_cmds_basic2.c",
18        "sg_cmds_extra.c",
19        "sg_cmds_mmc.c",
20        "sg_io_linux.c",
21        "sg_lib.c",
22        "sg_lib_data.c",
23        "sg_pt_common.c",
24        "sg_pt_linux.c",
25        "sg_pt_linux_nvme.c",
26    ],
27    product_specific: true,
28}
29