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

Side by Side Diff: runtime/bin/net/nss.gyp

Issue 21716004: dart:io | Add SecureSocket.importPrivateCertificates, that reads a PKCS#12 file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add delayed deletion of locked temp directory on Windows. Created 7 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6 # for details. All rights reserved. Use of this source code is governed by a 6 # for details. All rights reserved. Use of this source code is governed by a
7 # BSD-style license that can be found in the LICENSE file. 7 # BSD-style license that can be found in the LICENSE file.
8 8
9 # This file is a modified copy of Chromium's deps/third_party/nss/nss.gyp. 9 # This file is a modified copy of Chromium's deps/third_party/nss/nss.gyp.
10 # Revision 199075 (this should agree with "nss_rev" in DEPS). 10 # Revision 199075 (this should agree with "nss_rev" in DEPS).
11 { 11 {
12 # Added by Dart. All Dart comments refer to the following block or line. 12 # Added by Dart. All Dart comments refer to the following block or line.
13 'includes': [ 13 'includes': [
14 '../../tools/gyp/runtime-configurations.gypi', 14 '../../tools/gyp/runtime-configurations.gypi',
15 '../../tools/gyp/nss_configurations.gypi', 15 '../../tools/gyp/nss_configurations.gypi',
16 ], 16 ],
17 'variables': { 17 'variables': {
18 # Added by Dart. 18 # Added by Dart.
19 'nss_directory': '../../../third_party/nss', 19 'nss_directory': '../../../third_party/nss',
20 'pkcs12_directory': '../../../third_party/nss_pkcs12',
20 'conditions': [ 21 'conditions': [
21 ['OS=="ios"', { 22 ['OS=="ios"', {
22 'exclude_nss_root_certs%': 0, 23 'exclude_nss_root_certs%': 0,
23 'exclude_nss_libpkix%': 0, 24 'exclude_nss_libpkix%': 0,
24 }, { 25 }, {
25 'exclude_nss_root_certs%': 1, 26 'exclude_nss_root_certs%': 1,
26 'exclude_nss_libpkix%': 1, 27 'exclude_nss_libpkix%': 1,
27 }], 28 }],
28 ], 29 ],
29 }, 30 },
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 '<(nss_directory)/nss/lib/util/secport.h', 1062 '<(nss_directory)/nss/lib/util/secport.h',
1062 '<(nss_directory)/nss/lib/util/sectime.c', 1063 '<(nss_directory)/nss/lib/util/sectime.c',
1063 '<(nss_directory)/nss/lib/util/templates.c', 1064 '<(nss_directory)/nss/lib/util/templates.c',
1064 '<(nss_directory)/nss/lib/util/utf8.c', 1065 '<(nss_directory)/nss/lib/util/utf8.c',
1065 '<(nss_directory)/nss/lib/util/utilmod.c', 1066 '<(nss_directory)/nss/lib/util/utilmod.c',
1066 '<(nss_directory)/nss/lib/util/utilmodt.h', 1067 '<(nss_directory)/nss/lib/util/utilmodt.h',
1067 '<(nss_directory)/nss/lib/util/utilpars.c', 1068 '<(nss_directory)/nss/lib/util/utilpars.c',
1068 '<(nss_directory)/nss/lib/util/utilpars.h', 1069 '<(nss_directory)/nss/lib/util/utilpars.h',
1069 '<(nss_directory)/nss/lib/util/utilparst.h', 1070 '<(nss_directory)/nss/lib/util/utilparst.h',
1070 '<(nss_directory)/nss/lib/util/utilrename.h', 1071 '<(nss_directory)/nss/lib/util/utilrename.h',
1072 '<(pkcs12_directory)/p12creat.c',
1073 '<(pkcs12_directory)/p12d.c',
1074 '<(pkcs12_directory)/p12dec.c',
1075 '<(pkcs12_directory)/p12e.c',
1076 '<(pkcs12_directory)/p12.h',
1077 '<(pkcs12_directory)/p12local.c',
1078 '<(pkcs12_directory)/p12local.h',
1079 '<(pkcs12_directory)/p12plcy.c',
1080 '<(pkcs12_directory)/p12plcy.h',
1081 '<(pkcs12_directory)/p12t.h',
1082 '<(pkcs12_directory)/p12tmpl.c',
1083 '<(pkcs12_directory)/pkcs12.h',
1084 '<(pkcs12_directory)/pkcs12t.h',
1071 ], 1085 ],
1072 'sources!': [ 1086 'sources!': [
1073 # mpi_arm.c is included by mpi_arm_mac.c. 1087 # mpi_arm.c is included by mpi_arm_mac.c.
1074 # NOTE: mpi_arm.c can be used directly on Linux. mpi_arm.c will need 1088 # NOTE: mpi_arm.c can be used directly on Linux. mpi_arm.c will need
1075 # to be excluded conditionally if we start to build NSS on Linux. 1089 # to be excluded conditionally if we start to build NSS on Linux.
1076 '<(nss_directory)/nss/lib/freebl/mpi/mpi_arm.c', 1090 '<(nss_directory)/nss/lib/freebl/mpi/mpi_arm.c',
1077 # primes.c is included by mpprime.c. 1091 # primes.c is included by mpprime.c.
1078 '<(nss_directory)/nss/lib/freebl/mpi/primes.c', 1092 '<(nss_directory)/nss/lib/freebl/mpi/primes.c',
1079 # unix_rand.c and win_rand.c are included by sysrand.c. 1093 # unix_rand.c and win_rand.c are included by sysrand.c.
1080 '<(nss_directory)/nss/lib/freebl/unix_rand.c', 1094 '<(nss_directory)/nss/lib/freebl/unix_rand.c',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 '<(nss_directory)/nss/lib/libpkix/pkix_pl_nss/pki', 1140 '<(nss_directory)/nss/lib/libpkix/pkix_pl_nss/pki',
1127 '<(nss_directory)/nss/lib/libpkix/pkix_pl_nss/system', 1141 '<(nss_directory)/nss/lib/libpkix/pkix_pl_nss/system',
1128 '<(nss_directory)/nss/lib/nss', 1142 '<(nss_directory)/nss/lib/nss',
1129 '<(nss_directory)/nss/lib/pk11wrap', 1143 '<(nss_directory)/nss/lib/pk11wrap',
1130 '<(nss_directory)/nss/lib/pkcs7', 1144 '<(nss_directory)/nss/lib/pkcs7',
1131 '<(nss_directory)/nss/lib/pki', 1145 '<(nss_directory)/nss/lib/pki',
1132 '<(nss_directory)/nss/lib/smime', 1146 '<(nss_directory)/nss/lib/smime',
1133 '<(nss_directory)/nss/lib/softoken', 1147 '<(nss_directory)/nss/lib/softoken',
1134 '<(nss_directory)/nss/lib/ssl', 1148 '<(nss_directory)/nss/lib/ssl',
1135 '<(nss_directory)/nss/lib/util', 1149 '<(nss_directory)/nss/lib/util',
1150 '<(pkcs12_directory)',
1136 ], 1151 ],
1137 'direct_dependent_settings': { 1152 'direct_dependent_settings': {
1138 'defines': [ 1153 'defines': [
1139 'NSS_ENABLE_ECC', 1154 'NSS_ENABLE_ECC',
1140 'NSS_STATIC', 1155 'NSS_STATIC',
1141 'NSS_USE_STATIC_LIBS', 1156 'NSS_USE_STATIC_LIBS',
1142 'USE_UTIL_DIRECTLY', 1157 'USE_UTIL_DIRECTLY',
1143 ], 1158 ],
1144 'include_dirs': [ 1159 'include_dirs': [
1145 '<(nss_directory)/nspr/pr/include', 1160 '<(nss_directory)/nspr/pr/include',
1146 '<(nss_directory)/nspr/lib/ds', 1161 '<(nss_directory)/nspr/lib/ds',
1147 '<(nss_directory)/nspr/lib/libc/include', 1162 '<(nss_directory)/nspr/lib/libc/include',
1148 '<(nss_directory)/nss/lib/base', 1163 '<(nss_directory)/nss/lib/base',
1149 '<(nss_directory)/nss/lib/certdb', 1164 '<(nss_directory)/nss/lib/certdb',
1150 '<(nss_directory)/nss/lib/certhigh', 1165 '<(nss_directory)/nss/lib/certhigh',
1151 '<(nss_directory)/nss/lib/cryptohi', 1166 '<(nss_directory)/nss/lib/cryptohi',
1152 '<(nss_directory)/nss/lib/dev', 1167 '<(nss_directory)/nss/lib/dev',
1153 '<(nss_directory)/nss/lib/freebl', 1168 '<(nss_directory)/nss/lib/freebl',
1154 '<(nss_directory)/nss/lib/freebl/ecl', 1169 '<(nss_directory)/nss/lib/freebl/ecl',
1155 '<(nss_directory)/nss/lib/nss', 1170 '<(nss_directory)/nss/lib/nss',
1156 '<(nss_directory)/nss/lib/pk11wrap', 1171 '<(nss_directory)/nss/lib/pk11wrap',
1157 '<(nss_directory)/nss/lib/pkcs7', 1172 '<(nss_directory)/nss/lib/pkcs7',
1158 '<(nss_directory)/nss/lib/pki', 1173 '<(nss_directory)/nss/lib/pki',
1159 '<(nss_directory)/nss/lib/smime', 1174 '<(nss_directory)/nss/lib/smime',
1160 '<(nss_directory)/nss/lib/softoken', 1175 '<(nss_directory)/nss/lib/softoken',
1161 '<(nss_directory)/nss/lib/util', 1176 '<(nss_directory)/nss/lib/util',
1177 '<(pkcs12_directory)',
1162 ], 1178 ],
1163 }, 1179 },
1164 'msvs_disabled_warnings': [4018, 4101, 4267, ], 1180 'msvs_disabled_warnings': [4018, 4101, 4267, ],
1165 'conditions': [ 1181 'conditions': [
1166 ['exclude_nss_root_certs==1', { 1182 ['exclude_nss_root_certs==1', {
1167 'defines': [ 1183 'defines': [
1168 'NSS_DISABLE_ROOT_CERTS', 1184 'NSS_DISABLE_ROOT_CERTS',
1169 ], 1185 ],
1170 }], 1186 }],
1171 ['exclude_nss_libpkix==1', { 1187 ['exclude_nss_libpkix==1', {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 '-Wno-logical-op-parentheses', 1333 '-Wno-logical-op-parentheses',
1318 '-Wno-switch', 1334 '-Wno-switch',
1319 '-Wno-tautological-compare', 1335 '-Wno-tautological-compare',
1320 ], 1336 ],
1321 }], 1337 }],
1322 ], 1338 ],
1323 }, 1339 },
1324 ], 1340 ],
1325 }]], 1341 }]],
1326 } 1342 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698