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

Unified Diff: content/common/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: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index 6bf0f6417f56455b0b10e982cb0be2eb4b599994..9ca66d2428bf3aa2a2ebe2609743ecf7f47dea54 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -130,7 +130,10 @@ source_set("common") {
".",
"//content")
- configs += [ "//content:content_implementation" ]
+ configs += [
+ "//content:content_implementation",
+ "//build/config/compiler:no_size_t_to_int_warning",
+ ]
public_deps = [
"//gpu/command_buffer/common",
@@ -453,6 +456,11 @@ source_set("common") {
]
}
}
+
+ if (is_win && cpu_arch == "x64") {
+ # TODO(jschuh): Remove this after crbug.com/173851 gets fixed.
+ cflags = [ "/bigobj" ]
+ }
Dirk Pranke 2015/02/18 21:29:29 Is this change intentional? It seems unrelated ...
}
mojom("mojo_bindings") {

Powered by Google App Engine
This is Rietveld 408576698