| Index: third_party/boringssl/boringssl_tests.gypi
|
| diff --git a/third_party/boringssl/boringssl_tests.gypi b/third_party/boringssl/boringssl_tests.gypi
|
| index 9413d8c9334786f0676862aaf1c63b30c6726d7b..1076214f33e3c49037069fd8ba2d067f2bf4808a 100644
|
| --- a/third_party/boringssl/boringssl_tests.gypi
|
| +++ b/third_party/boringssl/boringssl_tests.gypi
|
| @@ -1,4 +1,4 @@
|
| -# Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| +# Copyright (c) 2016 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| @@ -7,6 +7,34 @@
|
| {
|
| 'targets': [
|
| {
|
| + 'target_name': 'boringssl_aes_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/aes/aes_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_asn1_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/asn1/asn1_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_base64_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| @@ -63,6 +91,20 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| + 'target_name': 'boringssl_chacha_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/chacha/chacha_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_aead_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| @@ -119,6 +161,48 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| + 'target_name': 'boringssl_ed25519_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/curve25519/ed25519_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_spake25519_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/curve25519/spake25519_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_x25519_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/curve25519/x25519_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_dh_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| @@ -315,6 +399,62 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| + 'target_name': 'boringssl_newhope_statistical_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/newhope/newhope_statistical_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_newhope_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/newhope/newhope_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_newhope_vectors_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/newhope/newhope_vectors_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_obj_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/obj/obj_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_pkcs12_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| @@ -329,6 +469,34 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| + 'target_name': 'boringssl_pkcs8_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/pkcs8/pkcs8_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_poly1305_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/poly1305/poly1305_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_refcount_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| @@ -385,13 +553,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_tab_test',
|
| + 'target_name': 'boringssl_x509_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/x509v3/tab_test.c',
|
| + 'src/crypto/x509/x509_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -399,13 +567,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_v3name_test',
|
| + 'target_name': 'boringssl_tab_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/x509v3/v3name_test.c',
|
| + 'src/crypto/x509v3/tab_test.c',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -413,13 +581,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_pqueue_test',
|
| + 'target_name': 'boringssl_v3name_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/ssl/pqueue/pqueue_test.c',
|
| + 'src/crypto/x509v3/v3name_test.c',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -444,14 +612,25 @@
|
| 'variables': {
|
| 'boringssl_test_support_sources': [
|
| 'src/crypto/test/file_test.cc',
|
| + 'src/crypto/test/file_test.h',
|
| 'src/crypto/test/malloc.cc',
|
| + 'src/crypto/test/scoped_types.h',
|
| + 'src/crypto/test/test_util.cc',
|
| + 'src/crypto/test/test_util.h',
|
| + 'src/ssl/test/async_bio.h',
|
| + 'src/ssl/test/packeted_bio.h',
|
| + 'src/ssl/test/scoped_types.h',
|
| + 'src/ssl/test/test_config.h',
|
| ],
|
| 'boringssl_test_targets': [
|
| 'boringssl_aead_test',
|
| + 'boringssl_aes_test',
|
| + 'boringssl_asn1_test',
|
| 'boringssl_base64_test',
|
| 'boringssl_bio_test',
|
| 'boringssl_bn_test',
|
| 'boringssl_bytestring_test',
|
| + 'boringssl_chacha_test',
|
| 'boringssl_cipher_test',
|
| 'boringssl_cmac_test',
|
| 'boringssl_constant_time_test',
|
| @@ -460,6 +639,7 @@
|
| 'boringssl_dsa_test',
|
| 'boringssl_ec_test',
|
| 'boringssl_ecdsa_test',
|
| + 'boringssl_ed25519_test',
|
| 'boringssl_err_test',
|
| 'boringssl_evp_extra_test',
|
| 'boringssl_evp_test',
|
| @@ -468,16 +648,24 @@
|
| 'boringssl_hkdf_test',
|
| 'boringssl_hmac_test',
|
| 'boringssl_lhash_test',
|
| + 'boringssl_newhope_statistical_test',
|
| + 'boringssl_newhope_test',
|
| + 'boringssl_newhope_vectors_test',
|
| + 'boringssl_obj_test',
|
| 'boringssl_pbkdf_test',
|
| 'boringssl_pkcs12_test',
|
| 'boringssl_pkcs7_test',
|
| - 'boringssl_pqueue_test',
|
| + 'boringssl_pkcs8_test',
|
| + 'boringssl_poly1305_test',
|
| 'boringssl_refcount_test',
|
| 'boringssl_rsa_test',
|
| + 'boringssl_spake25519_test',
|
| 'boringssl_ssl_test',
|
| 'boringssl_tab_test',
|
| 'boringssl_thread_test',
|
| 'boringssl_v3name_test',
|
| + 'boringssl_x25519_test',
|
| + 'boringssl_x509_test',
|
| ],
|
| }
|
| }
|
|
|