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") {
12 "net_resource_provider.cc",
13 "net_resource_provider.h",
17 "x509_certificate_model.cc",
18 "x509_certificate_model.h",
19 "x509_certificate_model_nss.cc",
20 "x509_certificate_model_openssl.cc",
29 "//net:net_resources",
35 "net_resource_provider.cc",
36 "x509_certificate_model.cc",
39 deps += [ "//gpu/ipc" ]
42 if (is_win || is_mac || is_ios) {
44 "x509_certificate_model_nss.cc",
45 "x509_certificate_model_openssl.cc",
47 } else if (use_openssl) {
48 sources -= [ "x509_certificate_model_nss.cc" ]
50 sources -= [ "x509_certificate_model_openssl.cc" ]
55 "x509_certificate_model.cc",
56 "x509_certificate_model_openssl.cc",
58 deps += [ "//third_party/boringssl" ]
62 cflags = [ "/wd4267" ]