1# Copyright 2021 The gRPC Authors 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14package(default_visibility = ["//visibility:public"]) 15 16py_library( 17 name = "foundation", 18 srcs = ["__init__.py"], 19 deps = [ 20 ":abandonment", 21 ":callable_util", 22 ":future", 23 ":logging_pool", 24 ":stream", 25 ":stream_util", 26 ], 27) 28 29py_library( 30 name = "abandonment", 31 srcs = ["abandonment.py"], 32) 33 34py_library( 35 name = "callable_util", 36 srcs = ["callable_util.py"], 37) 38 39py_library( 40 name = "future", 41 srcs = ["future.py"], 42) 43 44py_library( 45 name = "logging_pool", 46 srcs = ["logging_pool.py"], 47) 48 49py_library( 50 name = "stream_util", 51 srcs = ["stream_util.py"], 52 deps = [ 53 ":stream", 54 ], 55) 56 57py_library( 58 name = "stream", 59 srcs = ["stream.py"], 60) 61