summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorjam <jam@chromium.org>2014-11-14 09:56:29 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-14 17:56:50 +0000
commitbc6cc8e4c74dc081f6e8ad5b2a4ff2e229488e9a (patch)
treef80e0f9a6cc49910dc791d0daabdc4e87103d7a9 /crypto
parent344eaadb0f57fa347e617d2c08e8d4fb8c824e7d (diff)
downloadchromium_src-bc6cc8e4c74dc081f6e8ad5b2a4ff2e229488e9a.zip
chromium_src-bc6cc8e4c74dc081f6e8ad5b2a4ff2e229488e9a.tar.gz
chromium_src-bc6cc8e4c74dc081f6e8ad5b2a4ff2e229488e9a.tar.bz2
Fix crypto and net build on Windows GN.
Review URL: https://codereview.chromium.org/732613003 Cr-Commit-Position: refs/heads/master@{#304233}
Diffstat (limited to 'crypto')
-rw-r--r--crypto/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
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 -= [