Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(714)

Side by Side Diff: net/BUILD.gn

Issue 1278763002: Add a ClientKeyStore to allow injection of non-platform keys for TLS client auth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client_cert_store
Patch Set: Removed ownership of Providers. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | net/net.gypi » ('j') | net/ssl/client_key_store.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 -= [
mattm 2015/08/21 23:18:17 I don't understand why they are removed in this ca
pneubeck (no reviews) 2015/08/24 10:08:06 As the ClientKeyStore is used by ssl_platform_key_
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
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 -= [
mattm 2015/08/21 23:18:17 odd, why are there two sources-= statements in thi
pneubeck (no reviews) 2015/08/24 10:08:06 Acknowledged.
363 "ssl/client_key_store.cc",
364 "ssl/client_key_store.h",
mattm 2015/08/21 23:18:17 these should be removed in the same case(s) in net
pneubeck (no reviews) 2015/08/24 10:08:06 Done.
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 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1686 if (enable_websockets) { 1694 if (enable_websockets) {
1687 sources += [ "websockets/websocket_frame_perftest.cc" ] 1695 sources += [ "websockets/websocket_frame_perftest.cc" ]
1688 } 1696 }
1689 1697
1690 if (use_v8_in_net) { 1698 if (use_v8_in_net) {
1691 deps += [ ":net_with_v8" ] 1699 deps += [ ":net_with_v8" ]
1692 } else { 1700 } else {
1693 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1701 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1694 } 1702 }
1695 } 1703 }
OLDNEW
« no previous file with comments | « no previous file | net/net.gypi » ('j') | net/ssl/client_key_store.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698