| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 | 8 |
| 9 'linux_link_kerberos%': 0, | 9 'linux_link_kerberos%': 0, |
| 10 'conditions': [ | 10 'conditions': [ |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 # See bug http://crbug.com/344533. | 171 # See bug http://crbug.com/344533. |
| 172 'disk_cache/blockfile/index_table_v3_unittest.cc', | 172 'disk_cache/blockfile/index_table_v3_unittest.cc', |
| 173 ], | 173 ], |
| 174 'dependencies': [ | 174 'dependencies': [ |
| 175 'net_javatests', | 175 'net_javatests', |
| 176 'net_test_jni_headers', | 176 'net_test_jni_headers', |
| 177 ], | 177 ], |
| 178 }], | 178 }], |
| 179 [ 'use_nss_certs != 1', { | 179 [ 'use_nss_certs != 1', { |
| 180 'sources!': [ | 180 'sources!': [ |
| 181 'cert/nss_cert_database_unittest.cc', |
| 182 'cert/nss_cert_database_chromeos_unittest.cc', |
| 183 'cert/nss_profile_filter_chromeos_unittest.cc', |
| 181 'ssl/client_cert_store_chromeos_unittest.cc', | 184 'ssl/client_cert_store_chromeos_unittest.cc', |
| 182 'ssl/client_cert_store_nss_unittest.cc', | 185 'ssl/client_cert_store_nss_unittest.cc', |
| 183 ], | 186 ], |
| 184 }], | 187 }], |
| 185 [ 'use_openssl == 1', { | 188 [ 'use_openssl == 1', { |
| 186 # Avoid compiling/linking with the system library. | 189 # Avoid compiling/linking with the system library. |
| 187 'dependencies': [ | 190 'dependencies': [ |
| 188 '../third_party/boringssl/boringssl.gyp:boringssl', | 191 '../third_party/boringssl/boringssl.gyp:boringssl', |
| 189 ], | 192 ], |
| 190 }, { # use_openssl == 0 | 193 }], |
| 194 [ 'use_nss_certs == 1 or OS == "ios" or use_openssl == 0', { |
| 191 'conditions': [ | 195 'conditions': [ |
| 192 [ 'desktop_linux == 1 or chromeos == 1', { | 196 [ 'desktop_linux == 1 or chromeos == 1', { |
| 193 'dependencies': [ | 197 'dependencies': [ |
| 194 '../build/linux/system.gyp:ssl', | 198 '../build/linux/system.gyp:ssl', |
| 195 ], | 199 ], |
| 196 }, { # desktop_linux == 0 and chromeos == 0 | 200 }, { # desktop_linux == 0 and chromeos == 0 |
| 197 'dependencies': [ | 201 'dependencies': [ |
| 198 '../third_party/nss/nss.gyp:nspr', | 202 '../third_party/nss/nss.gyp:nspr', |
| 199 '../third_party/nss/nss.gyp:nss', | 203 '../third_party/nss/nss.gyp:nss', |
| 200 'third_party/nss/ssl.gyp:libssl', | 204 'third_party/nss/ssl.gyp:libssl', |
| 201 ], | 205 ], |
| 202 'sources!': [ | |
| 203 'cert/nss_cert_database_unittest.cc', | |
| 204 ], | |
| 205 }], | 206 }], |
| 206 ], | 207 ], |
| 207 }], | 208 }], |
| 208 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | 209 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
| 209 'conditions': [ | 210 'conditions': [ |
| 210 ['use_allocator!="none"', { | 211 ['use_allocator!="none"', { |
| 211 'dependencies': [ | 212 'dependencies': [ |
| 212 '../base/allocator/allocator.gyp:allocator', | 213 '../base/allocator/allocator.gyp:allocator', |
| 213 ], | 214 ], |
| 214 }], | 215 }], |
| (...skipping 17 matching lines...) Expand all Loading... |
| 232 'sources!': [ | 233 'sources!': [ |
| 233 'cert_net/nss_ocsp_unittest.cc', | 234 'cert_net/nss_ocsp_unittest.cc', |
| 234 ], | 235 ], |
| 235 }], | 236 }], |
| 236 [ 'use_openssl==1', { | 237 [ 'use_openssl==1', { |
| 237 # When building for OpenSSL, we need to exclude NSS specific tests | 238 # When building for OpenSSL, we need to exclude NSS specific tests |
| 238 # or functionality not supported by OpenSSL yet. | 239 # or functionality not supported by OpenSSL yet. |
| 239 # TODO(bulach): Add equivalent tests when the underlying | 240 # TODO(bulach): Add equivalent tests when the underlying |
| 240 # functionality is ported to OpenSSL. | 241 # functionality is ported to OpenSSL. |
| 241 'sources!': [ | 242 'sources!': [ |
| 242 'cert/nss_cert_database_chromeos_unittest.cc', | |
| 243 'cert/nss_cert_database_unittest.cc', | |
| 244 'cert/nss_profile_filter_chromeos_unittest.cc', | |
| 245 'cert/x509_util_nss_unittest.cc', | 243 'cert/x509_util_nss_unittest.cc', |
| 246 'quic/test_tools/crypto_test_utils_nss.cc', | 244 'quic/test_tools/crypto_test_utils_nss.cc', |
| 247 ], | 245 ], |
| 248 }, { # else !use_openssl: remove the unneeded files and pull in NSS. | 246 }, { # else !use_openssl: remove the unneeded files and pull in NSS. |
| 249 'sources!': [ | 247 'sources!': [ |
| 250 'cert/x509_util_openssl_unittest.cc', | 248 'cert/x509_util_openssl_unittest.cc', |
| 251 'quic/test_tools/crypto_test_utils_openssl.cc', | 249 'quic/test_tools/crypto_test_utils_openssl.cc', |
| 252 'socket/ssl_client_socket_openssl_unittest.cc', | 250 'socket/ssl_client_socket_openssl_unittest.cc', |
| 253 'ssl/ssl_client_session_cache_openssl_unittest.cc', | 251 'ssl/ssl_client_session_cache_openssl_unittest.cc', |
| 254 ], | 252 ], |
| (...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1527 '../build/isolate.gypi', | 1525 '../build/isolate.gypi', |
| 1528 ], | 1526 ], |
| 1529 'sources': [ | 1527 'sources': [ |
| 1530 'net_unittests.isolate', | 1528 'net_unittests.isolate', |
| 1531 ], | 1529 ], |
| 1532 }, | 1530 }, |
| 1533 ], | 1531 ], |
| 1534 }], | 1532 }], |
| 1535 ], | 1533 ], |
| 1536 } | 1534 } |
| OLD | NEW |