| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
| 9 import("//url/config.gni") | 9 import("//url/config.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 if (is_mac) { | 259 if (is_mac) { |
| 260 sources -= [ "ssl/ssl_platform_key_mac.cc" ] | 260 sources -= [ "ssl/ssl_platform_key_mac.cc" ] |
| 261 } | 261 } |
| 262 if (is_win) { | 262 if (is_win) { |
| 263 sources -= [ | 263 sources -= [ |
| 264 "cert/sha256_legacy_support_openssl_win.cc", | 264 "cert/sha256_legacy_support_openssl_win.cc", |
| 265 "ssl/ssl_platform_key_win.cc", | 265 "ssl/ssl_platform_key_win.cc", |
| 266 ] | 266 ] |
| 267 } | 267 } |
| 268 if (use_nss_certs) { | 268 if (use_nss_certs) { |
| 269 sources -= [ "ssl/ssl_platform_key_nss.cc" ] | 269 sources -= [ |
| 270 "ssl/client_key_store.cc", |
| 271 "ssl/client_key_store.h", |
| 272 "ssl/ssl_platform_key_nss.cc", |
| 273 ] |
| 270 } | 274 } |
| 271 } | 275 } |
| 272 | 276 |
| 273 if (!use_openssl_certs) { | 277 if (!use_openssl_certs) { |
| 274 sources -= [ | 278 sources -= [ |
| 275 "base/crypto_module_openssl.cc", | 279 "base/crypto_module_openssl.cc", |
| 276 "base/keygen_handler_openssl.cc", | 280 "base/keygen_handler_openssl.cc", |
| 277 "base/openssl_private_key_store.h", | 281 "base/openssl_private_key_store.h", |
| 278 "base/openssl_private_key_store_memory.cc", | 282 "base/openssl_private_key_store_memory.cc", |
| 279 "cert/cert_database_openssl.cc", | 283 "cert/cert_database_openssl.cc", |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 # These were already removed on non-ChromeOS. | 352 # These were already removed on non-ChromeOS. |
| 349 sources -= [ | 353 sources -= [ |
| 350 "cert/nss_cert_database_chromeos.cc", | 354 "cert/nss_cert_database_chromeos.cc", |
| 351 "cert/nss_cert_database_chromeos.h", | 355 "cert/nss_cert_database_chromeos.h", |
| 352 "cert/nss_profile_filter_chromeos.cc", | 356 "cert/nss_profile_filter_chromeos.cc", |
| 353 "cert/nss_profile_filter_chromeos.h", | 357 "cert/nss_profile_filter_chromeos.h", |
| 354 "ssl/client_cert_store_chromeos.cc", | 358 "ssl/client_cert_store_chromeos.cc", |
| 355 "ssl/client_cert_store_chromeos.h", | 359 "ssl/client_cert_store_chromeos.h", |
| 356 ] | 360 ] |
| 357 } | 361 } |
| 358 sources -= [ "ssl/ssl_platform_key_nss.cc" ] | 362 sources -= [ |
| 363 "ssl/client_key_store.cc", |
| 364 "ssl/client_key_store.h", |
| 365 "ssl/ssl_platform_key_nss.cc", |
| 366 ] |
| 359 } else if (use_openssl) { | 367 } else if (use_openssl) { |
| 360 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's | 368 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's |
| 361 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that file | 369 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that file |
| 362 # in directly. | 370 # in directly. |
| 363 sources += [ "third_party/nss/ssl/cmpcert.c" ] | 371 sources += [ "third_party/nss/ssl/cmpcert.c" ] |
| 364 } | 372 } |
| 365 | 373 |
| 366 if (!enable_websockets) { | 374 if (!enable_websockets) { |
| 367 sources -= [ | 375 sources -= [ |
| 368 "websockets/websocket_basic_handshake_stream.cc", | 376 "websockets/websocket_basic_handshake_stream.cc", |
| (...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1673 if (enable_websockets) { | 1681 if (enable_websockets) { |
| 1674 sources += [ "websockets/websocket_frame_perftest.cc" ] | 1682 sources += [ "websockets/websocket_frame_perftest.cc" ] |
| 1675 } | 1683 } |
| 1676 | 1684 |
| 1677 if (use_v8_in_net) { | 1685 if (use_v8_in_net) { |
| 1678 deps += [ ":net_with_v8" ] | 1686 deps += [ ":net_with_v8" ] |
| 1679 } else { | 1687 } else { |
| 1680 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1688 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
| 1681 } | 1689 } |
| 1682 } | 1690 } |
| OLD | NEW |