Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: build/secondary/third_party/nss/BUILD.gn

Issue 703753005: More Windows build fixes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove generated files Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | mojo/edk/system/data_pipe_consumer_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 "nss/lib/util/nssrwlk.h", 822 "nss/lib/util/nssrwlk.h",
823 "nss/lib/util/nssrwlkt.h", 823 "nss/lib/util/nssrwlkt.h",
824 "nss/lib/util/nssutil.h", 824 "nss/lib/util/nssutil.h",
825 "nss/lib/util/oidstring.c", 825 "nss/lib/util/oidstring.c",
826 "nss/lib/util/pkcs11.h", 826 "nss/lib/util/pkcs11.h",
827 "nss/lib/util/pkcs11f.h", 827 "nss/lib/util/pkcs11f.h",
828 "nss/lib/util/pkcs11n.h", 828 "nss/lib/util/pkcs11n.h",
829 "nss/lib/util/pkcs11p.h", 829 "nss/lib/util/pkcs11p.h",
830 "nss/lib/util/pkcs11t.h", 830 "nss/lib/util/pkcs11t.h",
831 "nss/lib/util/pkcs11u.h", 831 "nss/lib/util/pkcs11u.h",
832 "nss/lib/util/pkcs1sig.c",
833 "nss/lib/util/pkcs1sig.h",
832 "nss/lib/util/portreg.c", 834 "nss/lib/util/portreg.c",
833 "nss/lib/util/portreg.h", 835 "nss/lib/util/portreg.h",
834 "nss/lib/util/quickder.c", 836 "nss/lib/util/quickder.c",
835 "nss/lib/util/secalgid.c", 837 "nss/lib/util/secalgid.c",
836 "nss/lib/util/secasn1.h", 838 "nss/lib/util/secasn1.h",
837 "nss/lib/util/secasn1d.c", 839 "nss/lib/util/secasn1d.c",
838 "nss/lib/util/secasn1e.c", 840 "nss/lib/util/secasn1e.c",
839 "nss/lib/util/secasn1t.h", 841 "nss/lib/util/secasn1t.h",
840 "nss/lib/util/secasn1u.c", 842 "nss/lib/util/secasn1u.c",
841 "nss/lib/util/seccomon.h", 843 "nss/lib/util/seccomon.h",
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 defines += [ 1140 defines += [
1139 "SHLIB_SUFFIX=\"dll\"", 1141 "SHLIB_SUFFIX=\"dll\"",
1140 "SHLIB_PREFIX=\"\"", 1142 "SHLIB_PREFIX=\"\"",
1141 "SOFTOKEN_LIB_NAME=\"softokn3.dll\"", 1143 "SOFTOKEN_LIB_NAME=\"softokn3.dll\"",
1142 "XP_PC", 1144 "XP_PC",
1143 "WIN32", 1145 "WIN32",
1144 "WIN95", 1146 "WIN95",
1145 ] 1147 ]
1146 1148
1147 if (cpu_arch == "x86") { 1149 if (cpu_arch == "x86") {
1148 sources -= [ "nss/lib/freebl/mpi/mpi_amd64.c" ]
1149 defines += [ 1150 defines += [
1150 "NSS_X86_OR_X64", 1151 "NSS_X86_OR_X64",
1151 "NSS_X86", 1152 "NSS_X86",
1152 "_X86_", 1153 "_X86_",
1153 "MP_ASSEMBLY_MULTIPLY", 1154 "MP_ASSEMBLY_MULTIPLY",
1154 "MP_ASSEMBLY_SQUARE", 1155 "MP_ASSEMBLY_SQUARE",
1155 "MP_ASSEMBLY_DIV_2DX1D", 1156 "MP_ASSEMBLY_DIV_2DX1D",
1156 "MP_USE_UINT_DIGIT", 1157 "MP_USE_UINT_DIGIT",
1157 "MP_NO_MP_WORD", 1158 "MP_NO_MP_WORD",
1158 "USE_HW_AES", 1159 "USE_HW_AES",
1159 "INTEL_GCM", 1160 "INTEL_GCM",
1160 ] 1161 ]
1161 } else if (cpu_arch == "x64") { 1162 } else if (cpu_arch == "x64") {
1162 sources -= [ "nss/lib/freebl/mpi/mpi_x86_asm.c" ] 1163 sources -= [
1164 "nss/lib/freebl/intel-aes-x86-masm.asm",
1165 "nss/lib/freebl/mpi/mpi_amd64.c",
1166 "nss/lib/freebl/mpi/mpi_x86_asm.c",
1167 ]
1163 defines += [ 1168 defines += [
1164 "NSS_USE_64", 1169 "NSS_USE_64",
1165 "NSS_X86_OR_X64", 1170 "NSS_X86_OR_X64",
1166 "NSS_X64", 1171 "NSS_X64",
1167 "_AMD64_", 1172 "_AMD64_",
1168 "MP_CHAR_STORE_SLOW", 1173 "MP_CHAR_STORE_SLOW",
1169 "MP_IS_LITTLE_ENDIAN", 1174 "MP_IS_LITTLE_ENDIAN",
1170 "WIN64", 1175 "WIN64",
1171 ] 1176 ]
1172 } 1177 }
(...skipping 27 matching lines...) Expand all
1200 ":nspr", 1205 ":nspr",
1201 "//third_party/sqlite", 1206 "//third_party/sqlite",
1202 ] 1207 ]
1203 1208
1204 if (is_win && cpu_arch == "x86") { 1209 if (is_win && cpu_arch == "x86") {
1205 deps += [ ":nss_static_avx" ] 1210 deps += [ ":nss_static_avx" ]
1206 } 1211 }
1207 } 1212 }
1208 } # Windows/Mac/iOS. 1213 } # Windows/Mac/iOS.
1209 1214
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/system/data_pipe_consumer_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698