|
|
@ -801,10 +801,13 @@ cc_test( |
|
|
|
"src/google/protobuf/**/*", |
|
|
|
"src/google/protobuf/**/*", |
|
|
|
# Files for csharp_bootstrap_unittest.cc. |
|
|
|
# Files for csharp_bootstrap_unittest.cc. |
|
|
|
"conformance/**/*", |
|
|
|
"conformance/**/*", |
|
|
|
]) + glob([ |
|
|
|
]) + glob( |
|
|
|
|
|
|
|
[ |
|
|
|
# Files for csharp_bootstrap_unittest.cc. |
|
|
|
# Files for csharp_bootstrap_unittest.cc. |
|
|
|
"csharp/src/**/*", |
|
|
|
"csharp/src/**/*", |
|
|
|
], allow_empty=True), |
|
|
|
], |
|
|
|
|
|
|
|
allow_empty = True, |
|
|
|
|
|
|
|
), |
|
|
|
includes = [ |
|
|
|
includes = [ |
|
|
|
"src/", |
|
|
|
"src/", |
|
|
|
], |
|
|
|
], |
|
|
@ -1020,10 +1023,6 @@ py_proto_library( |
|
|
|
|
|
|
|
|
|
|
|
py_library( |
|
|
|
py_library( |
|
|
|
name = "protobuf_python", |
|
|
|
name = "protobuf_python", |
|
|
|
deps = [ |
|
|
|
|
|
|
|
":well_known_types_py_pb2", |
|
|
|
|
|
|
|
":python_srcs", |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
data = select({ |
|
|
|
data = select({ |
|
|
|
"//conditions:default": [], |
|
|
|
"//conditions:default": [], |
|
|
|
":use_fast_cpp_protos": [ |
|
|
|
":use_fast_cpp_protos": [ |
|
|
@ -1031,6 +1030,10 @@ py_library( |
|
|
|
":python/google/protobuf/pyext/_message.so", |
|
|
|
":python/google/protobuf/pyext/_message.so", |
|
|
|
], |
|
|
|
], |
|
|
|
}), |
|
|
|
}), |
|
|
|
|
|
|
|
deps = [ |
|
|
|
|
|
|
|
":python_srcs", |
|
|
|
|
|
|
|
":well_known_types_py_pb2", |
|
|
|
|
|
|
|
], |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# Copy the test proto files from src/google/protobuf to |
|
|
|
# Copy the test proto files from src/google/protobuf to |
|
|
@ -1058,8 +1061,8 @@ py_proto_library( |
|
|
|
default_runtime = "", |
|
|
|
default_runtime = "", |
|
|
|
protoc = ":protoc", |
|
|
|
protoc = ":protoc", |
|
|
|
srcs_version = "PY2AND3", |
|
|
|
srcs_version = "PY2AND3", |
|
|
|
deps = [":well_known_types_py_pb2"], |
|
|
|
|
|
|
|
visibility = ["//visibility:public"], |
|
|
|
visibility = ["//visibility:public"], |
|
|
|
|
|
|
|
deps = [":well_known_types_py_pb2"], |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
py_proto_library( |
|
|
|
py_proto_library( |
|
|
@ -1072,8 +1075,8 @@ py_proto_library( |
|
|
|
default_runtime = ":protobuf_python", |
|
|
|
default_runtime = ":protobuf_python", |
|
|
|
protoc = ":protoc", |
|
|
|
protoc = ":protoc", |
|
|
|
srcs_version = "PY2AND3", |
|
|
|
srcs_version = "PY2AND3", |
|
|
|
deps = [":python_common_test_protos"], |
|
|
|
|
|
|
|
visibility = ["//visibility:public"], |
|
|
|
visibility = ["//visibility:public"], |
|
|
|
|
|
|
|
deps = [":python_common_test_protos"], |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
py_library( |
|
|
|
py_library( |
|
|
@ -1139,12 +1142,14 @@ proto_lang_toolchain( |
|
|
|
alias( |
|
|
|
alias( |
|
|
|
name = "objectivec", |
|
|
|
name = "objectivec", |
|
|
|
actual = "//objectivec", |
|
|
|
actual = "//objectivec", |
|
|
|
|
|
|
|
tags = ["manual"], |
|
|
|
visibility = ["//visibility:public"], |
|
|
|
visibility = ["//visibility:public"], |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
alias( |
|
|
|
alias( |
|
|
|
name = "protobuf_objc", |
|
|
|
name = "protobuf_objc", |
|
|
|
actual = "//objectivec", |
|
|
|
actual = "//objectivec", |
|
|
|
|
|
|
|
tags = ["manual"], |
|
|
|
visibility = ["//visibility:public"], |
|
|
|
visibility = ["//visibility:public"], |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -1155,7 +1160,7 @@ alias( |
|
|
|
genrule( |
|
|
|
genrule( |
|
|
|
name = "generated_protos", |
|
|
|
name = "generated_protos", |
|
|
|
srcs = ["src/google/protobuf/unittest_import.proto"], |
|
|
|
srcs = ["src/google/protobuf/unittest_import.proto"], |
|
|
|
outs = ["unittest_gen.proto"], |
|
|
|
outs = ["unittest_gen_import.proto"], |
|
|
|
cmd = "cat $(SRCS) | sed 's|google/|src/google/|' > $(OUTS)", |
|
|
|
cmd = "cat $(SRCS) | sed 's|google/|src/google/|' > $(OUTS)", |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -1474,7 +1479,8 @@ internal_gen_kt_protos( |
|
|
|
# Files included in all source distributions |
|
|
|
# Files included in all source distributions |
|
|
|
pkg_files( |
|
|
|
pkg_files( |
|
|
|
name = "common_dist_files", |
|
|
|
name = "common_dist_files", |
|
|
|
srcs = glob([ |
|
|
|
srcs = glob( |
|
|
|
|
|
|
|
[ |
|
|
|
"*.bzl", |
|
|
|
"*.bzl", |
|
|
|
"cmake/*.cmake", |
|
|
|
"cmake/*.cmake", |
|
|
|
"cmake/*.in", |
|
|
|
"cmake/*.in", |
|
|
@ -1495,7 +1501,9 @@ pkg_files( |
|
|
|
"missing", |
|
|
|
"missing", |
|
|
|
"protobuf*.pc.in", |
|
|
|
"protobuf*.pc.in", |
|
|
|
"test-driver", |
|
|
|
"test-driver", |
|
|
|
], allow_empty = True) + [ |
|
|
|
], |
|
|
|
|
|
|
|
allow_empty = True, |
|
|
|
|
|
|
|
) + [ |
|
|
|
"BUILD.bazel", |
|
|
|
"BUILD.bazel", |
|
|
|
"CHANGES.txt", |
|
|
|
"CHANGES.txt", |
|
|
|
"CMakeLists.txt", |
|
|
|
"CMakeLists.txt", |
|
|
|