OLD | NEW |
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 "url_util.cc", | 12 "url_util.cc", |
13 "url_util.h", | 13 "url_util.h", |
14 "x509_certificate_model.cc", | 14 "x509_certificate_model.cc", |
15 "x509_certificate_model.h", | 15 "x509_certificate_model.h", |
16 "x509_certificate_model_nss.cc", | 16 "x509_certificate_model_nss.cc", |
17 "x509_certificate_model_openssl.cc", | 17 "x509_certificate_model_openssl.cc", |
18 ] | 18 ] |
19 | 19 |
20 deps = [ | 20 deps = [ |
21 "//base", | 21 "//base", |
22 "//chrome:resources", | 22 "//chrome:resources", |
23 "//chrome:strings", | 23 "//chrome:strings", |
24 "//components/error_page/common", | 24 "//components/error_page/common", |
25 "//crypto", | 25 "//crypto", |
26 "//net", | 26 "//net", |
27 "//net:net_resources", | 27 "//net:net_resources", |
28 "//third_party/icu", | 28 "//third_party/icu", |
29 "//ui/base/", | |
30 ] | 29 ] |
31 | 30 |
32 if (is_ios) { | 31 if (is_ios) { |
33 sources -= [ | 32 sources -= [ |
34 "net_resource_provider.cc", | 33 "net_resource_provider.cc", |
35 "x509_certificate_model.cc", | 34 "x509_certificate_model.cc", |
36 ] | 35 ] |
37 } else { | 36 } else { |
38 deps += [ "//gpu/ipc" ] | 37 deps += [ "//gpu/ipc" ] |
39 } | 38 } |
(...skipping 14 matching lines...) Expand all Loading... |
54 "x509_certificate_model.cc", | 53 "x509_certificate_model.cc", |
55 "x509_certificate_model_openssl.cc", | 54 "x509_certificate_model_openssl.cc", |
56 ] | 55 ] |
57 deps += [ "//third_party/boringssl" ] | 56 deps += [ "//third_party/boringssl" ] |
58 } | 57 } |
59 | 58 |
60 if (is_win) { | 59 if (is_win) { |
61 cflags = [ "/wd4267" ] | 60 cflags = [ "/wd4267" ] |
62 } | 61 } |
63 } | 62 } |
OLD | NEW |