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 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6 # for details. All rights reserved. Use of this source code is governed by a | 6 # for details. All rights reserved. Use of this source code is governed by a |
7 # BSD-style license that can be found in the LICENSE file. | 7 # BSD-style license that can be found in the LICENSE file. |
8 | 8 |
9 # This file is a modified copy of Chromium's deps/third_party/nss/nss.gyp. | 9 # This file is a modified copy of Chromium's deps/third_party/nss/nss.gyp. |
10 # Revision 199075 (this should agree with "nss_rev" in DEPS). | 10 # Revision 232552 (this should agree with "nss_rev" in DEPS). |
11 { | 11 { |
12 # Added by Dart. All Dart comments refer to the following block or line. | 12 # Added by Dart. All Dart comments refer to the following block or line. |
13 'includes': [ | 13 'includes': [ |
14 '../../tools/gyp/runtime-configurations.gypi', | 14 '../../tools/gyp/runtime-configurations.gypi', |
15 '../../tools/gyp/nss_configurations.gypi', | 15 '../../tools/gyp/nss_configurations.gypi', |
16 ], | 16 ], |
17 'variables': { | 17 'variables': { |
18 # Added by Dart. | 18 # Added by Dart. |
19 'nss_directory': '../../../third_party/nss', | 19 'nss_directory': '../../../third_party/nss', |
20 'conditions': [ | 20 'conditions': [ |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 '<(nss_directory)/nss/lib/freebl/alg2268.c', | 653 '<(nss_directory)/nss/lib/freebl/alg2268.c', |
654 '<(nss_directory)/nss/lib/freebl/alghmac.c', | 654 '<(nss_directory)/nss/lib/freebl/alghmac.c', |
655 '<(nss_directory)/nss/lib/freebl/alghmac.h', | 655 '<(nss_directory)/nss/lib/freebl/alghmac.h', |
656 '<(nss_directory)/nss/lib/freebl/arcfive.c', | 656 '<(nss_directory)/nss/lib/freebl/arcfive.c', |
657 '<(nss_directory)/nss/lib/freebl/arcfour.c', | 657 '<(nss_directory)/nss/lib/freebl/arcfour.c', |
658 '<(nss_directory)/nss/lib/freebl/blapi.h', | 658 '<(nss_directory)/nss/lib/freebl/blapi.h', |
659 '<(nss_directory)/nss/lib/freebl/blapii.h', | 659 '<(nss_directory)/nss/lib/freebl/blapii.h', |
660 '<(nss_directory)/nss/lib/freebl/blapit.h', | 660 '<(nss_directory)/nss/lib/freebl/blapit.h', |
661 '<(nss_directory)/nss/lib/freebl/camellia.c', | 661 '<(nss_directory)/nss/lib/freebl/camellia.c', |
662 '<(nss_directory)/nss/lib/freebl/camellia.h', | 662 '<(nss_directory)/nss/lib/freebl/camellia.h', |
| 663 '<(nss_directory)/nss/lib/freebl/chacha20/chacha20.c', |
| 664 '<(nss_directory)/nss/lib/freebl/chacha20/chacha20.h', |
| 665 '<(nss_directory)/nss/lib/freebl/chacha20/chacha20_vec.c', |
| 666 '<(nss_directory)/nss/lib/freebl/chacha20poly1305.c', |
| 667 '<(nss_directory)/nss/lib/freebl/chacha20poly1305.h', |
663 '<(nss_directory)/nss/lib/freebl/ctr.c', | 668 '<(nss_directory)/nss/lib/freebl/ctr.c', |
664 '<(nss_directory)/nss/lib/freebl/ctr.h', | 669 '<(nss_directory)/nss/lib/freebl/ctr.h', |
665 '<(nss_directory)/nss/lib/freebl/cts.c', | 670 '<(nss_directory)/nss/lib/freebl/cts.c', |
666 '<(nss_directory)/nss/lib/freebl/cts.h', | 671 '<(nss_directory)/nss/lib/freebl/cts.h', |
667 '<(nss_directory)/nss/lib/freebl/des.c', | 672 '<(nss_directory)/nss/lib/freebl/des.c', |
668 '<(nss_directory)/nss/lib/freebl/des.h', | 673 '<(nss_directory)/nss/lib/freebl/des.h', |
669 '<(nss_directory)/nss/lib/freebl/desblapi.c', | 674 '<(nss_directory)/nss/lib/freebl/desblapi.c', |
670 '<(nss_directory)/nss/lib/freebl/dh.c', | 675 '<(nss_directory)/nss/lib/freebl/dh.c', |
671 '<(nss_directory)/nss/lib/freebl/drbg.c', | 676 '<(nss_directory)/nss/lib/freebl/drbg.c', |
672 '<(nss_directory)/nss/lib/freebl/dsa.c', | 677 '<(nss_directory)/nss/lib/freebl/dsa.c', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 '<(nss_directory)/nss/lib/freebl/mpi/mpi_x86_asm.c', | 713 '<(nss_directory)/nss/lib/freebl/mpi/mpi_x86_asm.c', |
709 '<(nss_directory)/nss/lib/freebl/mpi/mplogic.c', | 714 '<(nss_directory)/nss/lib/freebl/mpi/mplogic.c', |
710 '<(nss_directory)/nss/lib/freebl/mpi/mplogic.h', | 715 '<(nss_directory)/nss/lib/freebl/mpi/mplogic.h', |
711 '<(nss_directory)/nss/lib/freebl/mpi/mpmontg.c', | 716 '<(nss_directory)/nss/lib/freebl/mpi/mpmontg.c', |
712 '<(nss_directory)/nss/lib/freebl/mpi/mpprime.c', | 717 '<(nss_directory)/nss/lib/freebl/mpi/mpprime.c', |
713 '<(nss_directory)/nss/lib/freebl/mpi/mpprime.h', | 718 '<(nss_directory)/nss/lib/freebl/mpi/mpprime.h', |
714 '<(nss_directory)/nss/lib/freebl/mpi/mp_gf2m-priv.h', | 719 '<(nss_directory)/nss/lib/freebl/mpi/mp_gf2m-priv.h', |
715 '<(nss_directory)/nss/lib/freebl/mpi/mp_gf2m.c', | 720 '<(nss_directory)/nss/lib/freebl/mpi/mp_gf2m.c', |
716 '<(nss_directory)/nss/lib/freebl/mpi/mp_gf2m.h', | 721 '<(nss_directory)/nss/lib/freebl/mpi/mp_gf2m.h', |
717 '<(nss_directory)/nss/lib/freebl/mpi/primes.c', | 722 '<(nss_directory)/nss/lib/freebl/mpi/primes.c', |
| 723 '<(nss_directory)/nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-increm
ental-source.c', |
| 724 '<(nss_directory)/nss/lib/freebl/poly1305/poly1305.c', |
| 725 '<(nss_directory)/nss/lib/freebl/poly1305/poly1305.h', |
718 '<(nss_directory)/nss/lib/freebl/pqg.c', | 726 '<(nss_directory)/nss/lib/freebl/pqg.c', |
719 '<(nss_directory)/nss/lib/freebl/pqg.h', | 727 '<(nss_directory)/nss/lib/freebl/pqg.h', |
720 '<(nss_directory)/nss/lib/freebl/rawhash.c', | 728 '<(nss_directory)/nss/lib/freebl/rawhash.c', |
721 '<(nss_directory)/nss/lib/freebl/rijndael.c', | 729 '<(nss_directory)/nss/lib/freebl/rijndael.c', |
722 '<(nss_directory)/nss/lib/freebl/rijndael.h', | 730 '<(nss_directory)/nss/lib/freebl/rijndael.h', |
723 '<(nss_directory)/nss/lib/freebl/rijndael32.tab', | 731 '<(nss_directory)/nss/lib/freebl/rijndael32.tab', |
724 '<(nss_directory)/nss/lib/freebl/rsa.c', | 732 '<(nss_directory)/nss/lib/freebl/rsa.c', |
725 '<(nss_directory)/nss/lib/freebl/secmpi.h', | 733 '<(nss_directory)/nss/lib/freebl/secmpi.h', |
726 '<(nss_directory)/nss/lib/freebl/secrng.h', | 734 '<(nss_directory)/nss/lib/freebl/secrng.h', |
727 '<(nss_directory)/nss/lib/freebl/seed.c', | 735 '<(nss_directory)/nss/lib/freebl/seed.c', |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1093 'MP_API_COMPATIBLE', | 1101 'MP_API_COMPATIBLE', |
1094 'NSS_DISABLE_DBM', | 1102 'NSS_DISABLE_DBM', |
1095 'NSS_ENABLE_ECC', | 1103 'NSS_ENABLE_ECC', |
1096 'NSS_STATIC', | 1104 'NSS_STATIC', |
1097 'NSS_USE_STATIC_LIBS', | 1105 'NSS_USE_STATIC_LIBS', |
1098 'RIJNDAEL_INCLUDE_TABLES', | 1106 'RIJNDAEL_INCLUDE_TABLES', |
1099 'SHLIB_VERSION=\"3\"', | 1107 'SHLIB_VERSION=\"3\"', |
1100 'SOFTOKEN_SHLIB_VERSION=\"3\"', | 1108 'SOFTOKEN_SHLIB_VERSION=\"3\"', |
1101 'USE_UTIL_DIRECTLY', | 1109 'USE_UTIL_DIRECTLY', |
1102 ], | 1110 ], |
1103 'defines!': [ | |
1104 # Regrettably, NSS can't be compiled with NO_NSPR_10_SUPPORT yet. | |
1105 'NO_NSPR_10_SUPPORT', | |
1106 ], | |
1107 'include_dirs': [ | 1111 'include_dirs': [ |
1108 '<(nss_directory)/nss/lib/base', | 1112 '<(nss_directory)/nss/lib/base', |
1109 '<(nss_directory)/nss/lib/certdb', | 1113 '<(nss_directory)/nss/lib/certdb', |
1110 '<(nss_directory)/nss/lib/certhigh', | 1114 '<(nss_directory)/nss/lib/certhigh', |
1111 '<(nss_directory)/nss/lib/cryptohi', | 1115 '<(nss_directory)/nss/lib/cryptohi', |
1112 '<(nss_directory)/nss/lib/dev', | 1116 '<(nss_directory)/nss/lib/dev', |
1113 '<(nss_directory)/nss/lib/freebl', | 1117 '<(nss_directory)/nss/lib/freebl', |
1114 '<(nss_directory)/nss/lib/freebl/ecl', | 1118 '<(nss_directory)/nss/lib/freebl/ecl', |
1115 '<(nss_directory)/nss/lib/freebl/mpi', | 1119 '<(nss_directory)/nss/lib/freebl/mpi', |
1116 '<(nss_directory)/nss/lib/libpkix/include', | 1120 '<(nss_directory)/nss/lib/libpkix/include', |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 # So we use the partial match by dropping '^' from '^nss/... | 1191 # So we use the partial match by dropping '^' from '^nss/... |
1188 'include_dirs/': [ | 1192 'include_dirs/': [ |
1189 ['exclude', 'nss/lib/libpkix/'], | 1193 ['exclude', 'nss/lib/libpkix/'], |
1190 ], | 1194 ], |
1191 }], | 1195 }], |
1192 ['target_arch=="ia32"', { | 1196 ['target_arch=="ia32"', { |
1193 'sources!': [ | 1197 'sources!': [ |
1194 '<(nss_directory)/nss/lib/freebl/mpi/mpi_amd64.c', | 1198 '<(nss_directory)/nss/lib/freebl/mpi/mpi_amd64.c', |
1195 ], | 1199 ], |
1196 }], | 1200 }], |
| 1201 # Added by Dart. |
1197 ['OS=="linux"', { | 1202 ['OS=="linux"', { |
1198 'defines': [ | 1203 'defines': [ |
1199 'XP_UNIX', | 1204 'XP_UNIX', |
1200 'HAVE_STRERROR', | 1205 'HAVE_STRERROR', |
1201 'SHLIB_SUFFIX=\"so\"', | 1206 'SHLIB_SUFFIX=\"so\"', |
1202 'SHLIB_PREFIX=\"lib\"', | 1207 'SHLIB_PREFIX=\"lib\"', |
1203 'SHLIB_VERSION=\"3\"', | 1208 'SHLIB_VERSION=\"3\"', |
1204 'SOFTOKEN_SHLIB_VERSION=\"3\"', | 1209 'SOFTOKEN_SHLIB_VERSION=\"3\"', |
1205 'SOFTOKEN_LIB_NAME=\"libsoftokn3.so\"', | 1210 'SOFTOKEN_LIB_NAME=\"libsoftokn3.so\"', |
1206 ], | 1211 ], |
1207 'sources!': [ | 1212 'sources!': [ |
1208 '<(nss_directory)/nss/lib/freebl/mpi/mpi_amd64.c', | 1213 '<(nss_directory)/nss/lib/freebl/mpi/mpi_amd64.c', |
1209 '<(nss_directory)/nss/lib/freebl/mpi/mpi_x86_asm.c', | 1214 '<(nss_directory)/nss/lib/freebl/mpi/mpi_x86_asm.c', |
1210 ], | 1215 ], |
1211 }], | 1216 }], |
| 1217 ['target_arch=="x64" and OS!="win"', { |
| 1218 'sources!': [ |
| 1219 '<(nss_directory)/nss/lib/freebl/chacha20/chacha20.c', |
| 1220 '<(nss_directory)/nss/lib/freebl/poly1305/poly1305.c', |
| 1221 ], |
| 1222 }, { # else: target_arch!="x64" or OS=="win" |
| 1223 'sources!': [ |
| 1224 '<(nss_directory)/nss/lib/freebl/chacha20/chacha20_vec.c', |
| 1225 '<(nss_directory)/nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-in
cremental-source.c', |
| 1226 ], |
| 1227 }], |
1212 ['OS=="mac" or OS=="ios"', { | 1228 ['OS=="mac" or OS=="ios"', { |
1213 'defines': [ | 1229 'defines': [ |
1214 'XP_UNIX', | 1230 'XP_UNIX', |
1215 'DARWIN', | 1231 'DARWIN', |
1216 'HAVE_STRERROR', | 1232 'HAVE_STRERROR', |
1217 'HAVE_BSD_FLOCK', | 1233 'HAVE_BSD_FLOCK', |
1218 'SHLIB_SUFFIX=\"dylib\"', | 1234 'SHLIB_SUFFIX=\"dylib\"', |
1219 'SHLIB_PREFIX=\"lib\"', | 1235 'SHLIB_PREFIX=\"lib\"', |
1220 'SOFTOKEN_LIB_NAME=\"libsoftokn3.dylib\"', | 1236 'SOFTOKEN_LIB_NAME=\"libsoftokn3.dylib\"', |
1221 ], | 1237 ], |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1317 '-Wno-logical-op-parentheses', | 1333 '-Wno-logical-op-parentheses', |
1318 '-Wno-switch', | 1334 '-Wno-switch', |
1319 '-Wno-tautological-compare', | 1335 '-Wno-tautological-compare', |
1320 ], | 1336 ], |
1321 }], | 1337 }], |
1322 ], | 1338 ], |
1323 }, | 1339 }, |
1324 ], | 1340 ], |
1325 }]], | 1341 }]], |
1326 } | 1342 } |
OLD | NEW |