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

Unified Diff: net/third_party/nss/nss.gyp

Issue 394003: Linux: enable building with a local version of libssl. (Closed)
Patch Set: ... Created 11 years, 1 month 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 | « net/third_party/nss/README.google ('k') | net/third_party/nss/ssl/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/nss.gyp
diff --git a/net/third_party/nss/nss.gyp b/net/third_party/nss/nss.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..ec9861d888882cbedbe0f2bfdba6e1efbc309d91
--- /dev/null
+++ b/net/third_party/nss/nss.gyp
@@ -0,0 +1,99 @@
+# Copyright (c) 2009 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.
+
+{
+ 'conditions': [
+ ['sysroot!=""', {
+ 'variables': {
+ 'pkg-config': './pkg-config-wrapper "<(sysroot)"',
+ },
+ }, {
+ 'variables': {
+ 'pkg-config': 'pkg-config'
+ },
+ }],
+ ],
+
+ 'targets': [
+ {
+ 'target_name': 'ssl',
+ 'product_name': 'ssl',
+ 'type': '<(library)',
+ 'sources': [
+ 'ssl/authcert.c',
+ 'ssl/cmpcert.c',
+ 'ssl/derive.c',
+ 'ssl/nsskea.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/sslgathr.c',
+ 'ssl/sslimpl.h',
+ 'ssl/sslinfo.c',
+ 'ssl/sslmutex.c',
+ 'ssl/sslmutex.h',
+ 'ssl/sslnonce.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/loader.c',
+ 'ssl/bodge/loader.h',
+ 'ssl/bodge/secure_memcmp.c',
+ ],
+ 'defines': [
+ 'NSS_ENABLE_ECC',
+ 'NSS_ENABLE_ZLIB',
+ 'SHLIB_PREFIX="lib"',
+ 'SHLIB_SUFFIX="so"',
+ 'SHLIB_VERSION="3"',
+ 'SOFTOKEN_SHLIB_VERSION="3"',
+ 'USE_UTIL_DIRECTLY',
+ ],
+ 'include_dirs': [
+ './ssl/bodge',
+ ],
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags nss)',
+ ],
+ 'conditions': [
+ [ 'OS == "linux"', {
+ 'sources!': [
+ 'ssl/os2_err.c',
+ 'ssl/os2_err.h',
+ 'ssl/win32err.c',
+ 'ssl/win32err.h',
+ ],
+ }],
+ ],
+ },
+ ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2:
« no previous file with comments | « net/third_party/nss/README.google ('k') | net/third_party/nss/ssl/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698