@@ -88,6 +88,36 @@ cc_library(
88
88
],
89
89
)
90
90
91
+ cc_library (
92
+ name = "path_matcher" ,
93
+ srcs = [
94
+ "path_matcher_node.cc" ,
95
+ "path_matcher_node.h" ,
96
+ ],
97
+ hdrs = [
98
+ "path_matcher.h" ,
99
+ ],
100
+ visibility = [
101
+ "//visibility:public" ,
102
+ ],
103
+ deps = [
104
+ ":http_template" ,
105
+ ],
106
+ )
107
+
108
+ cc_library (
109
+ name = "http_template" ,
110
+ srcs = [
111
+ "http_template.cc" ,
112
+ ],
113
+ hdrs = [
114
+ "http_template.h" ,
115
+ ],
116
+ visibility = [
117
+ "//visibility:public" ,
118
+ ],
119
+ )
120
+
91
121
cc_library (
92
122
name = "json_request_translator" ,
93
123
srcs = [
@@ -157,6 +187,32 @@ cc_library(
157
187
],
158
188
)
159
189
190
+ cc_test (
191
+ name = "http_template_test" ,
192
+ size = "small" ,
193
+ srcs = [
194
+ "http_template_test.cc" ,
195
+ ],
196
+ linkstatic = 1 ,
197
+ deps = [
198
+ ":http_template" ,
199
+ "//external:googletest_main" ,
200
+ ],
201
+ )
202
+
203
+ cc_test (
204
+ name = "path_matcher_test" ,
205
+ size = "small" ,
206
+ srcs = [
207
+ "path_matcher_test.cc" ,
208
+ ],
209
+ linkstatic = 1 ,
210
+ deps = [
211
+ ":path_matcher" ,
212
+ "//external:googletest_main" ,
213
+ ],
214
+ )
215
+
160
216
cc_test (
161
217
name = "prefix_writer_test" ,
162
218
size = "small" ,
@@ -279,7 +335,7 @@ cc_test(
279
335
name = "request_stream_translator_test" ,
280
336
size = "small" ,
281
337
srcs = [
282
- "request_stream_translator_test.cc" ,
338
+ "request_stream_translator_test.cc" ,
283
339
],
284
340
data = [
285
341
"testdata/bookstore_service.pb.txt" ,
@@ -345,7 +401,7 @@ cc_test(
345
401
cc_test (
346
402
name = "message_stream_test" ,
347
403
size = "small" ,
348
- srcs = [
404
+ srcs = [
349
405
"message_stream_test.cc" ,
350
406
],
351
407
deps = [
0 commit comments