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

Side by Side Diff: third_party/protobuf/csharp/generate_protos.sh

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years 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
1 #!/bin/bash 1 #!/bin/bash
2 # Generates C# source files from .proto files. 2 # Generates C# source files from .proto files.
3 # You first need to make sure protoc has been built (see instructions on 3 # You first need to make sure protoc has been built (see instructions on
4 # building protoc in root of this repository) 4 # building protoc in root of this repository)
5 5
6 set -ex 6 set -ex
7 7
8 # cd to repository root 8 # cd to repository root
9 pushd $(dirname $0)/.. 9 pushd $(dirname $0)/..
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 src/google/protobuf/unittest_proto3.proto \ 47 src/google/protobuf/unittest_proto3.proto \
48 src/google/protobuf/unittest_import_proto3.proto \ 48 src/google/protobuf/unittest_import_proto3.proto \
49 src/google/protobuf/unittest_import_public_proto3.proto \ 49 src/google/protobuf/unittest_import_public_proto3.proto \
50 src/google/protobuf/unittest_well_known_types.proto 50 src/google/protobuf/unittest_well_known_types.proto
51 51
52 # Different base namespace to the protos above 52 # Different base namespace to the protos above
53 $PROTOC -Icsharp/protos --csharp_out=csharp/src/Google.Protobuf.Test \ 53 $PROTOC -Icsharp/protos --csharp_out=csharp/src/Google.Protobuf.Test \
54 --csharp_opt=base_namespace=UnitTest.Issues \ 54 --csharp_opt=base_namespace=UnitTest.Issues \
55 csharp/protos/unittest_issues.proto 55 csharp/protos/unittest_issues.proto
56 56
57 # Don't specify a base namespace at all; we just want to make sure the
58 # results end up in TestProtos.
59 $PROTOC -Isrc --csharp_out=csharp/src/Google.Protobuf.Test/TestProtos \
60 src/google/protobuf/test_messages_proto3.proto
61
57 # AddressBook sample protos 62 # AddressBook sample protos
58 $PROTOC -Iexamples --csharp_out=csharp/src/AddressBook \ 63 $PROTOC -Iexamples --csharp_out=csharp/src/AddressBook \
59 examples/addressbook.proto 64 examples/addressbook.proto
60 65
61 $PROTOC -Iconformance -Isrc --csharp_out=csharp/src/Google.Protobuf.Conformance \ 66 $PROTOC -Iconformance -Isrc --csharp_out=csharp/src/Google.Protobuf.Conformance \
62 conformance/conformance.proto 67 conformance/conformance.proto
OLDNEW
« no previous file with comments | « third_party/protobuf/csharp/buildall.sh ('k') | third_party/protobuf/csharp/src/AddressBook/AddPerson.cs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698