rename protoc-gen-upb-protos to protoc-gen-hpb PiperOrigin-RevId: 681998046
diff --git a/hpb/bazel/hpb_proto_library.bzl b/hpb/bazel/hpb_proto_library.bzl index c14130e..e7004ca 100644 --- a/hpb/bazel/hpb_proto_library.bzl +++ b/hpb/bazel/hpb_proto_library.bzl
@@ -214,7 +214,7 @@ "_gen_upbprotos": attr.label( executable = True, cfg = "exec", - default = "//src/google/protobuf/compiler/hpb:protoc-gen-upb-protos", + default = "//src/google/protobuf/compiler/hpb:protoc-gen-hpb", ), "_protoc": attr.label( executable = True,
diff --git a/hpb_generator/protoc-gen-upb-protos.cc b/hpb_generator/protoc-gen-hpb.cc similarity index 99% rename from hpb_generator/protoc-gen-upb-protos.cc rename to hpb_generator/protoc-gen-hpb.cc index 201bbee..99fda5a 100644 --- a/hpb_generator/protoc-gen-upb-protos.cc +++ b/hpb_generator/protoc-gen-hpb.cc
@@ -134,10 +134,10 @@ #ifndef $0_HPB_PROTO_H_ #define $0_HPB_PROTO_H_ +#include "google/protobuf/hpb/repeated_field.h" + #include "absl/status/statusor.h" #include "absl/strings/string_view.h" - -#include "google/protobuf/hpb/repeated_field.h" )cc", ToPreproc(file->name()));