From c362f03e940671d1a592d5ade8a0c12987d297dd Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Tue, 15 Oct 2024 17:08:04 +0200 Subject: [PATCH] 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. --- MODULE.bazel | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index 06ec00167..3df2d336e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -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", +)