aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/proto/BUILD
blob: 3e9b1a0b8d8ec7c3c5fe5d1f2cf896dbb6c3de72 (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
30
31
32
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 = "proto",
    srcs = [
        "__init__.py",
    ],
    deps = [
        "//tensorflow/contrib/proto/python/ops:decode_proto_op_py",
        "//tensorflow/contrib/proto/python/ops:encode_proto_op_py",
    ],
)

py_library(
    name = "proto_pip",
    data = [
        "//tensorflow/contrib/proto/python/kernel_tests:test_messages",
    ] + if_static(
        [],
        otherwise = ["//tensorflow/contrib/proto/python/kernel_tests:libtestexample.so"],
    ),
    deps = [
        ":proto",
        "//tensorflow/contrib/proto/python/kernel_tests:py_test_deps",
    ],
)