blob: 62909a1db3d29ac333fe164649411887eefe56f7 [file]
# Copyright 2023 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("//bazel:cython_library.bzl", "pyx_library")
pyx_library(
name = "native_debug",
srcs = ["native_debug.pyx"],
deps = ["@com_google_absl//absl/debugging:failure_signal_handler"],
)
py_test(
name = "fork_test",
srcs = glob(["*.py"]),
imports = ["../.."],
main = "_fork_interop_test.py",
python_version = "PY3",
deps = [
":native_debug",
"//src/proto/grpc/testing:empty_py_pb2",
"//src/proto/grpc/testing:py_messages_proto",
"//src/proto/grpc/testing:test_py_pb2_grpc",
"//src/python/grpcio/grpc:grpcio",
"//src/python/grpcio_tests/tests/interop:service",
"//src/python/grpcio_tests/tests/unit:test_common",
],
)