X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=Android.bp;h=79dd58ea7130e79d69b7394cb5a48e5a7df6c013;hb=740bbce95085d6678d15f95ed3c0b16828030b16;hp=a095aea8ada705c2d5c5a4544bcb957f873544ba;hpb=80c21ca370306137d14fd0a6da9fcc3ce898b298;p=thirdparty%2Fe2fsprogs.git diff --git a/Android.bp b/Android.bp index a095aea8a..79dd58ea7 100644 --- a/Android.bp +++ b/Android.bp @@ -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",