OLD | NEW |
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', | |
21 'conditions': [ | 20 'conditions': [ |
22 ['OS=="ios"', { | 21 ['OS=="ios"', { |
23 'exclude_nss_root_certs%': 0, | 22 'exclude_nss_root_certs%': 0, |
24 'exclude_nss_libpkix%': 0, | 23 'exclude_nss_libpkix%': 0, |
25 }, { | 24 }, { |
26 'exclude_nss_root_certs%': 1, | 25 'exclude_nss_root_certs%': 1, |
27 'exclude_nss_libpkix%': 1, | 26 'exclude_nss_libpkix%': 1, |
28 }], | 27 }], |
29 ], | 28 ], |
30 }, | 29 }, |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 '<(nss_directory)/nss/lib/util/secport.h', | 1061 '<(nss_directory)/nss/lib/util/secport.h', |
1063 '<(nss_directory)/nss/lib/util/sectime.c', | 1062 '<(nss_directory)/nss/lib/util/sectime.c', |
1064 '<(nss_directory)/nss/lib/util/templates.c', | 1063 '<(nss_directory)/nss/lib/util/templates.c', |
1065 '<(nss_directory)/nss/lib/util/utf8.c', | 1064 '<(nss_directory)/nss/lib/util/utf8.c', |
1066 '<(nss_directory)/nss/lib/util/utilmod.c', | 1065 '<(nss_directory)/nss/lib/util/utilmod.c', |
1067 '<(nss_directory)/nss/lib/util/utilmodt.h', | 1066 '<(nss_directory)/nss/lib/util/utilmodt.h', |
1068 '<(nss_directory)/nss/lib/util/utilpars.c', | 1067 '<(nss_directory)/nss/lib/util/utilpars.c', |
1069 '<(nss_directory)/nss/lib/util/utilpars.h', | 1068 '<(nss_directory)/nss/lib/util/utilpars.h', |
1070 '<(nss_directory)/nss/lib/util/utilparst.h', | 1069 '<(nss_directory)/nss/lib/util/utilparst.h', |
1071 '<(nss_directory)/nss/lib/util/utilrename.h', | 1070 '<(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', | |
1085 ], | 1071 ], |
1086 'sources!': [ | 1072 'sources!': [ |
1087 # mpi_arm.c is included by mpi_arm_mac.c. | 1073 # mpi_arm.c is included by mpi_arm_mac.c. |
1088 # NOTE: mpi_arm.c can be used directly on Linux. mpi_arm.c will need | 1074 # NOTE: mpi_arm.c can be used directly on Linux. mpi_arm.c will need |
1089 # to be excluded conditionally if we start to build NSS on Linux. | 1075 # to be excluded conditionally if we start to build NSS on Linux. |
1090 '<(nss_directory)/nss/lib/freebl/mpi/mpi_arm.c', | 1076 '<(nss_directory)/nss/lib/freebl/mpi/mpi_arm.c', |
1091 # primes.c is included by mpprime.c. | 1077 # primes.c is included by mpprime.c. |
1092 '<(nss_directory)/nss/lib/freebl/mpi/primes.c', | 1078 '<(nss_directory)/nss/lib/freebl/mpi/primes.c', |
1093 # unix_rand.c and win_rand.c are included by sysrand.c. | 1079 # unix_rand.c and win_rand.c are included by sysrand.c. |
1094 '<(nss_directory)/nss/lib/freebl/unix_rand.c', | 1080 '<(nss_directory)/nss/lib/freebl/unix_rand.c', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1140 '<(nss_directory)/nss/lib/libpkix/pkix_pl_nss/pki', | 1126 '<(nss_directory)/nss/lib/libpkix/pkix_pl_nss/pki', |
1141 '<(nss_directory)/nss/lib/libpkix/pkix_pl_nss/system', | 1127 '<(nss_directory)/nss/lib/libpkix/pkix_pl_nss/system', |
1142 '<(nss_directory)/nss/lib/nss', | 1128 '<(nss_directory)/nss/lib/nss', |
1143 '<(nss_directory)/nss/lib/pk11wrap', | 1129 '<(nss_directory)/nss/lib/pk11wrap', |
1144 '<(nss_directory)/nss/lib/pkcs7', | 1130 '<(nss_directory)/nss/lib/pkcs7', |
1145 '<(nss_directory)/nss/lib/pki', | 1131 '<(nss_directory)/nss/lib/pki', |
1146 '<(nss_directory)/nss/lib/smime', | 1132 '<(nss_directory)/nss/lib/smime', |
1147 '<(nss_directory)/nss/lib/softoken', | 1133 '<(nss_directory)/nss/lib/softoken', |
1148 '<(nss_directory)/nss/lib/ssl', | 1134 '<(nss_directory)/nss/lib/ssl', |
1149 '<(nss_directory)/nss/lib/util', | 1135 '<(nss_directory)/nss/lib/util', |
1150 '<(pkcs12_directory)', | |
1151 ], | 1136 ], |
1152 'direct_dependent_settings': { | 1137 'direct_dependent_settings': { |
1153 'defines': [ | 1138 'defines': [ |
1154 'NSS_ENABLE_ECC', | 1139 'NSS_ENABLE_ECC', |
1155 'NSS_STATIC', | 1140 'NSS_STATIC', |
1156 'NSS_USE_STATIC_LIBS', | 1141 'NSS_USE_STATIC_LIBS', |
1157 'USE_UTIL_DIRECTLY', | 1142 'USE_UTIL_DIRECTLY', |
1158 ], | 1143 ], |
1159 'include_dirs': [ | 1144 'include_dirs': [ |
1160 '<(nss_directory)/nspr/pr/include', | 1145 '<(nss_directory)/nspr/pr/include', |
1161 '<(nss_directory)/nspr/lib/ds', | 1146 '<(nss_directory)/nspr/lib/ds', |
1162 '<(nss_directory)/nspr/lib/libc/include', | 1147 '<(nss_directory)/nspr/lib/libc/include', |
1163 '<(nss_directory)/nss/lib/base', | 1148 '<(nss_directory)/nss/lib/base', |
1164 '<(nss_directory)/nss/lib/certdb', | 1149 '<(nss_directory)/nss/lib/certdb', |
1165 '<(nss_directory)/nss/lib/certhigh', | 1150 '<(nss_directory)/nss/lib/certhigh', |
1166 '<(nss_directory)/nss/lib/cryptohi', | 1151 '<(nss_directory)/nss/lib/cryptohi', |
1167 '<(nss_directory)/nss/lib/dev', | 1152 '<(nss_directory)/nss/lib/dev', |
1168 '<(nss_directory)/nss/lib/freebl', | 1153 '<(nss_directory)/nss/lib/freebl', |
1169 '<(nss_directory)/nss/lib/freebl/ecl', | 1154 '<(nss_directory)/nss/lib/freebl/ecl', |
1170 '<(nss_directory)/nss/lib/nss', | 1155 '<(nss_directory)/nss/lib/nss', |
1171 '<(nss_directory)/nss/lib/pk11wrap', | 1156 '<(nss_directory)/nss/lib/pk11wrap', |
1172 '<(nss_directory)/nss/lib/pkcs7', | 1157 '<(nss_directory)/nss/lib/pkcs7', |
1173 '<(nss_directory)/nss/lib/pki', | 1158 '<(nss_directory)/nss/lib/pki', |
1174 '<(nss_directory)/nss/lib/smime', | 1159 '<(nss_directory)/nss/lib/smime', |
1175 '<(nss_directory)/nss/lib/softoken', | 1160 '<(nss_directory)/nss/lib/softoken', |
1176 '<(nss_directory)/nss/lib/util', | 1161 '<(nss_directory)/nss/lib/util', |
1177 '<(pkcs12_directory)', | |
1178 ], | 1162 ], |
1179 }, | 1163 }, |
1180 'msvs_disabled_warnings': [4018, 4101, 4267, ], | 1164 'msvs_disabled_warnings': [4018, 4101, 4267, ], |
1181 'conditions': [ | 1165 'conditions': [ |
1182 ['exclude_nss_root_certs==1', { | 1166 ['exclude_nss_root_certs==1', { |
1183 'defines': [ | 1167 'defines': [ |
1184 'NSS_DISABLE_ROOT_CERTS', | 1168 'NSS_DISABLE_ROOT_CERTS', |
1185 ], | 1169 ], |
1186 }], | 1170 }], |
1187 ['exclude_nss_libpkix==1', { | 1171 ['exclude_nss_libpkix==1', { |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 '-Wno-logical-op-parentheses', | 1317 '-Wno-logical-op-parentheses', |
1334 '-Wno-switch', | 1318 '-Wno-switch', |
1335 '-Wno-tautological-compare', | 1319 '-Wno-tautological-compare', |
1336 ], | 1320 ], |
1337 }], | 1321 }], |
1338 ], | 1322 ], |
1339 }, | 1323 }, |
1340 ], | 1324 ], |
1341 }]], | 1325 }]], |
1342 } | 1326 } |
OLD | NEW |