Skip to content

Commit f7ff48b

Browse files
authored
split out endpoints independent build target for transcoding (#243)
1 parent 20bccfe commit f7ff48b

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

BUILD

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,7 @@ cc_library(
159159

160160
cc_library(
161161
name = "transcoding",
162-
srcs = [
163-
"transcoder_factory.cc",
164-
],
165162
hdrs = [
166-
"transcoder_factory.h",
167163
"transcoder.h",
168164
],
169165
visibility = ["//visibility:public"],
@@ -173,6 +169,18 @@ cc_library(
173169
":response_to_json_translator",
174170
":type_helper",
175171
"//external:protobuf",
172+
],
173+
)
174+
175+
cc_library(
176+
name = "transcoding_endpoints",
177+
srcs = [
178+
"transcoder_factory.cc",
179+
"transcoder_factory.h",
180+
],
181+
visibility = ["//visibility:public"],
182+
deps = [
183+
":transcoding",
176184
"//contrib/endpoints/include:headers_only",
177185
"//external:service_config",
178186
],
@@ -375,7 +383,7 @@ cc_test(
375383
deps = [
376384
":bookstore_test_proto",
377385
":test_common",
378-
":transcoding",
386+
":transcoding_endpoints",
379387
"//external:googletest_main",
380388
],
381389
)

0 commit comments

Comments
 (0)