Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "libtinycompress", |
| 3 | vendor: true, |
| 4 | |
Chih-Hung Hsieh | c1bc48f | 2017-09-29 11:29:00 -0700 | [diff] [blame] | 5 | cflags: [ |
| 6 | "-Wall", |
| 7 | "-Werror", |
| 8 | "-Wno-macro-redefined", |
| 9 | "-Wno-unused-function", |
| 10 | ], |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 11 | export_include_dirs: ["include"], |
| 12 | srcs: [ |
| 13 | "compress.c", |
| 14 | "utils.c", |
Vidyakumar Athota | 2b8db68 | 2020-12-10 12:05:54 +0100 | [diff] [blame] | 15 | "compress_hw.c", |
| 16 | "compress_plugin.c", |
| 17 | "snd_utils.c", |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 18 | ], |
| 19 | shared_libs: [ |
| 20 | "libcutils", |
| 21 | "libutils", |
| 22 | ], |
| 23 | header_libs: [ |
| 24 | "device_kernel_headers", |
| 25 | ], |
| 26 | } |
| 27 | |
| 28 | cc_binary { |
| 29 | name: "cplay", |
| 30 | vendor: true, |
| 31 | |
Chih-Hung Hsieh | c1bc48f | 2017-09-29 11:29:00 -0700 | [diff] [blame] | 32 | cflags: [ |
| 33 | "-Wall", |
| 34 | "-Werror", |
| 35 | "-Wno-macro-redefined" |
| 36 | ], |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 37 | local_include_dirs: ["include"], |
| 38 | srcs: ["cplay.c"], |
| 39 | shared_libs: [ |
| 40 | "libcutils", |
| 41 | "libutils", |
| 42 | "libtinycompress", |
| 43 | ], |
| 44 | } |