Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: tools/grit/grit_rule.gni

Issue 2708923007: Revert of Fix repeated "-Wunknown-pragmas -Wno-error=unknown-pragmas". (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698