• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: ["external_fsck_msdos_license"],
3}
4
5// Added automatically by a large-scale-change
6// See: http://go/android-license-faq
7license {
8    name: "external_fsck_msdos_license",
9    visibility: [":__subpackages__"],
10    license_kinds: [
11        "SPDX-license-identifier-BSD",
12    ],
13    license_text: [
14        "NOTICE",
15    ],
16}
17
18cc_binary {
19    name: "fsck_msdos",
20    srcs: [
21        "boot.c",
22        "check.c",
23        "dir.c",
24        "fat.c",
25        "fsutil.c",
26        "main.c",
27    ],
28    include_dirs: ["external/fsck_msdos/"],
29    cflags: [
30        "-O2",
31        "-g",
32        "-Wall",
33        "-Werror",
34        "-D_BSD_SOURCE",
35        "-D_LARGEFILE_SOURCE",
36        "-D_FILE_OFFSET_BITS=64",
37        "-Wno-unused-variable",
38        "-Wno-unused-const-variable",
39        "-Wno-format",
40        "-Wno-sign-compare",
41        "-include freebsd-compat.h",
42    ],
43}
44