diff options
Diffstat (limited to 'tools/gn/secondary/net/third_party/nss/ssl/BUILD.gn')
-rw-r--r-- | tools/gn/secondary/net/third_party/nss/ssl/BUILD.gn | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/tools/gn/secondary/net/third_party/nss/ssl/BUILD.gn b/tools/gn/secondary/net/third_party/nss/ssl/BUILD.gn deleted file mode 100644 index a06d85b..0000000 --- a/tools/gn/secondary/net/third_party/nss/ssl/BUILD.gn +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright (c) 2013 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -config("crssl_config") { - includes = [ - "//net/third_party/nss/ssl", - ] -} - -component("ssl") { - external = true - # Not named "ssl" so the lib doesn't conflict with OpenSSL's libssl - output_name = "crssl" - - sources = [ - "authcert.c", - "cmpcert.c", - "derive.c", - "dtlscon.c", - #"os2_err.c", - #"os2_err.h", - "preenc.h", - "prelib.c", - "ssl.h", - "ssl3con.c", - "ssl3ecc.c", - "ssl3ext.c", - "ssl3gthr.c", - "ssl3prot.h", - "sslauth.c", - "sslcon.c", - "ssldef.c", - "sslenum.c", - "sslerr.c", - "sslerr.h", - "SSLerrs.h", - "sslerrstrs.c", - "sslgathr.c", - "sslimpl.h", - "sslinfo.c", - "sslinit.c", - "sslmutex.c", - "sslmutex.h", - "sslnonce.c", - "sslplatf.c", - "sslproto.h", - "sslreveal.c", - "sslsecur.c", - "sslsnce.c", - "sslsock.c", - "sslt.h", - "ssltrace.c", - "sslver.c", - "unix_err.c", - "unix_err.h", - "win32err.c", - "win32err.h", - "bodge/secitem_array.c", - ] - - defines = [ - "NO_PKCS11_BYPASS", - "NSS_ENABLE_ECC", - "USE_UTIL_DIRECTLY", - ] - - configs -= "//build/config/compiler:chromium_code" - configs += "//build/config/compiler:no_chromium_code" - - direct_dependent_configs = [ ":crssl_config" ] - - if (is_win) { - sources -= [ - "unix_err.c", - "unix_err.h", - ] - } else { - sources -= [ - "win32err.c", - "win32err.h", - ] - } - - if (is_linux) { - includes = [ "bodge" ] - configs += "//third_party/nss:nss_linux_config" - } - if (is_mac) { - sources -= "bodge/secitem_array.c" - } - -} |