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

Unified Diff: third_party/mesa/BUILD.gn

Issue 1348493002: Add fnl build target (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
« mojo/tools/mopy/gn.py ('K') | « services/http_server/http_server_apptest.cc ('k') | no next file » | 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 acdca8616273962c6b81f55e89cd44e26f4465cd..9ff2ce490e149b00274099fecffddc59958621ab 100644
--- a/third_party/mesa/BUILD.gn
+++ b/third_party/mesa/BUILD.gn
@@ -3,6 +3,9 @@
# found in the LICENSE file.
import("//build/config/ui.gni")
+if (is_posix) {
viettrungluu 2015/09/15 23:48:23 && !is_clang? Or maybe even just |if (!is_clang)|
cdotstout 2015/09/16 22:01:00 Copied this from build/config/compiler/BUILD.gn so
+ import("//build/config/gcc/gcc_version.gni")
+}
config("mesa_headers_config") {
include_dirs = [ "src/include" ]
@@ -80,6 +83,8 @@ config("mesa_internal_config") {
if (is_clang) {
cflags += [ "-Wno-tautological-constant-out-of-range-compare" ]
+ } else if (gcc_version >= 48) {
+ cflags += [ "-Wno-narrowing" ]
}
if (is_android) {
« mojo/tools/mopy/gn.py ('K') | « services/http_server/http_server_apptest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698