summaryrefslogtreecommitdiff
path: root/Android.bp
blob: 563b50a7ca8c0e8b394d946579f1a4be51d5ab05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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",
    ],
}