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

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

Issue 401153002: Switch to BoringSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase across DEPS change Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_common.gypi ('k') | content/child/webcrypto/openssl/aes_gcm_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_error_info.cc", 10 "net_error_info.cc",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "x509_certificate_model_nss.cc", 44 "x509_certificate_model_nss.cc",
45 "x509_certificate_model_openssl.cc", 45 "x509_certificate_model_openssl.cc",
46 ] 46 ]
47 } 47 }
48 48
49 if (is_android) { 49 if (is_android) {
50 sources -= [ 50 sources -= [
51 "x509_certificate_model.cc", 51 "x509_certificate_model.cc",
52 "x509_certificate_model_openssl.cc", 52 "x509_certificate_model_openssl.cc",
53 ] 53 ]
54 deps += [ "//third_party/openssl" ] 54 deps += [ "//third_party/boringssl" ]
55 } 55 }
56 56
57 if (use_openssl) { 57 if (use_openssl) {
58 # networking_private_crypto.cc uses NSS functions. 58 # networking_private_crypto.cc uses NSS functions.
59 sources -= [ 59 sources -= [
60 "x509_certificate_model_nss.cc", 60 "x509_certificate_model_nss.cc",
61 ] 61 ]
62 } else if (is_linux) { 62 } else if (is_linux) {
63 # Already removed for non-Linux cases above. 63 # Already removed for non-Linux cases above.
64 sources -= [ 64 sources -= [
65 "x509_certificate_model_openssl.cc", 65 "x509_certificate_model_openssl.cc",
66 ] 66 ]
67 } 67 }
68 68
69 if (is_win) { 69 if (is_win) {
70 cflags = [ "/wd4267" ] 70 cflags = [ "/wd4267" ]
71 } 71 }
72 } 72 }
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | content/child/webcrypto/openssl/aes_gcm_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698