bazel: force Gazelle generation for xDS

xDS has an upstream set of build files that makes Gazelle consider their project a whole new Bazel project, which makes Gazelle not generate any build files, even though the upstream ones aren't valid.

See https://github.com/cncf/xds/issues/104.
This commit is contained in:
Moritz Sanft 2024-10-15 17:08:04 +02:00
parent 2e3779d564
commit c362f03e94
No known key found for this signature in database
GPG Key ID: 335D28368B1DA615

View File

@ -193,3 +193,10 @@ go_deps.module_override(
],
path = "github.com/google/go-tpm-tools",
)
# TODO(msanft):
# Remove once https://github.com/cncf/xds/issues/104 is resolved
go_deps.gazelle_override(
build_file_generation = "on",
path = "github.com/cncf/xds/go",
)