diff options
author | Mehrdad Afshari <mehrdada@users.noreply.github.com> | 2018-10-12 12:12:29 -0700 |
---|---|---|
committer | Mehrdad Afshari <mehrdada@users.noreply.github.com> | 2018-10-12 12:12:29 -0700 |
commit | 45e8ada064b7e95599a4aef5434cdd2ff02d6543 (patch) | |
tree | 75effb0a67c8dc42c35e760f84ba9d2224d851cf /src/python/grpcio_reflection | |
parent | c992454355c2c7cb30166df1ffe8a743d4bce9ab (diff) |
Revert "Bazel rules for Python grpcio_reflection"
This reverts commit 2e78e516ad8cb45cff705581625f85e5033b4e5b.
Diffstat (limited to 'src/python/grpcio_reflection')
-rw-r--r-- | src/python/grpcio_reflection/grpc_reflection/v1alpha/BUILD.bazel | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/python/grpcio_reflection/grpc_reflection/v1alpha/BUILD.bazel b/src/python/grpcio_reflection/grpc_reflection/v1alpha/BUILD.bazel deleted file mode 100644 index 3a2ba26371..0000000000 --- a/src/python/grpcio_reflection/grpc_reflection/v1alpha/BUILD.bazel +++ /dev/null @@ -1,34 +0,0 @@ -load("@grpc_python_dependencies//:requirements.bzl", "requirement") -load("@org_pubref_rules_protobuf//python:rules.bzl", "py_proto_library") - -package(default_visibility = ["//visibility:public"]) - -genrule( - name = "mv_reflection_proto", - srcs = [ - "//src/proto/grpc/reflection/v1alpha:reflection_proto_file", - ], - outs = ["reflection.proto",], - cmd = "cp $< $@", -) - -py_proto_library( - name = "py_reflection_proto", - protos = [":mv_reflection_proto",], - with_grpc = True, - deps = [ - requirement('protobuf'), - ], -) - -py_library( - name = "grpc_reflection", - srcs = ["reflection.py",], - deps = [ - ":py_reflection_proto", - "//src/python/grpcio/grpc:grpcio", - requirement('protobuf'), - ], - imports=["../../",], -) - |