Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: tools/gn/secondary/net/third_party/nss/BUILD.gn

Issue 231673006: Add SSL support to the GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for minimal Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/secondary/net/BUILD.gn ('k') | tools/gn/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/net/third_party/nss/BUILD.gn
diff --git a/tools/gn/secondary/net/third_party/nss/BUILD.gn b/tools/gn/secondary/net/third_party/nss/BUILD.gn
deleted file mode 100644
index 624c8138c6d3de67a191127d767e635d59fc81f2..0000000000000000000000000000000000000000
--- a/tools/gn/secondary/net/third_party/nss/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("ssl_config") {
- include_dirs = [
- "//net/third_party/nss/ssl",
- ]
-}
-
-# TODO(brettw) move this to net/third_party/nss/ssl once GYP backwards-compat
-# is no longer needed.
-component("ssl") {
- # Not named "ssl" so the lib doesn't conflict with OpenSSL's libssl
- output_name = "crssl"
-
- sources = [
- "ssl/authcert.c",
- "ssl/cmpcert.c",
- "ssl/derive.c",
- "ssl/dtlscon.c",
- #"ssl/os2_err.c",
- #"ssl/os2_err.h",
- "ssl/preenc.h",
- "ssl/prelib.c",
- "ssl/ssl.h",
- "ssl/ssl3con.c",
- "ssl/ssl3ecc.c",
- "ssl/ssl3ext.c",
- "ssl/ssl3gthr.c",
- "ssl/ssl3prot.h",
- "ssl/sslauth.c",
- "ssl/sslcon.c",
- "ssl/ssldef.c",
- "ssl/sslenum.c",
- "ssl/sslerr.c",
- "ssl/sslerr.h",
- "ssl/SSLerrs.h",
- "ssl/sslerrstrs.c",
- "ssl/sslgathr.c",
- "ssl/sslimpl.h",
- "ssl/sslinfo.c",
- "ssl/sslinit.c",
- "ssl/sslmutex.c",
- "ssl/sslmutex.h",
- "ssl/sslnonce.c",
- "ssl/sslplatf.c",
- "ssl/sslproto.h",
- "ssl/sslreveal.c",
- "ssl/sslsecur.c",
- "ssl/sslsnce.c",
- "ssl/sslsock.c",
- "ssl/sslt.h",
- "ssl/ssltrace.c",
- "ssl/sslver.c",
- "ssl/unix_err.c",
- "ssl/unix_err.h",
- "ssl/win32err.c",
- "ssl/win32err.h",
- "ssl/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 = [ ":ssl_config" ]
-
- if (is_win) {
- sources -= [
- "ssl/unix_err.c",
- "ssl/unix_err.h",
- ]
- } else {
- sources -= [
- "ssl/win32err.c",
- "ssl/win32err.h",
- ]
- }
-
- if (is_linux) {
- include_dirs = [ "ssl/bodge" ]
- configs += [ "//third_party/nss:nss_linux_config" ]
- }
- if (is_mac) {
- sources -= [ "ssl/bodge/secitem_array.c" ]
- }
-}
« no previous file with comments | « tools/gn/secondary/net/BUILD.gn ('k') | tools/gn/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698