summaryrefslogtreecommitdiffstats
path: root/crypto/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/BUILD.gn')
-rw-r--r--crypto/BUILD.gn8
1 files changed, 3 insertions, 5 deletions
diff --git a/crypto/BUILD.gn b/crypto/BUILD.gn
index f6c45aa..d717197 100644
--- a/crypto/BUILD.gn
+++ b/crypto/BUILD.gn
@@ -93,6 +93,9 @@ component("crypto") {
"third_party/nss/sha512.cc",
]
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
deps = [
":platform",
"//base",
@@ -126,11 +129,6 @@ 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 -= [