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.

41 lines
919 B

package {
default_applicable_licenses: ["external_xz-embedded_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "external_xz-embedded_license",
visibility: [":__subpackages__"],
license_kinds: [
"legacy_unencumbered",
],
license_text: [
"COPYING",
],
}
cc_library_static {
name: "libxz",
host_supported: true,
recovery_available: true,
srcs: [
"linux/lib/xz/xz_crc32.c",
"linux/lib/xz/xz_dec_bcj.c",
"linux/lib/xz/xz_dec_lzma2.c",
"linux/lib/xz/xz_dec_stream.c",
],
local_include_dirs: ["userspace"],
// Enable branch/call/jump filters. See http://b/27817327.
cflags: [
"-DXZ_DEC_X86",
"-DXZ_DEC_ARM",
"-DXZ_DEC_ARMTHUMB",
"-Wall",
"-Werror",
],
export_include_dirs: ["linux/include/linux/"],
}