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", |
| 24 | vendor: true, |
| 25 | |
Chih-Hung Hsieh | c1bc48f | 2017-09-29 11:29:00 -0700 | [diff] [blame] | 26 | cflags: [ |
| 27 | "-Wall", |
| 28 | "-Werror", |
| 29 | "-Wno-macro-redefined", |
| 30 | "-Wno-unused-function", |
| 31 | ], |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 32 | export_include_dirs: ["include"], |
| 33 | srcs: [ |
| 34 | "compress.c", |
| 35 | "utils.c", |
Vidyakumar Athota | 2b8db68 | 2020-12-10 12:05:54 +0100 | [diff] [blame] | 36 | "compress_hw.c", |
| 37 | "compress_plugin.c", |
| 38 | "snd_utils.c", |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 39 | ], |
| 40 | shared_libs: [ |
| 41 | "libcutils", |
| 42 | "libutils", |
| 43 | ], |
| 44 | header_libs: [ |
| 45 | "device_kernel_headers", |
| 46 | ], |
| 47 | } |
| 48 | |
| 49 | cc_binary { |
| 50 | name: "cplay", |
| 51 | vendor: true, |
| 52 | |
Chih-Hung Hsieh | c1bc48f | 2017-09-29 11:29:00 -0700 | [diff] [blame] | 53 | cflags: [ |
| 54 | "-Wall", |
| 55 | "-Werror", |
| 56 | "-Wno-macro-redefined" |
| 57 | ], |
Steven Moreland | b09957d | 2017-05-04 16:03:38 -0700 | [diff] [blame] | 58 | local_include_dirs: ["include"], |
| 59 | srcs: ["cplay.c"], |
| 60 | shared_libs: [ |
| 61 | "libcutils", |
| 62 | "libutils", |
| 63 | "libtinycompress", |
| 64 | ], |
| 65 | } |