aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf_tensorboard_d3v4/BUILD
blob: 683302bb45c9afe042be7e28b7013ac399289ff6 (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
79
80
package(default_visibility = ["//tensorflow:internal"])

load("@io_bazel_rules_closure//closure:defs.bzl", "web_library")
load("//tensorflow/tensorboard:vulcanize.bzl", "tensorboard_html_binary")
load("//tensorflow/tensorboard:defs.bzl", "tensorboard_typescript_genrule")

licenses(["notice"])  # Apache 2.0

web_library(
    name = "tf_tensorboard_d3v4",
    srcs = [
        "tf-tensorboard.html",
        ":ts",
    ],
    path = "/tf-tensorboard",
    deps = [
        "@org_polymer_iron_icons",
        "@org_polymer_paper_button",
        "@org_polymer_paper_checkbox",
        "@org_polymer_paper_dialog",
        "@org_polymer_paper_header_panel",
        "@org_polymer_paper_icon_button",
        "@org_polymer_paper_tabs",
        "@org_polymer_paper_toolbar",
        "@org_polymer",
        "//tensorflow/tensorboard/components/tf_audio_dashboard_d3v4",
        "//tensorflow/tensorboard/components/tf_backend_d3v4",
        "//tensorflow/tensorboard/components/tf_dashboard_common_d3v4",
        "//tensorflow/tensorboard/components/tf_distribution_dashboard_d3v4",
        "//tensorflow/tensorboard/components/tf_globals_d3v4",
        # "//tensorflow/tensorboard/components/tf_graph_dashboard_d3v4",
        "//tensorflow/tensorboard/components/tf_histogram_dashboard_d3v4",
        "//tensorflow/tensorboard/components/tf_image_dashboard_d3v4",
        "//tensorflow/tensorboard/components/tf_scalar_dashboard_d3v4",
        "//tensorflow/tensorboard/components/tf_storage_d3v4",
        "//tensorflow/tensorboard/components/tf_text_dashboard_d3v4",
        "//tensorflow/tensorboard/components/vz_projector_d3v4",
    ],
)

web_library(
    name = "demo",
    srcs = ["demo.html"],
    path = "/tf-tensorboard",
    deps = [
        ":tf_tensorboard_d3v4",
        "//tensorflow/tensorboard/demo:demo_data",
        "@org_polymer_webcomponentsjs",
    ],
)

web_library(
    name = "dist",
    srcs = ["dist.html"],
    path = "/tf-tensorboard",
    deps = [
        ":tf_tensorboard_d3v4",
        "//tensorflow/tensorboard/demo:demo_data",
        "@org_polymer_webcomponentsjs",
    ],
)

tensorboard_html_binary(
    name = "index",
    # input_path = "/tf-dashboard-common/tf-chart-scaffold.html",
    input_path = "/tf-tensorboard/dist.html",
    output_path = "/index.html",
    deps = [":dist"],
)

tensorboard_typescript_genrule(
    name = "ts",
    srcs = ["autoReloadBehavior.ts"],
)

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