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

Side by Side Diff: nss/scripts/nss-checkout.sh

Issue 7530005: Add all NSS files to allow using a complete NSS in the future. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 9 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « nss/nss.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CVS and prepares 6 # This shell script checks out the NSS source tree from CVS 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 rm -rf mozilla/security/nss/lib 12 rm -rf mozilla/security/nss/lib
13 cvs -q -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export \ 13 cvs -q -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export \
14 -r NSS_3_12_11_BETA1 mozilla/security/nss/lib 14 -r NSS_3_12_11_BETA1 mozilla/security/nss/lib
15 15
16 # Rename one of the utf8.c files to avoid name conflict. 16 # Rename one of the utf8.c files to avoid name conflict.
17 mv mozilla/security/nss/lib/base/utf8.c mozilla/security/nss/lib/base/nssutf8.c 17 mv mozilla/security/nss/lib/base/utf8.c mozilla/security/nss/lib/base/nssutf8.c
18 18
19 rm -r mozilla/security/nss/lib/ckfw 19 rm -r mozilla/security/nss/lib/ckfw/capi
20 rm -r mozilla/security/nss/lib/ckfw/dbm
21 rm -r mozilla/security/nss/lib/ckfw/nssmkey
20 rm -r mozilla/security/nss/lib/crmf 22 rm -r mozilla/security/nss/lib/crmf
21 rm -r mozilla/security/nss/lib/freebl/ecl/tests 23 rm -r mozilla/security/nss/lib/freebl/ecl/tests
22 rm -r mozilla/security/nss/lib/freebl/mpi/doc 24 rm -r mozilla/security/nss/lib/freebl/mpi/doc
23 rm -r mozilla/security/nss/lib/freebl/mpi/tests 25 rm -r mozilla/security/nss/lib/freebl/mpi/tests
24 rm -r mozilla/security/nss/lib/freebl/mpi/utils 26 rm -r mozilla/security/nss/lib/freebl/mpi/utils
25 rm -r mozilla/security/nss/lib/jar 27 rm -r mozilla/security/nss/lib/jar
26 rm -r mozilla/security/nss/lib/libpkix
27 rm -r mozilla/security/nss/lib/pkcs12 28 rm -r mozilla/security/nss/lib/pkcs12
28 rm -r mozilla/security/nss/lib/pki/doc 29 rm -r mozilla/security/nss/lib/pki/doc
29 rm -r mozilla/security/nss/lib/softoken/legacydb 30 rm -r mozilla/security/nss/lib/softoken/legacydb
30 rm -r mozilla/security/nss/lib/sqlite 31 rm -r mozilla/security/nss/lib/sqlite
31 rm -r mozilla/security/nss/lib/sysinit 32 rm -r mozilla/security/nss/lib/sysinit
32 rm -r mozilla/security/nss/lib/zlib 33 rm -r mozilla/security/nss/lib/zlib
33 34
34 find mozilla/security/nss/lib -name .cvsignore -print | xargs rm 35 find mozilla/security/nss/lib -name .cvsignore -print | xargs rm
35 find mozilla/security/nss/lib -name README -print | xargs rm 36 find mozilla/security/nss/lib -name README -print | xargs rm
36 37
37 # Remove the build system. 38 # Remove the build system.
38 find mozilla/security/nss/lib -name Makefile -print | xargs rm 39 find mozilla/security/nss/lib -name Makefile -print | xargs rm
39 find mozilla/security/nss/lib -name manifest.mn -print | xargs rm 40 find mozilla/security/nss/lib -name manifest.mn -print | xargs rm
40 find mozilla/security/nss/lib -name "*.mk" -print | xargs rm 41 find mozilla/security/nss/lib -name "*.mk" -print | xargs rm
41 42
42 # Remove files for building shared libraries/DLLs. 43 # Remove files for building shared libraries/DLLs.
43 find mozilla/security/nss/lib -name "*.def" -print | xargs rm 44 find mozilla/security/nss/lib -name "*.def" -print | xargs rm
44 find mozilla/security/nss/lib -name "*.rc" -print | xargs rm 45 find mozilla/security/nss/lib -name "*.rc" -print | xargs rm
45 46
46 # Remove obsolete files or files we don't need. 47 # Remove obsolete files or files we don't need.
48 rm mozilla/security/nss/lib/ckfw/builtins/certdata.perl
49 rm mozilla/security/nss/lib/ckfw/builtins/certdata.txt
50 rm mozilla/security/nss/lib/ckfw/ck.api
51 rm mozilla/security/nss/lib/ckfw/ckapi.perl
52 rm mozilla/security/nss/lib/libpkix/pkix/params/pkix_buildparams.c
53 rm mozilla/security/nss/lib/libpkix/pkix/params/pkix_buildparams.h
47 rm mozilla/security/nss/lib/util/secload.c 54 rm mozilla/security/nss/lib/util/secload.c
48 rm mozilla/security/nss/lib/util/secplcy.c 55 rm mozilla/security/nss/lib/util/secplcy.c
49 rm mozilla/security/nss/lib/util/secplcy.h 56 rm mozilla/security/nss/lib/util/secplcy.h
50 rm mozilla/security/nss/lib/certhigh/certvfypkix.c
51 rm mozilla/security/nss/lib/certhigh/certvfypkixprint.c
52 rm mozilla/security/nss/lib/smime/*.c 57 rm mozilla/security/nss/lib/smime/*.c
53 58
54 find mozilla/security/nss/lib/ssl -type f ! -name sslerr.h | xargs rm 59 find mozilla/security/nss/lib/ssl -type f ! -name sslerr.h | xargs rm
55 60
56 find mozilla/security/nss/lib/freebl -type f \ 61 find mozilla/security/nss/lib/freebl -type f \
57 ! -name aeskeywrap.c ! -name alg2268.c ! -name alghmac.c \ 62 ! -name aeskeywrap.c ! -name alg2268.c ! -name alghmac.c \
58 ! -name alghmac.h ! -name arcfive.c ! -name arcfour.c \ 63 ! -name alghmac.h ! -name arcfive.c ! -name arcfour.c \
59 ! -name blapi.h ! -name blapii.h ! -name blapit.h \ 64 ! -name blapi.h ! -name blapii.h ! -name blapit.h \
60 ! -name camellia.c ! -name camellia.h ! -name des.c \ 65 ! -name camellia.c ! -name camellia.h ! -name des.c \
61 ! -name des.h ! -name desblapi.c ! -name dh.c \ 66 ! -name des.h ! -name desblapi.c ! -name dh.c \
(...skipping 14 matching lines...) Expand all
76 ! -name mp_gf2m-priv.h ! -name mp_gf2m.c ! -name mp_gf2m.h \ 81 ! -name mp_gf2m-priv.h ! -name mp_gf2m.c ! -name mp_gf2m.h \
77 ! -name primes.c ! -name pqg.c ! -name rawhash.c \ 82 ! -name primes.c ! -name pqg.c ! -name rawhash.c \
78 ! -name rijndael.c ! -name rijndael.h ! -name rijndael32.tab \ 83 ! -name rijndael.c ! -name rijndael.h ! -name rijndael32.tab \
79 ! -name rsa.c ! -name sechash.h ! -name secmpi.h \ 84 ! -name rsa.c ! -name sechash.h ! -name secmpi.h \
80 ! -name secrng.h ! -name seed.c ! -name seed.h \ 85 ! -name secrng.h ! -name seed.c ! -name seed.h \
81 ! -name sha256.h ! -name sha512.c ! -name sha_fast.c \ 86 ! -name sha256.h ! -name sha512.c ! -name sha_fast.c \
82 ! -name sha_fast.h ! -name shsign.h ! -name shvfy.c \ 87 ! -name sha_fast.h ! -name shsign.h ! -name shvfy.c \
83 ! -name sysrand.c ! -name tlsprfalg.c ! -name unix_rand.c \ 88 ! -name sysrand.c ! -name tlsprfalg.c ! -name unix_rand.c \
84 ! -name win_rand.c \ 89 ! -name win_rand.c \
85 | xargs rm 90 | xargs rm
OLDNEW
« no previous file with comments | « nss/nss.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698