aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/js/BUILD
blob: ad0dc44f549c7d4561ad5a929e53f15551757941 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Description:
# JavaScript/TypeScript code generation for TensorFlow.js

visibility = [
    "//tensorflow:internal",
]

package(default_visibility = visibility)

licenses(["notice"])  # Apache 2.0

load(
    "//tensorflow:tensorflow.bzl",
    "tf_cc_test",
)

cc_library(
    name = "ts_op_gen",
    srcs = [
        "ops/ts_op_gen.cc",
    ],
    hdrs = [
        "ops/ts_op_gen.h",
    ],
    visibility = ["//visibility:public"],
    deps = [
        "//tensorflow/core:framework",
        "//tensorflow/core:lib",
        "//tensorflow/core:lib_internal",
        "//tensorflow/core:op_gen_lib",
        "//tensorflow/core:protos_all_cc",
    ],
)

tf_cc_test(
    name = "ts_op_gen_test",
    srcs = [
        "ops/ts_op_gen.cc",
        "ops/ts_op_gen.h",
        "ops/ts_op_gen_test.cc",
    ],
    deps = [
        "//tensorflow/core:framework",
        "//tensorflow/core:lib",
        "//tensorflow/core:lib_internal",
        "//tensorflow/core:op_gen_lib",
        "//tensorflow/core:proto_text",
        "//tensorflow/core:protos_all_cc",
        "//tensorflow/core:test",
        "//tensorflow/core:test_main",
    ],
)