Merge pull request #9979 from deannagarcia/fixProtocRelease

Fix protoc_release target
pull/9986/head
deannagarcia 3 years ago committed by GitHub
commit 22067bf523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      BUILD.bazel
  2. 33
      pkg/BUILD.bazel

@ -186,6 +186,8 @@ exports_files(
srcs = [ srcs = [
"src/google/protobuf/any.proto", "src/google/protobuf/any.proto",
"src/google/protobuf/api.proto", "src/google/protobuf/api.proto",
"src/google/protobuf/compiler/plugin.proto",
"src/google/protobuf/descriptor.proto",
"src/google/protobuf/duration.proto", "src/google/protobuf/duration.proto",
"src/google/protobuf/empty.proto", "src/google/protobuf/empty.proto",
"src/google/protobuf/field_mask.proto", "src/google/protobuf/field_mask.proto",

@ -17,25 +17,17 @@ package_naming(
pkg_files( pkg_files(
name = "wkt_protos_files", name = "wkt_protos_files",
srcs = [ srcs = [
"//:any_proto", "//:src/google/protobuf/any.proto",
"//:api_proto", "//:src/google/protobuf/api.proto",
"//:duration_proto", "//:src/google/protobuf/descriptor.proto",
"//:empty_proto", "//:src/google/protobuf/duration.proto",
"//:field_mask_proto", "//:src/google/protobuf/empty.proto",
"//:source_context_proto", "//:src/google/protobuf/field_mask.proto",
"//:struct_proto", "//:src/google/protobuf/source_context.proto",
"//:timestamp_proto", "//:src/google/protobuf/struct.proto",
"//:type_proto", "//:src/google/protobuf/timestamp.proto",
"//:wrappers_proto", "//:src/google/protobuf/type.proto",
], "//:src/google/protobuf/wrappers.proto",
prefix = "include/google/protobuf",
visibility = ["//visibility:private"],
)
pkg_files(
name = "descriptor_protos_files",
srcs = [
"//:descriptor_proto",
], ],
prefix = "include/google/protobuf", prefix = "include/google/protobuf",
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
@ -43,7 +35,7 @@ pkg_files(
pkg_files( pkg_files(
name = "compiler_plugin_protos_files", name = "compiler_plugin_protos_files",
srcs = ["//:compiler_plugin_proto"], srcs = ["//:src/google/protobuf/compiler/plugin.proto"],
prefix = "include/google/protobuf/compiler", prefix = "include/google/protobuf/compiler",
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )
@ -84,7 +76,6 @@ pkg_zip(
name = "protoc_release", name = "protoc_release",
srcs = [ srcs = [
":compiler_plugin_protos_files", ":compiler_plugin_protos_files",
":descriptor_protos_files",
":protoc_files", ":protoc_files",
":protoc_readme", ":protoc_readme",
":wkt_protos_files", ":wkt_protos_files",

Loading…
Cancel
Save