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

Side by Side Diff: third_party/grpc/tools/run_tests/build_artifact_protoc.bat

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 @rem Copyright 2016, Google Inc.
2 @rem All rights reserved.
3 @rem
4 @rem Redistribution and use in source and binary forms, with or without
5 @rem modification, are permitted provided that the following conditions are
6 @rem met:
7 @rem
8 @rem * Redistributions of source code must retain the above copyright
9 @rem notice, this list of conditions and the following disclaimer.
10 @rem * Redistributions in binary form must reproduce the above
11 @rem copyright notice, this list of conditions and the following disclaimer
12 @rem in the documentation and/or other materials provided with the
13 @rem distribution.
14 @rem * Neither the name of Google Inc. nor the names of its
15 @rem contributors may be used to endorse or promote products derived from
16 @rem this software without specific prior written permission.
17 @rem
18 @rem THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 @rem "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 @rem LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 @rem A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 @rem OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 @rem SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 @rem LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 @rem DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 @rem THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 @rem (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 @rem OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30 mkdir artifacts
31
32 setlocal
33 cd third_party/protobuf
34
35 powershell -Command "Invoke-WebRequest https://googlemock.googlecode.com/files/g mock-1.7.0.zip -OutFile gmock.zip"
36 powershell -Command "Add-Type -Assembly 'System.IO.Compression.FileSystem'; [Sys tem.IO.Compression.ZipFile]::ExtractToDirectory('gmock.zip', '.');"
37 rename gmock-1.7.0 gmock
38
39 cd cmake
40 cmake -G "%generator%" || goto :error
41 endlocal
42
43 call vsprojects/build_plugins.bat || goto :error
44
45 xcopy /Y third_party\protobuf\cmake\Release\protoc.exe artifacts\ || goto :error
46 xcopy /Y vsprojects\Release\*_plugin.exe artifacts\ || xcopy /Y vsprojects\x64\R elease\*_plugin.exe artifacts\ || goto :error
47
48 goto :EOF
49
50 :error
51 exit /b 1
OLDNEW
« no previous file with comments | « third_party/grpc/tools/run_tests/build_artifact_php.sh ('k') | third_party/grpc/tools/run_tests/build_artifact_protoc.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698