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

Unified Diff: net/third_party/nss/ssl/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: net/third_party/nss/ssl/BUILD.gn
diff --git a/net/third_party/nss/ssl/BUILD.gn b/net/third_party/nss/ssl/BUILD.gn
index 002bace8d6167efdd8d97b809b4d029e457c3655..d6035d517bbf738537ac59aad2a8dd0cbe4d9be0 100644
--- a/net/third_party/nss/ssl/BUILD.gn
+++ b/net/third_party/nss/ssl/BUILD.gn
@@ -67,11 +67,12 @@ component("libssl") {
]
configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [
+ "//build/config/compiler:no_chromium_code",
+ "//build/config/compiler:no_size_t_to_int_warning",
Dirk Pranke 2015/02/18 21:29:29 no_size_t is already disabled in no_chromium_code,
+ ]
if (is_win) {
- cflags += [ "/wd4267" ] # Disable warning: Conversion from size_t to 'type'.
-
sources -= [
"unix_err.c",
"unix_err.h",

Powered by Google App Engine
This is Rietveld 408576698