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 ramdisk_available: true, 25 vendor_ramdisk_available: true, 26 recovery_available: true, 27 srcs: [ 28 "squashfs_utils.c", 29 ], 30 include_dirs: ["external/squashfs-tools/squashfs-tools"], 31 export_include_dirs: ["."], 32 33 shared_libs: [ 34 "libcutils", 35 ], 36 37 target: { 38 host: { 39 cflags: [ 40 "-Wall", 41 "-Werror", 42 "-D_GNU_SOURCE", 43 "-DSQUASHFS_NO_KLOG", 44 ], 45 }, 46 }, 47} 48 49sh_binary_host { 50 name: "mksquashfsimage", 51 src: "mksquashfsimage.sh", 52 required: [ 53 "img2simg", 54 "mksquashfs", 55 ], 56} 57