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

Unified Diff: third_party/libjingle/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
« no previous file with comments | « third_party/libexif/BUILD.gn ('k') | third_party/libpng/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjingle/BUILD.gn
diff --git a/third_party/libjingle/BUILD.gn b/third_party/libjingle/BUILD.gn
index 6357b92b9694cfe40f4242cd1903047969ba2f6a..fc13ff1038eaceee09ff54cdf48854621f015711 100644
--- a/third_party/libjingle/BUILD.gn
+++ b/third_party/libjingle/BUILD.gn
@@ -256,6 +256,10 @@ static_library("libjingle") {
"$p2p_dir/base/constants.cc",
"$p2p_dir/base/constants.h",
]
+
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
public_deps = [
":jingle_deps",
]
@@ -266,10 +270,7 @@ static_library("libjingle") {
# From libjingle_common.gypi's conditions list.
if (is_win) {
- cflags = [
- "/wd4005",
- "/wd4267",
- ]
+ cflags = [ "/wd4005" ]
}
configs += [ ":jingle_unexported_configs" ]
« no previous file with comments | « third_party/libexif/BUILD.gn ('k') | third_party/libpng/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698