@@ -71,52 +71,6 @@ function invoke_protoc {
71
71
" $protoc " " $@ "
72
72
}
73
73
74
- # - EXAMPLES -------------------------------------------------------------------
75
-
76
- function generate_echo_example {
77
- local proto=" $here /examples/echo/echo.proto"
78
- local output=" $root /Examples/echo/Sources/Generated"
79
-
80
- generate_message " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
81
- generate_grpc " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
82
- }
83
-
84
- function generate_helloworld_example {
85
- local proto=" $here /upstream/grpc/examples/helloworld.proto"
86
- local output=" $root /Examples/hello-world/Sources/Generated"
87
-
88
- generate_message " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
89
- generate_grpc " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
90
- }
91
-
92
- function generate_routeguide_example {
93
- local proto=" $here /examples/route_guide/route_guide.proto"
94
- local output=" $root /Examples/route-guide/Sources/Generated"
95
-
96
- generate_message " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
97
- generate_grpc " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
98
- }
99
-
100
- function generate_error_details_example {
101
- local proto=" $here /upstream/grpc/examples/helloworld.proto"
102
- local output=" $root /Examples/error-details/Sources/Generated"
103
-
104
- generate_message " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
105
- generate_grpc " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
106
- }
107
-
108
- function generate_reflection_server_example {
109
- local proto=" $here /examples/echo/echo.proto"
110
- local output=" $root /Examples/reflection-server/Sources/Generated"
111
- local pb_output=" $root /Examples/reflection-server/Sources/DescriptorSets/echo.pb"
112
-
113
- generate_message " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
114
- generate_grpc " $proto " " $( dirname " $proto " ) " " $output " " Visibility=Internal"
115
- invoke_protoc --descriptor_set_out=" $pb_output " " $proto " -I " $( dirname " $proto " ) " \
116
- --include_source_info \
117
- --include_imports
118
- }
119
-
120
74
# - TESTS ----------------------------------------------------------------------
121
75
122
76
function generate_service_config_for_tests {
@@ -135,12 +89,5 @@ function generate_service_config_for_tests {
135
89
136
90
# ------------------------------------------------------------------------------
137
91
138
- # Generate examples
139
- generate_echo_example
140
- generate_helloworld_example
141
- generate_routeguide_example
142
- generate_error_details_example
143
- generate_reflection_server_example
144
-
145
92
# Tests
146
93
generate_service_config_for_tests
0 commit comments