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

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

Issue 68173008: Update to NSPR 4.10.2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update README.chromium Created 7 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 | Annotate | Revision Log
« no previous file with comments | « nspr/pr/src/threads/combined/pruthr.c ('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) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 NSPR source tree from CVS and prepares 6 # This shell script checks out the NSPR 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/nsprpub 12 rm -rf nspr
13 cvs -q -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export \ 13 hg clone -u NSPR_4_10_2_RTM https://hg.mozilla.org/projects/nspr
14 -r NSPR_4_9_5_BETA2 NSPR
15 14
16 rm -r mozilla/nsprpub/admin 15 rm -r nspr/admin
17 rm -r mozilla/nsprpub/build 16 rm -r nspr/build
18 rm -r mozilla/nsprpub/config 17 rm -r nspr/config
19 rm -r mozilla/nsprpub/lib/prstreams 18 rm -r nspr/lib/prstreams
20 rm -r mozilla/nsprpub/lib/tests 19 rm -r nspr/lib/tests
21 rm -r mozilla/nsprpub/pkg 20 rm -r nspr/pkg
22 rm -r mozilla/nsprpub/pr/src/cplus 21 rm -r nspr/pr/src/cplus
23 rm -r mozilla/nsprpub/pr/tests 22 rm -r nspr/pr/tests
24 rm -r mozilla/nsprpub/tools 23 rm -r nspr/tools
25 24
26 # Remove unneeded platform-specific directories. 25 # Remove unneeded platform-specific directories.
27 rm -r mozilla/nsprpub/pr/src/bthreads 26 rm -r nspr/pr/src/bthreads
28 rm -r mozilla/nsprpub/pr/src/md/beos 27 rm -r nspr/pr/src/md/beos
29 rm -r mozilla/nsprpub/pr/src/md/os2 28 rm -r nspr/pr/src/md/os2
30 29
31 find mozilla/nsprpub -name .cvsignore -print | xargs rm 30 find nspr -name .cvsignore -print | xargs rm
32 find mozilla/nsprpub -name README -print | xargs rm 31 find nspr -name README -print | xargs rm
33 32
34 # Remove the build system. 33 # Remove the build system.
35 rm mozilla/nsprpub/aclocal.m4 34 rm nspr/aclocal.m4
36 rm mozilla/nsprpub/configure 35 rm nspr/configure
37 rm mozilla/nsprpub/configure.in 36 rm nspr/configure.in
38 find mozilla/nsprpub -name Makefile.in -print | xargs rm 37 find nspr -name Makefile.in -print | xargs rm
39 find mozilla/nsprpub -name "*.mk" -print | xargs rm 38 find nspr -name "*.mk" -print | xargs rm
40 39
41 # Remove files for building shared libraries/DLLs. 40 # Remove files for building shared libraries/DLLs.
42 find mozilla/nsprpub -name "*.def" -print | xargs rm 41 find nspr -name "*.def" -print | xargs rm
43 find mozilla/nsprpub -name "*.rc" -print | xargs rm 42 find nspr -name "*.rc" -print | xargs rm
44 find mozilla/nsprpub -name prvrsion.c -print | xargs rm 43 find nspr -name prvrsion.c -print | xargs rm
45 find mozilla/nsprpub -name plvrsion.c -print | xargs rm 44 find nspr -name plvrsion.c -print | xargs rm
46 45
47 # Remove unneeded platform-specific files in mozilla/nsprpub/pr/include/md. 46 # Remove unneeded platform-specific files in nspr/pr/include/md.
48 find mozilla/nsprpub/pr/include/md -name "_*" ! -name "_darwin.*" \ 47 find nspr/pr/include/md -name "_*" ! -name "_darwin.*" \
49 ! -name "_linux.*" ! -name "_win95.*" ! -name _pth.h ! -name _pcos.h \ 48 ! -name "_linux.*" ! -name "_win95.*" ! -name _pth.h ! -name _pcos.h \
50 ! -name _unixos.h ! -name _unix_errors.h ! -name _win32_errors.h -print \ 49 ! -name _unixos.h ! -name _unix_errors.h ! -name _win32_errors.h -print \
51 | xargs rm 50 | xargs rm
52 51
53 # Remove files for unneeded Unix flavors. 52 # Remove files for unneeded Unix flavors.
54 find mozilla/nsprpub/pr/src/md/unix -type f ! -name "ux*.c" ! -name unix.c \ 53 find nspr/pr/src/md/unix -type f ! -name "ux*.c" ! -name unix.c \
55 ! -name unix_errors.c ! -name darwin.c ! -name "os_Darwin*.s" \ 54 ! -name unix_errors.c ! -name darwin.c ! -name "os_Darwin*.s" \
56 ! -name linux.c ! -name "os_Linux*.s" -print \ 55 ! -name linux.c ! -name "os_Linux*.s" -print \
57 | xargs rm 56 | xargs rm
58 rm mozilla/nsprpub/pr/src/md/unix/os_Darwin_ppc.s 57 rm nspr/pr/src/md/unix/os_Darwin_ppc.s
59 rm mozilla/nsprpub/pr/src/md/unix/os_Linux_ppc.s 58 rm nspr/pr/src/md/unix/os_Linux_ppc.s
60 rm mozilla/nsprpub/pr/src/md/unix/os_Linux_ia64.s 59 rm nspr/pr/src/md/unix/os_Linux_ia64.s
61 rm mozilla/nsprpub/pr/src/md/unix/uxpoll.c 60 rm nspr/pr/src/md/unix/uxpoll.c
62 61
63 # Remove files for the WINNT build configuration. 62 # Remove files for the WINNT build configuration.
64 rm mozilla/nsprpub/pr/src/md/windows/ntdllmn.c 63 rm nspr/pr/src/md/windows/ntdllmn.c
65 rm mozilla/nsprpub/pr/src/md/windows/ntio.c 64 rm nspr/pr/src/md/windows/ntio.c
66 rm mozilla/nsprpub/pr/src/md/windows/ntthread.c 65 rm nspr/pr/src/md/windows/ntthread.c
67 66
68 # Remove obsolete files or files we don't need. 67 # Remove obsolete files or files we don't need.
69 rm mozilla/nsprpub/pr/include/gencfg.c 68 rm nspr/pr/include/gencfg.c
70 rm mozilla/nsprpub/pr/src/misc/compile-et.pl 69 rm nspr/pr/src/misc/compile-et.pl
71 rm mozilla/nsprpub/pr/src/misc/dtoa.c 70 rm nspr/pr/src/misc/dtoa.c
72 rm mozilla/nsprpub/pr/src/misc/prerr.et 71 rm nspr/pr/src/misc/prerr.et
73 rm mozilla/nsprpub/pr/src/misc/prerr.properties 72 rm nspr/pr/src/misc/prerr.properties
OLDNEW
« no previous file with comments | « nspr/pr/src/threads/combined/pruthr.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698