rename protoc-gen-upb-protos to protoc-gen-hpb

PiperOrigin-RevId: 681998046
pull/18594/head
Hong Shin 6 months ago committed by Copybara-Service
parent d4a32bbc87
commit 9f1722b117
  1. 2
      hpb/bazel/hpb_proto_library.bzl
  2. 4
      hpb_generator/protoc-gen-hpb.cc

@ -214,7 +214,7 @@ _upb_cc_proto_library_aspect = aspect(
"_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,

@ -134,10 +134,10 @@ void WriteHeader(const protobuf::FileDescriptor* file, Output& output,
#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()));
Loading…
Cancel
Save