aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/rpc/BUILD
blob: dbd311a276bed2db9422cd8f1841d642616cac93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package(default_visibility = ["//visibility:public"])

licenses(["notice"])  # Apache 2.0

exports_files(["LICENSE"])

load("//tensorflow/core:platform/default/build_config_root.bzl", "if_static")

py_library(
    name = "rpc",
    srcs = [
        "__init__.py",
    ],
    deps = ["//tensorflow/contrib/rpc/python/ops:rpc_op_py"],
)

py_library(
    name = "rpc_pip",
    data = if_static(
        [],
        otherwise = ["//tensorflow/contrib/rpc/python/kernel_tests:libtestexample.so"],
    ),
    deps = [
        ":rpc",
        "//tensorflow/contrib/rpc/python/kernel_tests:py_test_deps",
        "//tensorflow/contrib/rpc/python/kernel_tests:rpc_op_test_base",
        "//tensorflow/contrib/rpc/python/kernel_tests:rpc_op_test_servicer",
    ],
)