Index: tools/grit/grit_rule.gni |
diff --git a/tools/grit/grit_rule.gni b/tools/grit/grit_rule.gni |
index 4a1fc3e7b242cddcf51873fb8f53251f75acf494..d437ee102fd43074953846557af737dec067a831 100644 |
--- a/tools/grit/grit_rule.gni |
+++ b/tools/grit/grit_rule.gni |
@@ -357,7 +357,10 @@ |
} |
if ((is_linux || is_android) && enable_resource_whitelist_generation) { |
- configs += [ "//build/config/compiler:disable_unknown_pragma" ] |
+ cflags = [ |
+ "-Wunknown-pragmas", |
+ "-Wno-error=unknown-pragmas", |
+ ] |
} |
visibility = target_visibility |
} |