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: [ |
Sam Mortimer | 41d822f | 2018-09-18 21:23:09 -0700 | [diff] [blame] | 21 | "generated_kernel_headers", |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 22 | ], |
Michael Bestas | 5eebb5e | 2019-09-20 01:12:11 +0300 | [diff] [blame] | 23 | product_variables: { |
| 24 | bliss: { |
| 25 | supports_extended_compress_format: { |
| 26 | cflags: ["-DENABLE_EXTENDED_COMPRESS_FORMAT"], |
| 27 | }, |
| 28 | }, |
| 29 | }, |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | cc_binary { |
| 33 | name: "cplay", |
| 34 | vendor: true, |
| 35 | |
Chih-Hung Hsieh | c1bc48f | 2017-09-29 11:29:00 -0700 | [diff] [blame] | 36 | cflags: [ |
| 37 | "-Wall", |
| 38 | "-Werror", |
| 39 | "-Wno-macro-redefined" |
| 40 | ], |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 41 | local_include_dirs: ["include"], |
| 42 | srcs: ["cplay.c"], |
| 43 | shared_libs: [ |
| 44 | "libcutils", |
| 45 | "libutils", |
| 46 | "libtinycompress", |
| 47 | ], |
| 48 | } |