Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
--- BUILD |
|
+++ BUILD |
|
@@ -931,13 +931,10 @@ py_library( |
|
[ |
|
"python/google/protobuf/**/*.py", |
|
], |
|
- exclude = [ |
|
- "python/google/protobuf/internal/*_test.py", |
|
- "python/google/protobuf/internal/test_util.py", |
|
- ], |
|
), |
|
imports = ["python"], |
|
srcs_version = "PY2AND3", |
|
+ visibility = ["//visibility:public"], |
|
) |
|
|
|
cc_binary( |
|
@@ -1038,13 +1035,6 @@ py_proto_library( |
|
name = "protobuf_python", |
|
srcs = COPIED_WELL_KNOWN_PROTOS, |
|
include = "python", |
|
- data = select({ |
|
- "//conditions:default": [], |
|
- ":use_fast_cpp_protos": [ |
|
- ":python/google/protobuf/internal/_api_implementation.so", |
|
- ":python/google/protobuf/pyext/_message.so", |
|
- ], |
|
- }), |
|
default_runtime = "", |
|
protoc = ":protoc", |
|
py_libs = [ |
|
@@ -1080,6 +1070,7 @@ py_proto_library( |
|
protoc = ":protoc", |
|
srcs_version = "PY2AND3", |
|
deps = [":protobuf_python"], |
|
+ visibility = ["//visibility:public"], |
|
) |
|
|
|
py_proto_library( |
|
@@ -1093,6 +1084,7 @@ py_proto_library( |
|
protoc = ":protoc", |
|
srcs_version = "PY2AND3", |
|
deps = [":python_common_test_protos"], |
|
+ visibility = ["//visibility:public"], |
|
) |
|
|
|
py_library(
|
|
|