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/", |
29 ] | 30 ] |
30 | 31 |
31 if (is_ios) { | 32 if (is_ios) { |
32 sources -= [ | 33 sources -= [ |
33 "net_resource_provider.cc", | 34 "net_resource_provider.cc", |
34 "x509_certificate_model.cc", | 35 "x509_certificate_model.cc", |
35 ] | 36 ] |
36 } else { | 37 } else { |
37 deps += [ "//gpu/ipc" ] | 38 deps += [ "//gpu/ipc" ] |
38 } | 39 } |
(...skipping 14 matching lines...) Expand all Loading... |
53 "x509_certificate_model.cc", | 54 "x509_certificate_model.cc", |
54 "x509_certificate_model_openssl.cc", | 55 "x509_certificate_model_openssl.cc", |
55 ] | 56 ] |
56 deps += [ "//third_party/boringssl" ] | 57 deps += [ "//third_party/boringssl" ] |
57 } | 58 } |
58 | 59 |
59 if (is_win) { | 60 if (is_win) { |
60 cflags = [ "/wd4267" ] | 61 cflags = [ "/wd4267" ] |
61 } | 62 } |
62 } | 63 } |
OLD | NEW |