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", |
| 15 | ], |
| 16 | shared_libs: [ |
| 17 | "libcutils", |
| 18 | "libutils", |
| 19 | ], |
| 20 | header_libs: [ |
| 21 | "device_kernel_headers", |
| 22 | ], |
| 23 | } |
| 24 | |
| 25 | cc_binary { |
| 26 | name: "cplay", |
| 27 | vendor: true, |
| 28 | |
Chih-Hung Hsieh | c1bc48f | 2017-09-29 11:29:00 -0700 | [diff] [blame] | 29 | cflags: [ |
| 30 | "-Wall", |
| 31 | "-Werror", |
| 32 | "-Wno-macro-redefined" |
| 33 | ], |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 34 | local_include_dirs: ["include"], |
| 35 | srcs: ["cplay.c"], |
| 36 | shared_libs: [ |
| 37 | "libcutils", |
| 38 | "libutils", |
| 39 | "libtinycompress", |
| 40 | ], |
| 41 | } |