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.
47 lines
882 B
47 lines
882 B
package {
|
|
default_applicable_licenses: ["external_lz4_programs_license"],
|
|
}
|
|
|
|
license {
|
|
name: "external_lz4_programs_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-GPL",
|
|
"SPDX-license-identifier-GPL-2.0",
|
|
"SPDX-license-identifier-LGPL",
|
|
],
|
|
license_text: [
|
|
"COPYING",
|
|
],
|
|
}
|
|
|
|
cc_binary_host {
|
|
name: "lz4",
|
|
srcs: [
|
|
"datagen.c",
|
|
"bench.c",
|
|
"lz4io.c",
|
|
"lz4cli.c",
|
|
],
|
|
cflags: ["-Wall", "-Werror"],
|
|
static_libs: ["liblz4"],
|
|
stl: "libc++_static",
|
|
}
|
|
|
|
cc_binary_host {
|
|
name: "lz4c",
|
|
cflags: [
|
|
"-DENABLE_LZ4C_LEGACY_OPTIONS",
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
srcs: [
|
|
"datagen.c",
|
|
"bench.c",
|
|
"lz4io.c",
|
|
"lz4cli.c",
|
|
],
|
|
static_libs: ["liblz4"],
|
|
stl: "libc++_static",
|
|
}
|