• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: ["external_xz-embedded_license"],
3}
4
5// Added automatically by a large-scale-change
6// See: http://go/android-license-faq
7license {
8    name: "external_xz-embedded_license",
9    visibility: [":__subpackages__"],
10    license_kinds: [
11        "legacy_unencumbered",
12    ],
13    license_text: [
14        "COPYING",
15    ],
16}
17
18cc_library_static {
19    name: "libxz",
20    host_supported: true,
21    recovery_available: true,
22    srcs: [
23        "linux/lib/xz/xz_crc32.c",
24        "linux/lib/xz/xz_dec_bcj.c",
25        "linux/lib/xz/xz_dec_lzma2.c",
26        "linux/lib/xz/xz_dec_stream.c",
27    ],
28    local_include_dirs: ["userspace"],
29
30    // Enable branch/call/jump filters. See http://b/27817327.
31    cflags: [
32        "-DXZ_DEC_X86",
33        "-DXZ_DEC_ARM",
34        "-DXZ_DEC_ARMTHUMB",
35        "-Wall",
36        "-Werror",
37    ],
38
39    export_include_dirs: ["linux/include/linux/"],
40}
41