diff --git a/libgrallocusage/Android.bp b/libgrallocusage/Android.bp index d27feb99a..ce0c3c8fe 100644 --- a/libgrallocusage/Android.bp +++ b/libgrallocusage/Android.bp @@ -20,12 +20,7 @@ cc_library { "-Werror", ], cppflags: [ - "-Weverything", - "-Wno-c++98-compat-pedantic", - // Hide errors in headers we include - "-Wno-global-constructors", - "-Wno-exit-time-destructors", - "-Wno-padded", + "-Wextra", ], srcs: ["GrallocUsageConversion.cpp"], export_include_dirs: ["include"],