• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2015 The Android Open Source Project
2
3package {
4    default_applicable_licenses: ["system_extras_squashfs_utils_license"],
5}
6
7// Added automatically by a large-scale-change
8// See: http://go/android-license-faq
9license {
10    name: "system_extras_squashfs_utils_license",
11    visibility: [":__subpackages__"],
12    license_kinds: [
13        "SPDX-license-identifier-Apache-2.0",
14    ],
15    license_text: [
16        "NOTICE",
17    ],
18}
19
20cc_library {
21    name: "libsquashfs_utils",
22    cflags: ["-Werror"],
23    host_supported: true,
24    recovery_available: true,
25    srcs: [
26        "squashfs_utils.c",
27    ],
28    include_dirs: ["external/squashfs-tools/squashfs-tools"],
29    export_include_dirs: ["."],
30
31    shared_libs: [
32        "libcutils",
33    ],
34
35    target: {
36        host: {
37            cflags: [
38                "-Wall",
39                "-Werror",
40                "-D_GNU_SOURCE",
41                "-DSQUASHFS_NO_KLOG",
42            ],
43        },
44    },
45}
46
47sh_binary_host {
48    name: "mksquashfsimage.sh",
49    src: "mksquashfsimage.sh",
50    required: [
51        "img2simg",
52        "mksquashfs",
53    ],
54}
55