Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "libtinycompress", |
| 3 | vendor: true, |
| 4 | |
| 5 | cflags: ["-Wno-macro-redefined"], |
| 6 | export_include_dirs: ["include"], |
| 7 | srcs: [ |
| 8 | "compress.c", |
| 9 | "utils.c", |
| 10 | ], |
| 11 | shared_libs: [ |
| 12 | "libcutils", |
| 13 | "libutils", |
| 14 | ], |
| 15 | header_libs: [ |
| 16 | "device_kernel_headers", |
| 17 | ], |
| 18 | } |
| 19 | |
| 20 | cc_binary { |
| 21 | name: "cplay", |
| 22 | vendor: true, |
| 23 | |
| 24 | cflags: ["-Wno-macro-redefined"], |
| 25 | local_include_dirs: ["include"], |
| 26 | srcs: ["cplay.c"], |
| 27 | shared_libs: [ |
| 28 | "libcutils", |
| 29 | "libutils", |
| 30 | "libtinycompress", |
| 31 | ], |
| 32 | } |