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

Side by Side Diff: third_party/protobuf/autogen.sh

Issue 1842653006: Update //third_party/protobuf to version 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 8 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 | « third_party/protobuf/appveyor.yml ('k') | third_party/protobuf/benchmarks/ProtoBench.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 # Run this script to generate the configure script and other files that will
4 # be included in the distribution. These files are not checked in because they
5 # are automatically generated.
6
7 set -e
8
9 if [ ! -z "$@" ]; then
10 for argument in "$@"; do
11 case $argument in
12 # make curl silent
13 "-s")
14 curlopts="-s"
15 ;;
16 esac
17 done
18 fi
19
20
21 # Check that we're being run from the right directory.
22 if test ! -f src/google/protobuf/stubs/common.h; then
23 cat >&2 << __EOF__
24 Could not find source code. Make sure you are running this script from the
25 root of the distribution tree.
26 __EOF__
27 exit 1
28 fi
29
30 # Check that gmock is present. Usually it is already there since the
31 # directory is set up as an SVN external.
32 if test ! -e gmock; then
33 echo "Google Mock not present. Fetching gmock-1.7.0 from the web..."
34 curl $curlopts -O https://googlemock.googlecode.com/files/gmock-1.7.0.zip
35 unzip -q gmock-1.7.0.zip
36 rm gmock-1.7.0.zip
37 mv gmock-1.7.0 gmock
38 fi
39
40 set -ex
41
42 # TODO(kenton): Remove the ",no-obsolete" part and fix the resulting warnings.
43 autoreconf -f -i -Wall,no-obsolete
44
45 rm -rf autom4te.cache config.h.in~
46 exit 0
OLDNEW
« no previous file with comments | « third_party/protobuf/appveyor.yml ('k') | third_party/protobuf/benchmarks/ProtoBench.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698