aosp12/external/fsck_msdos/Android.bp

44 lines
913 B
Plaintext

package {
default_applicable_licenses: ["external_fsck_msdos_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "external_fsck_msdos_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-BSD",
],
license_text: [
"NOTICE",
],
}
cc_binary {
name: "fsck_msdos",
srcs: [
"boot.c",
"check.c",
"dir.c",
"fat.c",
"fsutil.c",
"main.c",
],
include_dirs: ["external/fsck_msdos/"],
cflags: [
"-O2",
"-g",
"-Wall",
"-Werror",
"-D_BSD_SOURCE",
"-D_LARGEFILE_SOURCE",
"-D_FILE_OFFSET_BITS=64",
"-Wno-unused-variable",
"-Wno-unused-const-variable",
"-Wno-format",
"-Wno-sign-compare",
"-include freebsd-compat.h",
],
}