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

Side by Side Diff: chrome/common/net/BUILD.gn

Issue 1893203005: Remove x509_certificate_model_openssl.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove tests Created 4 years, 7 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 | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/net/x509_certificate_model_openssl.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 6
7 # GYP version: chrome/chrome_common.gypi:common_net 7 # GYP version: chrome/chrome_common.gypi:common_net
8 static_library("net") { 8 static_library("net") {
9 sources = [ 9 sources = [
10 "net_resource_provider.cc", 10 "net_resource_provider.cc",
11 "net_resource_provider.h", 11 "net_resource_provider.h",
12 "x509_certificate_model.cc", 12 "x509_certificate_model.cc",
13 "x509_certificate_model.h", 13 "x509_certificate_model.h",
14 "x509_certificate_model_nss.cc", 14 "x509_certificate_model_nss.cc",
15 "x509_certificate_model_openssl.cc",
16 ] 15 ]
17 16
18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 17 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
19 18
20 deps = [ 19 deps = [
21 "//base", 20 "//base",
22 "//base:i18n", 21 "//base:i18n",
23 "//chrome:resources", 22 "//chrome:resources",
24 "//chrome:strings", 23 "//chrome:strings",
25 "//components/url_formatter", 24 "//components/url_formatter",
26 "//crypto", 25 "//crypto",
27 "//net", 26 "//net",
28 "//net:net_resources", 27 "//net:net_resources",
29 "//third_party/icu", 28 "//third_party/icu",
30 "//ui/base", 29 "//ui/base",
31 ] 30 ]
32 31
33 if (is_ios) { 32 if (is_ios) {
34 sources -= [ "net_resource_provider.cc" ] 33 sources -= [ "net_resource_provider.cc" ]
35 } 34 }
36 35
37 if (is_android || is_ios) { 36 if (is_android || is_ios) {
38 sources -= [ "x509_certificate_model.cc" ] 37 sources -= [ "x509_certificate_model.cc" ]
39 } 38 }
40 39
41 if (use_openssl_certs && !is_android) {
42 deps += [ "//third_party/boringssl" ]
43 } else {
44 sources -= [ "x509_certificate_model_openssl.cc" ]
45 }
46
47 if (use_nss_certs) { 40 if (use_nss_certs) {
48 deps += [ 41 deps += [
49 "//chrome/third_party/mozilla_security_manager", 42 "//chrome/third_party/mozilla_security_manager",
50 "//crypto:platform", 43 "//crypto:platform",
51 ] 44 ]
52 allow_circular_includes_from = 45 allow_circular_includes_from =
53 [ "//chrome/third_party/mozilla_security_manager" ] 46 [ "//chrome/third_party/mozilla_security_manager" ]
54 } else { 47 } else {
55 sources -= [ "x509_certificate_model_nss.cc" ] 48 sources -= [ "x509_certificate_model_nss.cc" ]
56 } 49 }
57 } 50 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/net/x509_certificate_model_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698