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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 "nss/lib/dev/nssdevt.h", | 554 "nss/lib/dev/nssdevt.h", |
555 "nss/lib/freebl/aeskeywrap.c", | 555 "nss/lib/freebl/aeskeywrap.c", |
556 "nss/lib/freebl/alg2268.c", | 556 "nss/lib/freebl/alg2268.c", |
557 "nss/lib/freebl/alghmac.c", | 557 "nss/lib/freebl/alghmac.c", |
558 "nss/lib/freebl/alghmac.h", | 558 "nss/lib/freebl/alghmac.h", |
559 "nss/lib/freebl/arcfive.c", | 559 "nss/lib/freebl/arcfive.c", |
560 "nss/lib/freebl/arcfour.c", | 560 "nss/lib/freebl/arcfour.c", |
561 "nss/lib/freebl/blapi.h", | 561 "nss/lib/freebl/blapi.h", |
562 "nss/lib/freebl/blapii.h", | 562 "nss/lib/freebl/blapii.h", |
563 "nss/lib/freebl/blapit.h", | 563 "nss/lib/freebl/blapit.h", |
564 "nss/lib/freebl/build_config_mac.h", | |
565 "nss/lib/freebl/camellia.c", | 564 "nss/lib/freebl/camellia.c", |
566 "nss/lib/freebl/camellia.h", | 565 "nss/lib/freebl/camellia.h", |
567 "nss/lib/freebl/chacha20/chacha20.c", | 566 "nss/lib/freebl/chacha20/chacha20.c", |
568 "nss/lib/freebl/chacha20/chacha20.h", | 567 "nss/lib/freebl/chacha20/chacha20.h", |
569 "nss/lib/freebl/chacha20/chacha20_vec.c", | 568 "nss/lib/freebl/chacha20/chacha20_vec.c", |
570 "nss/lib/freebl/chacha20poly1305.c", | 569 "nss/lib/freebl/chacha20poly1305.c", |
571 "nss/lib/freebl/chacha20poly1305.h", | 570 "nss/lib/freebl/chacha20poly1305.h", |
572 "nss/lib/freebl/ctr.c", | 571 "nss/lib/freebl/ctr.c", |
573 "nss/lib/freebl/ctr.h", | 572 "nss/lib/freebl/ctr.h", |
574 "nss/lib/freebl/cts.c", | 573 "nss/lib/freebl/cts.c", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 "nss/lib/freebl/mpi/mpi_x86_asm.c", | 619 "nss/lib/freebl/mpi/mpi_x86_asm.c", |
621 "nss/lib/freebl/mpi/mplogic.c", | 620 "nss/lib/freebl/mpi/mplogic.c", |
622 "nss/lib/freebl/mpi/mplogic.h", | 621 "nss/lib/freebl/mpi/mplogic.h", |
623 "nss/lib/freebl/mpi/mpmontg.c", | 622 "nss/lib/freebl/mpi/mpmontg.c", |
624 "nss/lib/freebl/mpi/mpprime.c", | 623 "nss/lib/freebl/mpi/mpprime.c", |
625 "nss/lib/freebl/mpi/mpprime.h", | 624 "nss/lib/freebl/mpi/mpprime.h", |
626 "nss/lib/freebl/mpi/mp_gf2m-priv.h", | 625 "nss/lib/freebl/mpi/mp_gf2m-priv.h", |
627 "nss/lib/freebl/mpi/mp_gf2m.c", | 626 "nss/lib/freebl/mpi/mp_gf2m.c", |
628 "nss/lib/freebl/mpi/mp_gf2m.h", | 627 "nss/lib/freebl/mpi/mp_gf2m.h", |
629 "nss/lib/freebl/mpi/primes.c", | 628 "nss/lib/freebl/mpi/primes.c", |
| 629 "nss/lib/freebl/nss_build_config_mac.h", |
630 "nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source.c", | 630 "nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source.c", |
631 "nss/lib/freebl/poly1305/poly1305.c", | 631 "nss/lib/freebl/poly1305/poly1305.c", |
632 "nss/lib/freebl/poly1305/poly1305.h", | 632 "nss/lib/freebl/poly1305/poly1305.h", |
633 "nss/lib/freebl/pqg.c", | 633 "nss/lib/freebl/pqg.c", |
634 "nss/lib/freebl/pqg.h", | 634 "nss/lib/freebl/pqg.h", |
635 "nss/lib/freebl/rawhash.c", | 635 "nss/lib/freebl/rawhash.c", |
636 "nss/lib/freebl/rijndael.c", | 636 "nss/lib/freebl/rijndael.c", |
637 "nss/lib/freebl/rijndael.h", | 637 "nss/lib/freebl/rijndael.h", |
638 "nss/lib/freebl/rijndael32.tab", | 638 "nss/lib/freebl/rijndael32.tab", |
639 "nss/lib/freebl/rsa.c", | 639 "nss/lib/freebl/rsa.c", |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1063 "nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source.c", | 1063 "nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source.c", |
1064 ] | 1064 ] |
1065 } | 1065 } |
1066 | 1066 |
1067 if (is_mac || is_ios) { | 1067 if (is_mac || is_ios) { |
1068 sources -= [ | 1068 sources -= [ |
1069 "nss/lib/freebl/mpi/mpi_amd64.c", | 1069 "nss/lib/freebl/mpi/mpi_amd64.c", |
1070 ] | 1070 ] |
1071 cflags += [ | 1071 cflags += [ |
1072 "-include", | 1072 "-include", |
1073 rebase_path("//third_party/nss/nss/lib/freebl/build_config_mac.h", | 1073 rebase_path("//third_party/nss/nss/lib/freebl/nss_build_config_mac.h", |
1074 root_build_dir), | 1074 root_build_dir), |
1075 ] | 1075 ] |
1076 defines += [ | 1076 defines += [ |
1077 "XP_UNIX", | 1077 "XP_UNIX", |
1078 "DARWIN", | 1078 "DARWIN", |
1079 "HAVE_STRERROR", | 1079 "HAVE_STRERROR", |
1080 "HAVE_BSD_FLOCK", | 1080 "HAVE_BSD_FLOCK", |
1081 "SHLIB_SUFFIX=\"dylib\"", | 1081 "SHLIB_SUFFIX=\"dylib\"", |
1082 "SHLIB_PREFIX=\"lib\"", | 1082 "SHLIB_PREFIX=\"lib\"", |
1083 "SOFTOKEN_LIB_NAME=\"libsoftokn3.dylib\"", | 1083 "SOFTOKEN_LIB_NAME=\"libsoftokn3.dylib\"", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1150 | 1150 |
1151 deps = [ | 1151 deps = [ |
1152 ":nspr", | 1152 ":nspr", |
1153 "//third_party/sqlite", | 1153 "//third_party/sqlite", |
1154 ] | 1154 ] |
1155 | 1155 |
1156 forward_dependent_configs_from = [ ":nspr" ] | 1156 forward_dependent_configs_from = [ ":nspr" ] |
1157 } | 1157 } |
1158 } # Windows/Mac/iOS. | 1158 } # Windows/Mac/iOS. |
1159 | 1159 |
OLD | NEW |