Skip to content

Commit

Permalink
cleanup(speech): conform to new BUILD convention (#10371)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolduc committed Dec 5, 2022
1 parent 8f88aa2 commit bbfc665
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions google/cloud/speech/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ service_dirs = [
"v2/",
]

internal_dirs = [
"",
"internal/",
]

src_dirs = [s + i for s in service_dirs for i in internal_dirs]
src_dirs = service_dirs + [d + "internal/" for d in service_dirs]

filegroup(
name = "srcs",
Expand All @@ -40,7 +35,7 @@ filegroup(

filegroup(
name = "mocks",
srcs = glob([s + "mocks/*.h" for s in service_dirs]),
srcs = glob([d + "mocks/*.h" for d in service_dirs]),
)

cc_library(
Expand Down Expand Up @@ -74,4 +69,4 @@ cc_library(
"//:speech",
"//google/cloud/testing_util:google_cloud_cpp_testing_private",
],
) for sample in glob([s + "samples/*.cc" for s in service_dirs])]
) for sample in glob([d + "samples/*.cc" for d in service_dirs])]

0 comments on commit bbfc665

Please sign in to comment.