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

Unified Diff: third_party/protobuf/post_process_dist.sh

Issue 1322483002: Revert https://codereview.chromium.org/1291903002 (protobuf roll). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/protobuf/patches/04_uninline.patch ('k') | third_party/protobuf/protobuf.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/post_process_dist.sh
diff --git a/third_party/protobuf/post_process_dist.sh b/third_party/protobuf/post_process_dist.sh
deleted file mode 100644
index 05113af1d333094dac14febb9cfb62b8ae6561a6..0000000000000000000000000000000000000000
--- a/third_party/protobuf/post_process_dist.sh
+++ /dev/null
@@ -1,68 +0,0 @@
-#! /bin/sh
-
-# This script takes the result of "make dist" and:
-# 1) Unpacks it.
-# 2) Ensures all contents are user-writable. Some version control systems
-# keep code read-only until you explicitly ask to edit it, and the normal
-# "make dist" process does not correct for this, so the result is that
-# the entire dist is still marked read-only when unpacked, which is
-# annoying. So, we fix it.
-# 3) Convert MSVC project files to MSVC 2005, so that anyone who has version
-# 2005 *or* 2008 can open them. (In version control, we keep things in
-# MSVC 2008 format since that's what we use in development.)
-# 4) Uses the result to create .tar.gz, .tar.bz2, and .zip versions and
-# deposites them in the "dist" directory. In the .zip version, all
-# non-testdata .txt files are converted to Windows-style line endings.
-# 5) Cleans up after itself.
-
-if [ "$1" == "" ]; then
- echo "USAGE: $0 DISTFILE" >&2
- exit 1
-fi
-
-if [ ! -e $1 ]; then
- echo $1": File not found." >&2
- exit 1
-fi
-
-set -ex
-
-LANGUAGES="cpp csharp java javanano objectivec python ruby"
-BASENAME=`basename $1 .tar.gz`
-VERSION=${BASENAME:9}
-
-# Create a directory called "dist", copy the tarball there and unpack it.
-mkdir dist
-cp $1 dist
-cd dist
-tar zxvf $BASENAME.tar.gz
-rm $BASENAME.tar.gz
-
-# Set the entire contents to be user-writable.
-chmod -R u+w $BASENAME
-
-# Convert the MSVC projects to MSVC 2005 format.
-cd $BASENAME/vsprojects
-./convert2008to2005.sh
-cd ..
-
-for LANG in $LANGUAGES; do
- # Build the dist again in .tar.gz
- ./configure DIST_LANG=$LANG
- make dist-gzip
- mv $BASENAME.tar.gz ../protobuf-$LANG-$VERSION.tar.gz
-done
-
-# Convert all text files to use DOS-style line endings, then build a .zip
-# distribution.
-todos *.txt */*.txt
-
-for LANG in $LANGUAGES; do
- # Build the dist again in .zip
- ./configure DIST_LANG=$LANG
- make dist-zip
- mv $BASENAME.zip ../protobuf-$LANG-$VERSION.zip
-done
-
-cd ..
-rm -rf $BASENAME
« no previous file with comments | « third_party/protobuf/patches/04_uninline.patch ('k') | third_party/protobuf/protobuf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698