summaryrefslogtreecommitdiff
path: root/contrib/Android.bp
blob: c2d5cd91a58ad76bdf83c9e7732e4d235f889c5b (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
// Copyright 2017 The Android Open Source Project

subdirs = ["android"]

//##########################################################################
// Build fsstress

cc_binary {
    name: "fsstress",
    host_supported: true,

    srcs: ["fsstress.c"],
    cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
    system_shared_libs: ["libc"],

    target: {
        darwin: {
            enabled: false,
        },
    },
}

//########################################################################
// Build add_ext4_encrypt

cc_binary {
    name: "add_ext4_encrypt",
    host_supported: true,

    srcs: ["add_ext4_encrypt.c"],
    cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
    shared_libs: [
        "libext2fs",
        "libext2_com_err",
    ],
    system_shared_libs: ["libc"],
}