chore(python): Add google.geo.type as a proto-plus dependency for google/maps/routing/v2
PiperOrigin-RevId: 519870009
diff --git a/google/maps/routing/v2/BUILD.bazel b/google/maps/routing/v2/BUILD.bazel
index 8e7408c..0c14618 100644
--- a/google/maps/routing/v2/BUILD.bazel
+++ b/google/maps/routing/v2/BUILD.bazel
@@ -192,9 +192,17 @@
"@com_google_googleapis_imports//:imports.bzl",
"py_gapic_assembly_pkg",
"py_gapic_library",
+ "py_import",
"py_test",
)
+py_import(
+ name="viewport",
+ srcs = [
+ "//google/geo/type:viewport_py_gapic",
+ ],
+)
+
py_gapic_library(
name = "routing_py_gapic",
srcs = [":routing_proto"],
@@ -203,8 +211,11 @@
service_yaml = "routes_v2.yaml",
transport = "grpc+rest",
deps = [
- "//google/geo/type:viewport_py_proto",
+ ":viewport",
],
+ opt_args = [
+ "proto-plus-deps=google.geo.type",
+ ]
)
py_test(