Whamcloud - gitweb
AOSP: Disable macro redefined warnings.
[tools/e2fsprogs.git] / contrib / Android.bp
1 // Copyright 2017 The Android Open Source Project
2
3 subdirs = ["android"]
4
5 //##########################################################################
6 // Build fsstress
7
8 cc_binary {
9     name: "fsstress",
10     host_supported: true,
11
12     srcs: ["fsstress.c"],
13     cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
14     system_shared_libs: ["libc"],
15
16     target: {
17         darwin: {
18             enabled: false,
19         },
20     },
21 }
22
23 //########################################################################
24 // Build add_ext4_encrypt
25
26 cc_binary {
27     name: "add_ext4_encrypt",
28     host_supported: true,
29
30     srcs: ["add_ext4_encrypt.c"],
31     cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
32     shared_libs: [
33         "libext2fs",
34         "libext2_com_err",
35     ],
36     system_shared_libs: ["libc"],
37 }