OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # This shell script checks out the NSS source tree from hg and prepares | 6 # This shell script checks out the NSS source tree from hg and prepares |
7 # it for Chromium. | 7 # it for Chromium. |
8 | 8 |
9 # Make the script exit as soon as something fails. | 9 # Make the script exit as soon as something fails. |
10 set -ex | 10 set -ex |
11 | 11 |
12 # We only need the nss/lib directory, but hg requires us to check out the | 12 # We only need the nss/lib directory, but hg requires us to check out the |
13 # complete nss source tree. | 13 # complete nss source tree. |
14 rm -rf nss | 14 rm -rf nss |
15 hg clone -u NSS_3_19_RTM https://hg.mozilla.org/projects/nss | 15 hg clone -u NSS_3_21_RTM https://hg.mozilla.org/projects/nss |
16 | 16 |
17 # Rename one of the utf8.c files to avoid name conflict. | 17 # Rename one of the utf8.c files to avoid name conflict. |
18 mv nss/lib/base/utf8.c nss/lib/base/nssutf8.c | 18 mv nss/lib/base/utf8.c nss/lib/base/nssutf8.c |
19 | 19 |
20 rm -r nss/lib/ckfw/capi | 20 rm -r nss/lib/ckfw/capi |
21 rm -r nss/lib/ckfw/dbm | 21 rm -r nss/lib/ckfw/dbm |
22 rm -r nss/lib/ckfw/nssmkey | 22 rm -r nss/lib/ckfw/nssmkey |
23 rm -r nss/lib/crmf | 23 rm -r nss/lib/crmf |
24 rm -r nss/lib/dbm | 24 rm -r nss/lib/dbm |
25 rm -r nss/lib/freebl/ecl/tests | 25 rm -r nss/lib/freebl/ecl/tests |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 ! -name mp_gf2m-priv.h ! -name mp_gf2m.c ! -name mp_gf2m.h \ | 87 ! -name mp_gf2m-priv.h ! -name mp_gf2m.c ! -name mp_gf2m.h \ |
88 ! -name primes.c ! -name pqg.c ! -name pqg.h ! -name rawhash.c \ | 88 ! -name primes.c ! -name pqg.c ! -name pqg.h ! -name rawhash.c \ |
89 ! -name rijndael.c ! -name rijndael.h ! -name rijndael32.tab \ | 89 ! -name rijndael.c ! -name rijndael.h ! -name rijndael32.tab \ |
90 ! -name rsa.c ! -name rsapkcs.c ! -name secmpi.h \ | 90 ! -name rsa.c ! -name rsapkcs.c ! -name secmpi.h \ |
91 ! -name secrng.h ! -name seed.c ! -name seed.h \ | 91 ! -name secrng.h ! -name seed.c ! -name seed.h \ |
92 ! -name sha256.h ! -name sha512.c ! -name sha_fast.c \ | 92 ! -name sha256.h ! -name sha512.c ! -name sha_fast.c \ |
93 ! -name sha_fast.h ! -name shsign.h ! -name shvfy.c \ | 93 ! -name sha_fast.h ! -name shsign.h ! -name shvfy.c \ |
94 ! -name sysrand.c ! -name tlsprfalg.c ! -name unix_rand.c \ | 94 ! -name sysrand.c ! -name tlsprfalg.c ! -name unix_rand.c \ |
95 ! -name win_rand.c \ | 95 ! -name win_rand.c \ |
96 | xargs rm | 96 | xargs rm |
OLD | NEW |