blob: 51952e57d1850b7197f265a4c76914865bbcade2 [file] [log] [blame]
Steven Morelandb09957d2017-05-04 16:03:38 -07001cc_library_shared {
2 name: "libtinycompress",
Michael Bestasd78bf3b2019-09-20 01:12:11 +03003 defaults: ["extended_compress_format_defaults"],
Steven Morelandb09957d2017-05-04 16:03:38 -07004 vendor: true,
5
Chih-Hung Hsiehc1bc48f2017-09-29 11:29:00 -07006 cflags: [
7 "-Wall",
8 "-Werror",
9 "-Wno-macro-redefined",
10 "-Wno-unused-function",
11 ],
Steven Morelandb09957d2017-05-04 16:03:38 -070012 export_include_dirs: ["include"],
13 srcs: [
14 "compress.c",
15 "utils.c",
16 ],
17 shared_libs: [
18 "libcutils",
19 "libutils",
20 ],
21 header_libs: [
Sam Mortimere2afd842018-09-18 21:23:09 -070022 "device_kernel_headers",
Steven Morelandb09957d2017-05-04 16:03:38 -070023 ],
24}
25
26cc_binary {
27 name: "cplay",
28 vendor: true,
29
Chih-Hung Hsiehc1bc48f2017-09-29 11:29:00 -070030 cflags: [
31 "-Wall",
32 "-Werror",
33 "-Wno-macro-redefined"
34 ],
Steven Morelandb09957d2017-05-04 16:03:38 -070035 local_include_dirs: ["include"],
36 srcs: ["cplay.c"],
37 shared_libs: [
38 "libcutils",
39 "libutils",
40 "libtinycompress",
41 ],
42}