OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
6 | 6 |
7 if (is_linux) { | 7 if (is_linux) { |
8 # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL | 8 # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL |
9 # library but the system NSS libraries. Non-Linux platforms using NSS use the | 9 # library but the system NSS libraries. Non-Linux platforms using NSS use the |
10 # hermetic one in //third_party/nss. | 10 # hermetic one in //third_party/nss. |
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1152 "NSS_X86", | 1152 "NSS_X86", |
1153 "_X86_", | 1153 "_X86_", |
1154 "MP_ASSEMBLY_MULTIPLY", | 1154 "MP_ASSEMBLY_MULTIPLY", |
1155 "MP_ASSEMBLY_SQUARE", | 1155 "MP_ASSEMBLY_SQUARE", |
1156 "MP_ASSEMBLY_DIV_2DX1D", | 1156 "MP_ASSEMBLY_DIV_2DX1D", |
1157 "MP_USE_UINT_DIGIT", | 1157 "MP_USE_UINT_DIGIT", |
1158 "MP_NO_MP_WORD", | 1158 "MP_NO_MP_WORD", |
1159 "USE_HW_AES", | 1159 "USE_HW_AES", |
1160 "INTEL_GCM", | 1160 "INTEL_GCM", |
1161 ] | 1161 ] |
| 1162 sources -= [ |
| 1163 "nss/lib/freebl/mpi/mpi_amd64.c", |
| 1164 ] |
| 1165 |
1162 } else if (cpu_arch == "x64") { | 1166 } else if (cpu_arch == "x64") { |
1163 sources -= [ | 1167 sources -= [ |
1164 "nss/lib/freebl/intel-aes-x86-masm.asm", | 1168 "nss/lib/freebl/intel-aes-x86-masm.asm", |
1165 "nss/lib/freebl/mpi/mpi_amd64.c", | 1169 "nss/lib/freebl/mpi/mpi_amd64.c", |
1166 "nss/lib/freebl/mpi/mpi_x86_asm.c", | 1170 "nss/lib/freebl/mpi/mpi_x86_asm.c", |
1167 ] | 1171 ] |
1168 defines += [ | 1172 defines += [ |
1169 "NSS_USE_64", | 1173 "NSS_USE_64", |
1170 "NSS_X86_OR_X64", | 1174 "NSS_X86_OR_X64", |
1171 "NSS_X64", | 1175 "NSS_X64", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1205 ":nspr", | 1209 ":nspr", |
1206 "//third_party/sqlite", | 1210 "//third_party/sqlite", |
1207 ] | 1211 ] |
1208 | 1212 |
1209 if (is_win && cpu_arch == "x86") { | 1213 if (is_win && cpu_arch == "x86") { |
1210 deps += [ ":nss_static_avx" ] | 1214 deps += [ ":nss_static_avx" ] |
1211 } | 1215 } |
1212 } | 1216 } |
1213 } # Windows/Mac/iOS. | 1217 } # Windows/Mac/iOS. |
1214 | 1218 |
OLD | NEW |