Index: third_party/boringssl/boringssl_tests.gypi |
diff --git a/third_party/boringssl/boringssl_tests.gypi b/third_party/boringssl/boringssl_tests.gypi |
index 81893dbb90e8a934a8fe2e2f2f4751db650cedb9..cec678053cbaf0c8154562baf340bdb6894de01d 100644 |
--- a/third_party/boringssl/boringssl_tests.gypi |
+++ b/third_party/boringssl/boringssl_tests.gypi |
@@ -2,7 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-# This file is created by update_gypi_and_asm.py. Do not edit manually. |
+# This file is created by generate_build_files.py. Do not edit manually. |
{ |
'targets': [ |
@@ -14,6 +14,7 @@ |
], |
'sources': [ |
'src/crypto/base64/base64_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -27,6 +28,7 @@ |
], |
'sources': [ |
'src/crypto/bio/bio_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -40,6 +42,7 @@ |
], |
'sources': [ |
'src/crypto/bn/bn_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -53,6 +56,7 @@ |
], |
'sources': [ |
'src/crypto/bytestring/bytestring_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -65,7 +69,8 @@ |
'boringssl.gyp:boringssl', |
], |
'sources': [ |
- 'src/crypto/cipher/aead_test.c', |
+ 'src/crypto/cipher/aead_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -79,6 +84,21 @@ |
], |
'sources': [ |
'src/crypto/cipher/cipher_test.c', |
+ '<@(boringssl_test_support_sources)', |
+ ], |
+ # TODO(davidben): Fix size_t truncations in BoringSSL. |
+ # https://crbug.com/429039 |
+ 'msvs_disabled_warnings': [ 4267, ], |
+ }, |
+ { |
+ 'target_name': 'boringssl_cmac_test', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'boringssl.gyp:boringssl', |
+ ], |
+ 'sources': [ |
+ 'src/crypto/cmac/cmac_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -92,6 +112,7 @@ |
], |
'sources': [ |
'src/crypto/constant_time_test.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -104,7 +125,8 @@ |
'boringssl.gyp:boringssl', |
], |
'sources': [ |
- 'src/crypto/dh/dh_test.c', |
+ 'src/crypto/dh/dh_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -118,6 +140,7 @@ |
], |
'sources': [ |
'src/crypto/digest/digest_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -131,6 +154,7 @@ |
], |
'sources': [ |
'src/crypto/dsa/dsa_test.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -144,6 +168,7 @@ |
], |
'sources': [ |
'src/crypto/ec/ec_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -157,6 +182,7 @@ |
], |
'sources': [ |
'src/crypto/ec/example_mul.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -170,6 +196,7 @@ |
], |
'sources': [ |
'src/crypto/ecdsa/ecdsa_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -183,6 +210,21 @@ |
], |
'sources': [ |
'src/crypto/err/err_test.cc', |
+ '<@(boringssl_test_support_sources)', |
+ ], |
+ # TODO(davidben): Fix size_t truncations in BoringSSL. |
+ # https://crbug.com/429039 |
+ 'msvs_disabled_warnings': [ 4267, ], |
+ }, |
+ { |
+ 'target_name': 'boringssl_evp_extra_test', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'boringssl.gyp:boringssl', |
+ ], |
+ 'sources': [ |
+ 'src/crypto/evp/evp_extra_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -196,6 +238,7 @@ |
], |
'sources': [ |
'src/crypto/evp/evp_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -209,6 +252,7 @@ |
], |
'sources': [ |
'src/crypto/evp/pbkdf_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -222,6 +266,7 @@ |
], |
'sources': [ |
'src/crypto/hkdf/hkdf_test.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -235,6 +280,7 @@ |
], |
'sources': [ |
'src/crypto/hmac/hmac_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -248,6 +294,7 @@ |
], |
'sources': [ |
'src/crypto/lhash/lhash_test.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -261,6 +308,7 @@ |
], |
'sources': [ |
'src/crypto/modes/gcm_test.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -273,7 +321,8 @@ |
'boringssl.gyp:boringssl', |
], |
'sources': [ |
- 'src/crypto/pkcs8/pkcs12_test.c', |
+ 'src/crypto/pkcs8/pkcs12_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -287,6 +336,7 @@ |
], |
'sources': [ |
'src/crypto/rsa/rsa_test.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -300,6 +350,7 @@ |
], |
'sources': [ |
'src/crypto/thread_test.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -313,6 +364,7 @@ |
], |
'sources': [ |
'src/crypto/x509/pkcs7_test.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -326,6 +378,7 @@ |
], |
'sources': [ |
'src/ssl/pqueue/pqueue_test.c', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -339,6 +392,7 @@ |
], |
'sources': [ |
'src/ssl/ssl_test.cc', |
+ '<@(boringssl_test_support_sources)', |
], |
# TODO(davidben): Fix size_t truncations in BoringSSL. |
# https://crbug.com/429039 |
@@ -346,6 +400,9 @@ |
}, |
], |
'variables': { |
+ 'boringssl_test_support_sources': [ |
+ 'src/crypto/test/file_test.cc', |
+ ], |
'boringssl_test_targets': [ |
'boringssl_aead_test', |
'boringssl_base64_test', |
@@ -353,6 +410,7 @@ |
'boringssl_bn_test', |
'boringssl_bytestring_test', |
'boringssl_cipher_test', |
+ 'boringssl_cmac_test', |
'boringssl_constant_time_test', |
'boringssl_dh_test', |
'boringssl_digest_test', |
@@ -360,6 +418,7 @@ |
'boringssl_ec_test', |
'boringssl_ecdsa_test', |
'boringssl_err_test', |
+ 'boringssl_evp_extra_test', |
'boringssl_evp_test', |
'boringssl_example_mul', |
'boringssl_gcm_test', |