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
3 # found in the LICENSE file.
5 import("//build/config/crypto.gni")
7 # GYP version: chrome/chrome_common.gypi:common_net
8 static_library("net") {
10 "net_resource_provider.cc",
11 "net_resource_provider.h",
14 "x509_certificate_model.cc",
15 "x509_certificate_model.h",
16 "x509_certificate_model_nss.cc",
17 "x509_certificate_model_openssl.cc",
24 "//components/error_page/common",
27 "//net:net_resources",
34 "net_resource_provider.cc",
35 "x509_certificate_model.cc",
38 deps += [ "//gpu/ipc" ]
41 if (is_win || is_mac || is_ios) {
43 "x509_certificate_model_nss.cc",
44 "x509_certificate_model_openssl.cc",
46 } else if (use_openssl) {
47 sources -= [ "x509_certificate_model_nss.cc" ]
49 sources -= [ "x509_certificate_model_openssl.cc" ]
54 "x509_certificate_model.cc",
55 "x509_certificate_model_openssl.cc",
57 deps += [ "//third_party/boringssl" ]
61 cflags = [ "/wd4267" ]