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

Side by Side Diff: net/third_party/nss/ssl.gyp

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'conditions': [ 6 'conditions': [
7 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 7 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
8 'conditions': [ 8 'conditions': [
9 ['sysroot!=""', { 9 ['sysroot!=""', {
10 'variables': { 10 'variables': {
11 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)"' , 11 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)"' ,
12 }, 12 },
13 }, { 13 }, {
14 'variables': { 14 'variables': {
15 'pkg-config': 'pkg-config' 15 'pkg-config': 'pkg-config'
16 }, 16 },
17 }], 17 }],
18 ], 18 ],
19 }], 19 }],
20 ], 20 ],
21 21
22 'targets': [ 22 'targets': [
23 { 23 {
24 'target_name': 'ssl', 24 'target_name': 'ssl',
25 'product_name': 'ssl', 25 'product_name': 'ssl',
26 'type': '<(library)', 26 'type': '<(library)',
27 'sources': [ 27 'sources': [
28 #'ssl/mpi.h',
29 #'ssl/srp_groups.h',
30 #'ssl/logtab.h',
31 #'ssl/mpi-config.h',
32 #'ssl/mpi-priv.h',
33 'ssl/mpi/mpi.c',
34 'ssl/srp.c',
35 'ssl/mpi/mpmontg.c',
36 'ssl/mpi/mplogic.c',
37 'ssl/mpi/mpcpucache.c',
38 #'ssl/secmpi.h',
39
28 'ssl/authcert.c', 40 'ssl/authcert.c',
29 'ssl/cmpcert.c', 41 'ssl/cmpcert.c',
30 'ssl/derive.c', 42 'ssl/derive.c',
31 'ssl/fnv1a64.c', 43 'ssl/fnv1a64.c',
32 'ssl/nsskea.c', 44 'ssl/nsskea.c',
33 'ssl/os2_err.c', 45 'ssl/os2_err.c',
34 'ssl/os2_err.h', 46 'ssl/os2_err.h',
35 'ssl/preenc.h', 47 'ssl/preenc.h',
36 'ssl/prelib.c', 48 'ssl/prelib.c',
37 'ssl/snapstart.c', 49 'ssl/snapstart.c',
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 'ssl/bodge', 129 'ssl/bodge',
118 ], 130 ],
119 'cflags': [ 131 'cflags': [
120 '<!@(<(pkg-config) --cflags nss)', 132 '<!@(<(pkg-config) --cflags nss)',
121 ], 133 ],
122 'ldflags': [ 134 'ldflags': [
123 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', 135 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
124 ], 136 ],
125 'libraries': [ 137 'libraries': [
126 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")', 138 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
139 '-lnssdbm3', # TODO(sqs): still needed?
127 ], 140 ],
128 }], 141 }],
129 [ 'OS == "mac" or OS == "win"', { 142 [ 'OS == "mac" or OS == "win"', {
130 'sources/': [ 143 'sources/': [
131 ['exclude', 'ssl/bodge/'], 144 ['exclude', 'ssl/bodge/'],
132 ], 145 ],
133 'defines': [ 146 'defines': [
134 'NSS_PLATFORM_CLIENT_AUTH', 147 'NSS_PLATFORM_CLIENT_AUTH',
135 ], 148 ],
136 'dependencies': [ 149 'dependencies': [
(...skipping 19 matching lines...) Expand all
156 }, 169 },
157 }, 170 },
158 ], 171 ],
159 } 172 }
160 173
161 # Local Variables: 174 # Local Variables:
162 # tab-width:2 175 # tab-width:2
163 # indent-tabs-mode:nil 176 # indent-tabs-mode:nil
164 # End: 177 # End:
165 # vim: set expandtab tabstop=2 shiftwidth=2: 178 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698