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

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: Nits. Created 5 years, 3 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') | no next file with comments »
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 -= [
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 } 350 }
347 if (is_chromeos) { 351 if (is_chromeos) {
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 ] 358 ]
355 } 359 }
356 sources -= [ "ssl/ssl_platform_key_nss.cc" ] 360 sources -= [
361 "ssl/client_key_store.cc",
362 "ssl/client_key_store.h",
363 "ssl/ssl_platform_key_nss.cc",
364 ]
357 } else if (use_openssl) { 365 } else if (use_openssl) {
358 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's 366 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's
359 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that file 367 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that file
360 # in directly. 368 # in directly.
361 sources += [ "third_party/nss/ssl/cmpcert.c" ] 369 sources += [ "third_party/nss/ssl/cmpcert.c" ]
362 } 370 }
363 371
364 if (!enable_websockets) { 372 if (!enable_websockets) {
365 sources -= [ 373 sources -= [
366 "websockets/websocket_basic_handshake_stream.cc", 374 "websockets/websocket_basic_handshake_stream.cc",
(...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 if (enable_websockets) { 1700 if (enable_websockets) {
1693 sources += [ "websockets/websocket_frame_perftest.cc" ] 1701 sources += [ "websockets/websocket_frame_perftest.cc" ]
1694 } 1702 }
1695 1703
1696 if (use_v8_in_net) { 1704 if (use_v8_in_net) {
1697 deps += [ ":net_with_v8" ] 1705 deps += [ ":net_with_v8" ]
1698 } else { 1706 } else {
1699 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1707 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1700 } 1708 }
1701 } 1709 }
OLDNEW
« no previous file with comments | « no previous file | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698