You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.3 KiB

package {
default_applicable_licenses: ["external_tinycompress_license"],
}
// Added automatically by a large-scale-change
//
// large-scale-change filtered out the below license kinds as false-positives:
// SPDX-license-identifier-LGPL
// SPDX-license-identifier-LGPL-2.1
// See: http://go/android-license-faq
license {
name: "external_tinycompress_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-BSD",
],
license_text: [
"NOTICE",
],
}
cc_library_shared {
name: "libtinycompress",
vendor: true,
cflags: [
"-Wall",
"-Werror",
"-Wno-macro-redefined",
"-Wno-unused-function",
],
export_include_dirs: ["include"],
srcs: [
"compress.c",
"utils.c",
"compress_hw.c",
"compress_plugin.c",
"snd_utils.c",
],
shared_libs: [
"libcutils",
"libutils",
],
header_libs: [
"device_kernel_headers",
],
}
cc_binary {
name: "cplay",
vendor: true,
cflags: [
"-Wall",
"-Werror",
"-Wno-macro-redefined"
],
local_include_dirs: ["include"],
srcs: ["cplay.c"],
shared_libs: [
"libcutils",
"libutils",
"libtinycompress",
],
}