aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index a095aea8..8e44ba7b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,17 @@
// Copyright 2017 The Android Open Source Project
+cc_defaults {
+ name: "e2fsprogs-defaults",
+ clang_cflags: ["-Wno-error=macro-redefined"],
+ cflags: ["-Wall", "-Werror"],
+ target: {
+ darwin: {
+ // Still has unfixed/unsuppressed warnings.
+ cflags: ["-Wno-error"],
+ },
+ },
+}
+
subdirs = [
"contrib",
"debugfs",