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

Side by Side Diff: third_party/protobuf/vsprojects/convert2008to2005.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
OLDNEW
(Empty)
1 #! /bin/sh -e
2
3 # This script downgrades MSVC 2008 projects to MSVC 2005 projects, allowing
4 # people with MSVC 2005 to open them. Otherwise, MSVC 2005 simply refuses to
5 # open projects created with 2008. We run this as part of our release process.
6 # If you obtained the code direct from version control and you want to use
7 # MSVC 2005, you may have to run this manually. (Hint: Use Cygwin or MSYS.)
8
9 for file in *.sln; do
10 echo "downgrading $file..."
11 sed -i -re 's/Format Version 10.00/Format Version 9.00/g;
12 s/Visual Studio 2008/Visual Studio 2005/g;' $file
13 done
14
15 for file in *.vcproj; do
16 echo "downgrading $file..."
17 sed -i -re 's/Version="9.00"/Version="8.00"/g;' $file
18 done
19
20 # Yes, really, that's it.
OLDNEW
« no previous file with comments | « third_party/protobuf/vsprojects/config.h ('k') | third_party/protobuf/vsprojects/extract_includes.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698