From bc6cc8e4c74dc081f6e8ad5b2a4ff2e229488e9a Mon Sep 17 00:00:00 2001 From: jam Date: Fri, 14 Nov 2014 09:56:29 -0800 Subject: Fix crypto and net build on Windows GN. Review URL: https://codereview.chromium.org/732613003 Cr-Commit-Position: refs/heads/master@{#304233} --- crypto/BUILD.gn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crypto') diff --git a/crypto/BUILD.gn b/crypto/BUILD.gn index f342af9..dd4136a 100644 --- a/crypto/BUILD.gn +++ b/crypto/BUILD.gn @@ -124,6 +124,11 @@ component("crypto") { deps += [ "//third_party/android_tools:cpu_features" ] } + if (is_win) { + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + cflags = [ "/wd4267" ] + } + if (use_openssl) { # Remove NSS files when using OpenSSL sources -= [ -- cgit v1.1