aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf_imports_d3v4/BUILD
blob: 23ecee759c06efb5010d39d0e6b9074dd5408bb3 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package(default_visibility = ["//tensorflow:internal"])

load("@io_bazel_rules_closure//closure:defs.bzl", "webfiles")

licenses(["notice"])  # Apache 2.0

webfiles(
    name = "d3",
    srcs = [
        "d3.html",
        "@org_d3js_v4",
    ],
    path = "/tf-imports-d3v4",
)

webfiles(
    name = "lodash",
    srcs = [
        "lodash.html",
        "@com_lodash",
    ],
    path = "/tf-imports-d3v4",
)

webfiles(
    name = "graphlib",
    srcs = [
        "graphlib.html",
        "@io_github_cpettitt_graphlib",
    ],
    path = "/tf-imports-d3v4",
    deps = [":lodash"],
)

webfiles(
    name = "dagre",
    srcs = [
        "dagre.html",
        "@io_github_cpettitt_dagre",
    ],
    path = "/tf-imports-d3v4",
    deps = [
        ":graphlib",
        ":lodash",
    ],
)

webfiles(
    name = "plottable",
    srcs = [
        "plottable.html",
        # TODO(jart): Replace when Plottable v3 is fixed.
        "plottable.js",
        "plottable.css",
        # "//third_party/javascript/plottable/v3:plottable.css",
        # "//third_party/javascript/plottable/v3:plottable.js",
    ],
    path = "/tf-imports-d3v4",
    deps = [":d3"],
)

genrule(
    name = "TEMPORARY_fake_plottable_css",
    outs = ["plottable.css"],
    cmd = "echo >$@",
)

genrule(
    name = "TEMPORARY_fake_plottable_js",
    outs = ["plottable.js"],
    cmd = "echo >$@",
)

filegroup(
    name = "all_files",
    srcs = glob(["**"]),
    tags = ["notsan"],
)