Whamcloud - gitweb
LU-11545 debugfs: allow <inode> for ncheck
[tools/e2fsprogs.git] / Android.bp
index a095aea..79dd58e 100644 (file)
@@ -1,5 +1,23 @@
 // Copyright 2017 The Android Open Source Project
 
+cc_defaults {
+    name: "e2fsprogs-defaults",
+    cflags: ["-Wall", "-Werror"],
+    target: {
+        darwin: {
+            // Still has unfixed/unsuppressed warnings.
+            cflags: ["-Wno-error"],
+        },
+        windows: {
+            cflags: [
+                "-Wno-typedef-redefinition",
+                "-Wno-unused-parameter",
+                "-Wno-unused-variable",
+            ],
+        },
+    },
+}
+
 subdirs = [
     "contrib",
     "debugfs",