| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1103 sources -= [ "nss/lib/freebl/mpi/mpi_amd64.c" ] | 1103 sources -= [ "nss/lib/freebl/mpi/mpi_amd64.c" ] |
| 1104 defines += [ | 1104 defines += [ |
| 1105 "NSS_X86_OR_X64", | 1105 "NSS_X86_OR_X64", |
| 1106 "NSS_X86", | 1106 "NSS_X86", |
| 1107 "_X86_", | 1107 "_X86_", |
| 1108 "MP_ASSEMBLY_MULTIPLY", | 1108 "MP_ASSEMBLY_MULTIPLY", |
| 1109 "MP_ASSEMBLY_SQUARE", | 1109 "MP_ASSEMBLY_SQUARE", |
| 1110 "MP_ASSEMBLY_DIV_2DX1D", | 1110 "MP_ASSEMBLY_DIV_2DX1D", |
| 1111 "MP_USE_UINT_DIGIT", | 1111 "MP_USE_UINT_DIGIT", |
| 1112 "MP_NO_MP_WORD", | 1112 "MP_NO_MP_WORD", |
| 1113 "USE_HW_AES", |
| 1114 "INTEL_GCM", |
| 1113 ] | 1115 ] |
| 1114 } else if (cpu_arch == "x64") { | 1116 } else if (cpu_arch == "x64") { |
| 1115 sources -= [ "nss/lib/freebl/mpi/mpi_x86_asm.c" ] | 1117 sources -= [ "nss/lib/freebl/mpi/mpi_x86_asm.c" ] |
| 1116 defines += [ | 1118 defines += [ |
| 1117 "NSS_USE_64", | 1119 "NSS_USE_64", |
| 1118 "NSS_X86_OR_X64", | 1120 "NSS_X86_OR_X64", |
| 1119 "NSS_X64", | 1121 "NSS_X64", |
| 1120 "_AMD64_", | 1122 "_AMD64_", |
| 1121 "MP_CHAR_STORE_SLOW", | 1123 "MP_CHAR_STORE_SLOW", |
| 1122 "MP_IS_LITTLE_ENDIAN", | 1124 "MP_IS_LITTLE_ENDIAN", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1148 | 1150 |
| 1149 deps = [ | 1151 deps = [ |
| 1150 ":nspr", | 1152 ":nspr", |
| 1151 "//third_party/sqlite", | 1153 "//third_party/sqlite", |
| 1152 ] | 1154 ] |
| 1153 | 1155 |
| 1154 forward_dependent_configs_from = [ ":nspr" ] | 1156 forward_dependent_configs_from = [ ":nspr" ] |
| 1155 } | 1157 } |
| 1156 } # Windows/Mac/iOS. | 1158 } # Windows/Mac/iOS. |
| 1157 | 1159 |
| OLD | NEW |