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

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

Issue 1396663005: Revert of Make chrome/common pass "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/common/crash_keys.cc ('k') | chrome/third_party/mozilla_security_manager/BUILD.gn » ('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", 15 "x509_certificate_model_openssl.cc",
16 ] 16 ]
17 17
18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
19 19
20 deps = [ 20 deps = [
21 "//base", 21 "//base",
22 "//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) { 40 if (use_openssl_certs && !is_android) {
42 deps += [ "//third_party/boringssl" ] 41 deps += [ "//third_party/boringssl" ]
43 } else { 42 } else {
44 sources -= [ "x509_certificate_model_openssl.cc" ] 43 sources -= [ "x509_certificate_model_openssl.cc" ]
45 } 44 }
46 45
47 if (use_nss_certs) { 46 if (use_nss_certs) {
48 deps += [ 47 deps += [ "//crypto:platform" ]
49 "//chrome/third_party/mozilla_security_manager",
50 "//crypto:platform",
51 ]
52 } else { 48 } else {
53 sources -= [ "x509_certificate_model_nss.cc" ] 49 sources -= [ "x509_certificate_model_nss.cc" ]
54 } 50 }
55 } 51 }
OLDNEW
« no previous file with comments | « chrome/common/crash_keys.cc ('k') | chrome/third_party/mozilla_security_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698