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 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1164 ['target_arch=="ia32"', { | 1164 ['target_arch=="ia32"', { |
1165 'defines': [ | 1165 'defines': [ |
1166 'NSS_X86_OR_X64', | 1166 'NSS_X86_OR_X64', |
1167 'NSS_X86', | 1167 'NSS_X86', |
1168 '_X86_', | 1168 '_X86_', |
1169 'MP_ASSEMBLY_MULTIPLY', | 1169 'MP_ASSEMBLY_MULTIPLY', |
1170 'MP_ASSEMBLY_SQUARE', | 1170 'MP_ASSEMBLY_SQUARE', |
1171 'MP_ASSEMBLY_DIV_2DX1D', | 1171 'MP_ASSEMBLY_DIV_2DX1D', |
1172 'MP_USE_UINT_DIGIT', | 1172 'MP_USE_UINT_DIGIT', |
1173 'MP_NO_MP_WORD', | 1173 'MP_NO_MP_WORD', |
1174 ], | 1174 'USE_HW_AES', |
1175 # intel-gcm-x86-masm.asm seems to corrupt memory, so disable all | |
1176 # Intel AES assembly code. (http://crbug.com/367515) | |
1177 'sources!': [ | |
1178 'nss/lib/freebl/intel-aes-x86-masm.asm', | |
1179 'nss/lib/freebl/intel-gcm-wrap.c', | |
1180 'nss/lib/freebl/intel-gcm-x86-masm.asm', | |
1181 ], | 1175 ], |
1182 'msvs_settings': { | 1176 'msvs_settings': { |
1183 'MASM': { | 1177 'MASM': { |
1184 'UseSafeExceptionHandlers': 'true', | 1178 'UseSafeExceptionHandlers': 'true', |
1185 }, | 1179 }, |
1186 }, | 1180 }, |
1187 }], | 1181 }], |
1188 ['target_arch=="x64"', { | 1182 ['target_arch=="x64"', { |
1189 'defines': [ | 1183 'defines': [ |
1190 'NSS_USE_64', | 1184 'NSS_USE_64', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 '-Wno-incompatible-pointer-types', | 1231 '-Wno-incompatible-pointer-types', |
1238 '-Wno-logical-op-parentheses', | 1232 '-Wno-logical-op-parentheses', |
1239 '-Wno-switch', | 1233 '-Wno-switch', |
1240 '-Wno-tautological-compare', | 1234 '-Wno-tautological-compare', |
1241 ], | 1235 ], |
1242 }], | 1236 }], |
1243 ], | 1237 ], |
1244 }, | 1238 }, |
1245 ], | 1239 ], |
1246 } | 1240 } |
OLD | NEW |