| OLD | NEW |
| 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 HG and prepares | 6 # This shell script checks out the NSPR 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 rm -rf nspr | 12 rm -rf nspr |
| 13 hg clone -u NSPR_4_10_8_RTM https://hg.mozilla.org/projects/nspr | 13 hg clone -u NSPR_4_11_RTM https://hg.mozilla.org/projects/nspr |
| 14 | 14 |
| 15 rm -r nspr/.hg | 15 rm -r nspr/.hg |
| 16 rm -r nspr/admin | 16 rm -r nspr/admin |
| 17 rm -r nspr/build | 17 rm -r nspr/build |
| 18 rm -r nspr/config | 18 rm -r nspr/config |
| 19 rm -r nspr/lib/prstreams | 19 rm -r nspr/lib/prstreams |
| 20 rm -r nspr/lib/tests | 20 rm -r nspr/lib/tests |
| 21 rm -r nspr/pkg | 21 rm -r nspr/pkg |
| 22 rm -r nspr/pr/src/cplus | 22 rm -r nspr/pr/src/cplus |
| 23 rm -r nspr/pr/tests | 23 rm -r nspr/pr/tests |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 rm nspr/pr/src/md/windows/ntdllmn.c | 65 rm nspr/pr/src/md/windows/ntdllmn.c |
| 66 rm nspr/pr/src/md/windows/ntio.c | 66 rm nspr/pr/src/md/windows/ntio.c |
| 67 rm nspr/pr/src/md/windows/ntthread.c | 67 rm nspr/pr/src/md/windows/ntthread.c |
| 68 | 68 |
| 69 # Remove obsolete files or files we don't need. | 69 # Remove obsolete files or files we don't need. |
| 70 rm nspr/pr/include/gencfg.c | 70 rm nspr/pr/include/gencfg.c |
| 71 rm nspr/pr/src/misc/compile-et.pl | 71 rm nspr/pr/src/misc/compile-et.pl |
| 72 rm nspr/pr/src/misc/dtoa.c | 72 rm nspr/pr/src/misc/dtoa.c |
| 73 rm nspr/pr/src/misc/prerr.et | 73 rm nspr/pr/src/misc/prerr.et |
| 74 rm nspr/pr/src/misc/prerr.properties | 74 rm nspr/pr/src/misc/prerr.properties |
| OLD | NEW |