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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['OS=="ios"', { | 8 ['OS=="ios"', { |
9 'exclude_nss_root_certs%': 0, | 9 'exclude_nss_root_certs%': 0, |
10 'exclude_nss_libpkix%': 0, | 10 'exclude_nss_libpkix%': 0, |
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 'sources/': [ | 1064 'sources/': [ |
1065 ['exclude', '^nss/lib/libpkix/'], | 1065 ['exclude', '^nss/lib/libpkix/'], |
1066 ], | 1066 ], |
1067 'sources!': [ | 1067 'sources!': [ |
1068 'nss/lib/certhigh/certvfypkix.c', | 1068 'nss/lib/certhigh/certvfypkix.c', |
1069 'nss/lib/certhigh/certvfypkixprint.c', | 1069 'nss/lib/certhigh/certvfypkixprint.c', |
1070 ], | 1070 ], |
1071 'include_dirs/': [ | 1071 'include_dirs/': [ |
1072 ['exclude', '^nss/lib/libpkix/'], | 1072 ['exclude', '^nss/lib/libpkix/'], |
1073 ], | 1073 ], |
| 1074 }, { # else: exclude_nss_libpkix==0 |
| 1075 # Disable the LDAP code in libpkix. |
| 1076 'defines': [ |
| 1077 'NSS_PKIX_NO_LDAP', |
| 1078 ], |
| 1079 'sources!': [ |
| 1080 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c', |
| 1081 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.h', |
| 1082 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c', |
| 1083 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.h', |
| 1084 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.c', |
| 1085 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.h', |
| 1086 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.c', |
| 1087 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.h', |
| 1088 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapt.h', |
| 1089 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaptemplates.c', |
| 1090 ], |
1074 }], | 1091 }], |
1075 ['target_arch=="ia32"', { | 1092 ['target_arch=="ia32"', { |
1076 'sources!': [ | 1093 'sources!': [ |
1077 'nss/lib/freebl/mpi/mpi_amd64.c', | 1094 'nss/lib/freebl/mpi/mpi_amd64.c', |
1078 ], | 1095 ], |
1079 }], | 1096 }], |
1080 ['target_arch=="x64" and OS!="win"', { | 1097 ['target_arch=="x64" and OS!="win"', { |
1081 'sources!': [ | 1098 'sources!': [ |
1082 'nss/lib/freebl/chacha20/chacha20.c', | 1099 'nss/lib/freebl/chacha20/chacha20.c', |
1083 'nss/lib/freebl/poly1305/poly1305.c', | 1100 'nss/lib/freebl/poly1305/poly1305.c', |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 '-Wno-incompatible-pointer-types', | 1208 '-Wno-incompatible-pointer-types', |
1192 '-Wno-logical-op-parentheses', | 1209 '-Wno-logical-op-parentheses', |
1193 '-Wno-switch', | 1210 '-Wno-switch', |
1194 '-Wno-tautological-compare', | 1211 '-Wno-tautological-compare', |
1195 ], | 1212 ], |
1196 }], | 1213 }], |
1197 ], | 1214 ], |
1198 }, | 1215 }, |
1199 ], | 1216 ], |
1200 } | 1217 } |
OLD | NEW |