1cc_library {
2    name: "libzopfli",
3    host_supported: true,
4
5    cflags: [
6        "-O2",
7        "-Wno-unused-parameter",
8        "-Werror",
9    ],
10    srcs: [
11        "src/zopfli/blocksplitter.c",
12        "src/zopfli/cache.c",
13        "src/zopfli/deflate.c",
14        "src/zopfli/gzip_container.c",
15        "src/zopfli/hash.c",
16        "src/zopfli/katajainen.c",
17        "src/zopfli/lz77.c",
18        "src/zopfli/squeeze.c",
19        "src/zopfli/tree.c",
20        "src/zopfli/util.c",
21        "src/zopfli/zlib_container.c",
22        "src/zopfli/zopfli_lib.c",
23    ],
24
25    target: {
26        windows: {
27            enabled: true,
28        },
29    },
30}
31