• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library_shared {
2    name: "libtinycompress",
3    vendor: true,
4
5    cflags: [
6        "-Wall",
7        "-Werror",
8        "-Wno-macro-redefined",
9        "-Wno-unused-function",
10    ],
11    export_include_dirs: ["include"],
12    srcs: [
13        "compress.c",
14        "utils.c",
15    ],
16    shared_libs: [
17        "libcutils",
18        "libutils",
19    ],
20    header_libs: [
21        "device_kernel_headers",
22    ],
23}
24
25cc_binary {
26    name: "cplay",
27    vendor: true,
28
29    cflags: [
30        "-Wall",
31        "-Werror",
32        "-Wno-macro-redefined"
33    ],
34    local_include_dirs: ["include"],
35    srcs: ["cplay.c"],
36    shared_libs: [
37        "libcutils",
38        "libutils",
39        "libtinycompress",
40    ],
41}
42