From 4707d019bf6b434616e05cc983667147ddd264dd Mon Sep 17 00:00:00 2001 From: "Steven E. Harris" Date: Fri, 14 Jul 2023 13:49:26 -0400 Subject: [PATCH] Generate BUILD files for grpc-gateway by default Specify that Gazelle should generate BUILD files for the "github.com/grpc-ecosystem/grpc-gateway/v2" Go module, since the BUILD files already present in that module's source repository contain references to Bazel repositories that are no longer created automatically by Gazelle. --- internal/bzlmod/default_gazelle_overrides.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/bzlmod/default_gazelle_overrides.bzl b/internal/bzlmod/default_gazelle_overrides.bzl index 499b621ec..304c4aaf9 100644 --- a/internal/bzlmod/default_gazelle_overrides.bzl +++ b/internal/bzlmod/default_gazelle_overrides.bzl @@ -3,6 +3,7 @@ visibility("private") DEFAULT_BUILD_FILE_GENERATION_BY_PATH = { "github.com/envoyproxy/protoc-gen-validate": "on", "github.com/google/safetext": "on", + "github.com/grpc-ecosystem/grpc-gateway/v2": "on", } DEFAULT_DIRECTIVES_BY_PATH = {