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

Unified Diff: third_party/mesa/BUILD.gn

Issue 1880113003: Enable /GL for all targets in Official (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Created 4 years, 8 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/compiler.gni ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/BUILD.gn
diff --git a/third_party/mesa/BUILD.gn b/third_party/mesa/BUILD.gn
index 01e4ad427236040984b150e870cab850d00fe462..4f68a2e7d75b5aef89089c124c13c8db904e8355 100644
--- a/third_party/mesa/BUILD.gn
+++ b/third_party/mesa/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/ui.gni")
+import("//build/config/compiler/compiler.gni")
import("//build/config/sanitizers/sanitizers.gni")
config("mesa_headers_config") {
@@ -144,6 +145,11 @@ config("mesa_internal_warnings") {
"/wd4345", # POD-type default initializers.
"/wd4311", # Pointer truncation TODO(brucedawson): http://crbug.com/554200
]
+ if (is_official_build && full_wpo_on_official) {
+ # TODO(sebmarchand): http://crbug.com/604838 This should be removed if
+ # Mesa is ever rolled and the warning is fixed.
+ cflags += [ "/wd4723" ] # potential divide by 0.
+ }
}
}
« no previous file with comments | « build/config/compiler/compiler.gni ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698