Fix bazel builds

pull/10018/head
Deanna Garcia 3 years ago
parent cdfd60f63d
commit 38f0bd4d15
  1. 19
      pkg/BUILD.bazel

@ -17,17 +17,8 @@ package_naming(
pkg_files( pkg_files(
name = "wkt_protos_files", name = "wkt_protos_files",
srcs = [ srcs = [
"//:src/google/protobuf/any.proto", "//:well_known_type_protos",
"//:src/google/protobuf/api.proto", "//src/google/protobuf:descriptor_proto_srcs",
"//:src/google/protobuf/descriptor.proto",
"//:src/google/protobuf/duration.proto",
"//:src/google/protobuf/empty.proto",
"//:src/google/protobuf/field_mask.proto",
"//:src/google/protobuf/source_context.proto",
"//:src/google/protobuf/struct.proto",
"//:src/google/protobuf/timestamp.proto",
"//:src/google/protobuf/type.proto",
"//:src/google/protobuf/wrappers.proto",
], ],
prefix = "include/google/protobuf", prefix = "include/google/protobuf",
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
@ -35,7 +26,9 @@ pkg_files(
pkg_files( pkg_files(
name = "compiler_plugin_protos_files", name = "compiler_plugin_protos_files",
srcs = ["//:src/google/protobuf/compiler/plugin.proto"], srcs = [
"//src/google/protobuf/compiler:compiler_plugin_protos_files",
],
prefix = "include/google/protobuf/compiler", prefix = "include/google/protobuf/compiler",
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )
@ -76,11 +69,9 @@ 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",
"//src/google/protobuf/compiler:compiler_plugin_protos_files",
], ],
package_file_name = "protoc-{version}-{platform}.zip", package_file_name = "protoc-{version}-{platform}.zip",
package_variables = ":protobuf_pkg_naming", package_variables = ":protobuf_pkg_naming",

Loading…
Cancel
Save