Bob Badour | 44dbe0f | 2021-02-12 15:30:30 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["external_tinycompress_license"], |
| 3 | } |
| 4 | |
| 5 | // Added automatically by a large-scale-change |
| 6 | // |
| 7 | // large-scale-change filtered out the below license kinds as false-positives: |
| 8 | // SPDX-license-identifier-LGPL |
| 9 | // SPDX-license-identifier-LGPL-2.1 |
| 10 | // See: http://go/android-license-faq |
| 11 | license { |
| 12 | name: "external_tinycompress_license", |
| 13 | visibility: [":__subpackages__"], |
| 14 | license_kinds: [ |
| 15 | "SPDX-license-identifier-BSD", |
| 16 | ], |
| 17 | license_text: [ |
| 18 | "NOTICE", |
| 19 | ], |
| 20 | } |
| 21 | |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 22 | cc_library_shared { |
| 23 | name: "libtinycompress", |
Michael Bestas | 4d98825 | 2019-09-20 01:12:11 +0300 | [diff] [blame] | 24 | defaults: ["extended_compress_format_defaults"], |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 25 | vendor: true, |
| 26 | |
Chih-Hung Hsieh | c1bc48f | 2017-09-29 11:29:00 -0700 | [diff] [blame] | 27 | cflags: [ |
| 28 | "-Wall", |
| 29 | "-Werror", |
| 30 | "-Wno-macro-redefined", |
| 31 | "-Wno-unused-function", |
| 32 | ], |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 33 | export_include_dirs: ["include"], |
| 34 | srcs: [ |
| 35 | "compress.c", |
| 36 | "utils.c", |
Vidyakumar Athota | 2b8db68 | 2020-12-10 12:05:54 +0100 | [diff] [blame] | 37 | "compress_hw.c", |
| 38 | "compress_plugin.c", |
| 39 | "snd_utils.c", |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 40 | ], |
| 41 | shared_libs: [ |
| 42 | "libcutils", |
| 43 | "libutils", |
| 44 | ], |
| 45 | header_libs: [ |
| 46 | "device_kernel_headers", |
| 47 | ], |
| 48 | } |
| 49 | |
| 50 | cc_binary { |
| 51 | name: "cplay", |
| 52 | vendor: true, |
| 53 | |
Chih-Hung Hsieh | c1bc48f | 2017-09-29 11:29:00 -0700 | [diff] [blame] | 54 | cflags: [ |
| 55 | "-Wall", |
| 56 | "-Werror", |
| 57 | "-Wno-macro-redefined" |
| 58 | ], |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 59 | local_include_dirs: ["include"], |
| 60 | srcs: ["cplay.c"], |
| 61 | shared_libs: [ |
| 62 | "libcutils", |
| 63 | "libutils", |
| 64 | "libtinycompress", |
| 65 | ], |
| 66 | } |