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.

53 lines
1.1 KiB

// Copyright (C) 2015 The Android Open Source Project
package {
default_applicable_licenses: ["external_lz4_lib_license"],
}
// Added automatically by a large-scale-change
license {
name: "external_lz4_lib_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-BSD",
],
license_text: [
"LICENSE",
],
}
cc_library {
name: "liblz4",
apex_available: [
"//apex_available:platform",
"com.android.adbd",
"com.android.art", // from libartbase
"com.android.art.debug",
],
recovery_available: true,
vendor_available: true,
product_available: true,
vndk: {
enabled: true,
},
host_supported: true,
// TODO(b/153609531): remove when no longer needed.
native_bridge_supported: true,
target: {
windows: {
enabled: true,
shared: {
enabled: false,
},
},
},
srcs: [
"lz4.c",
"lz4hc.c",
"lz4frame.c",
"xxhash.c",
],
cflags: ["-Wall", "-Werror"],
export_include_dirs: ["."],
}