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

Side by Side Diff: tools/v8-info.sh

Issue 959713003: Add public version macros. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « tools/test-push-to-trunk.sh ('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/bash 1 #!/bin/bash
2 # Copyright 2013 the V8 project authors. All rights reserved. 2 # Copyright 2013 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 12 matching lines...) Expand all
23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
29 29
30 ########## Global variable definitions 30 ########## Global variable definitions
31 31
32 BASE_URL="https://code.google.com/p/v8/source/list" 32 BASE_URL="https://code.google.com/p/v8/source/list"
33 VERSION="src/version.cc" 33 VERSION="include/v8-version.h"
34 MAJOR="MAJOR_VERSION" 34 MAJOR="V8_MAJOR_VERSION"
35 MINOR="MINOR_VERSION" 35 MINOR="V8_MINOR_VERSION"
36 BUILD="BUILD_NUMBER" 36 BUILD="V8_BUILD_NUMBER"
37 PATCH="PATCH_LEVEL" 37 PATCH="V8_PATCH_LEVEL"
38 38
39 V8="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" 39 V8="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
40 40
41 ########## Function definitions 41 ########## Function definitions
42 42
43 cd $V8 43 cd $V8
44 44
45 usage() { 45 usage() {
46 cat << EOF 46 cat << EOF
47 usage: $0 OPTIONS 47 usage: $0 OPTIONS
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 p) echo $(point_merges "$(tag_log $(v8_hash $OPTARG)^1)") 152 p) echo $(point_merges "$(tag_log $(v8_hash $OPTARG)^1)")
153 ;; 153 ;;
154 u) url_for $OPTARG 154 u) url_for $OPTARG
155 ;; 155 ;;
156 ?) echo "Illegal option: -$OPTARG" 156 ?) echo "Illegal option: -$OPTARG"
157 usage 157 usage
158 exit 1 158 exit 1
159 ;; 159 ;;
160 esac 160 esac
161 done 161 done
OLDNEW
« no previous file with comments | « tools/test-push-to-trunk.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698