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

Unified Diff: gpu/config/BUILD.gn

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 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
Index: gpu/config/BUILD.gn
diff --git a/gpu/config/BUILD.gn b/gpu/config/BUILD.gn
index be7a444d5cb5812045e611216cdb02751115a344..5ac3319f99a83c22b6fa90cb871450171318e660 100644
--- a/gpu/config/BUILD.gn
+++ b/gpu/config/BUILD.gn
@@ -45,6 +45,9 @@ source_set("config") {
"software_rendering_list_json.cc",
]
+ # TODO(jschuh): size_t to int.
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
defines = [ "GPU_IMPLEMENTATION" ]
deps = [
@@ -69,9 +72,6 @@ source_set("config") {
"//third_party/amd/amd_videocard_info_win.cc",
]
}
-
- # TODO(jschuh): size_t to int.
- cflags = [ "/wd4267" ]
}
if (use_libpci) {
defines += [ "USE_LIBPCI=1" ]

Powered by Google App Engine
This is Rietveld 408576698