| 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_error_info.cc", | |
| 11 "net_error_info.h", | |
| 12 "net_resource_provider.cc", | 10 "net_resource_provider.cc", |
| 13 "net_resource_provider.h", | 11 "net_resource_provider.h", |
| 14 "predictor_common.h", | 12 "predictor_common.h", |
| 15 "url_util.cc", | 13 "url_util.cc", |
| 16 "url_util.h", | 14 "url_util.h", |
| 17 "x509_certificate_model.cc", | 15 "x509_certificate_model.cc", |
| 18 "x509_certificate_model.h", | 16 "x509_certificate_model.h", |
| 19 "x509_certificate_model_nss.cc", | 17 "x509_certificate_model_nss.cc", |
| 20 "x509_certificate_model_openssl.cc", | 18 "x509_certificate_model_openssl.cc", |
| 21 ] | 19 ] |
| 22 | 20 |
| 23 deps = [ | 21 deps = [ |
| 24 "//base", | 22 "//base", |
| 25 "//chrome:resources", | 23 "//chrome:resources", |
| 26 "//chrome:strings", | 24 "//chrome:strings", |
| 25 "//components/error_page/common", |
| 27 "//crypto", | 26 "//crypto", |
| 28 "//net", | 27 "//net", |
| 29 "//net:net_resources", | 28 "//net:net_resources", |
| 30 "//third_party/icu", | 29 "//third_party/icu", |
| 31 ] | 30 ] |
| 32 | 31 |
| 33 if (is_ios) { | 32 if (is_ios) { |
| 34 sources -= [ | 33 sources -= [ |
| 35 "net_resource_provider.cc", | 34 "net_resource_provider.cc", |
| 36 "x509_certificate_model.cc", | 35 "x509_certificate_model.cc", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 63 # Already removed for non-Linux cases above. | 62 # Already removed for non-Linux cases above. |
| 64 sources -= [ | 63 sources -= [ |
| 65 "x509_certificate_model_openssl.cc", | 64 "x509_certificate_model_openssl.cc", |
| 66 ] | 65 ] |
| 67 } | 66 } |
| 68 | 67 |
| 69 if (is_win) { | 68 if (is_win) { |
| 70 cflags = [ "/wd4267" ] | 69 cflags = [ "/wd4267" ] |
| 71 } | 70 } |
| 72 } | 71 } |
| OLD | NEW |