aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/vz_histogram_timeseries/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tensorboard/components/vz_histogram_timeseries/BUILD')
-rw-r--r--tensorflow/tensorboard/components/vz_histogram_timeseries/BUILD33
1 files changed, 13 insertions, 20 deletions
diff --git a/tensorflow/tensorboard/components/vz_histogram_timeseries/BUILD b/tensorflow/tensorboard/components/vz_histogram_timeseries/BUILD
index 005090b8e0..6f21df0c86 100644
--- a/tensorflow/tensorboard/components/vz_histogram_timeseries/BUILD
+++ b/tensorflow/tensorboard/components/vz_histogram_timeseries/BUILD
@@ -1,49 +1,36 @@
package(default_visibility = ["//tensorflow:internal"])
-load("@io_bazel_rules_closure//closure:defs.bzl", "web_library")
+load("//tensorflow/tensorboard:defs.bzl", "tensorboard_webcomponent_library")
+load("//tensorflow/tensorboard:web.bzl", "ts_web_library")
licenses(["notice"]) # Apache 2.0
-web_library(
+ts_web_library(
name = "vz_histogram_timeseries",
srcs = ["vz-histogram-timeseries.html"],
path = "/vz-histogram-timeseries",
deps = [
"//tensorflow/tensorboard/components/tf_imports:d3",
- "@org_polymer",
+ "//tensorflow/tensorboard/components/tf_imports:polymer",
],
)
-web_library(
+ts_web_library(
name = "demo",
srcs = ["index.html"],
path = "/vz-histogram-timeseries",
deps = [
":vz_histogram_timeseries",
+ "//tensorflow/tensorboard/components/tf_imports:webcomponentsjs",
"@org_polymer_iron_demo_helpers",
"@org_polymer_paper_button",
"@org_polymer_paper_styles",
- "@org_polymer_webcomponentsjs",
],
)
-filegroup(
- name = "all_files",
- srcs = glob(["**"]),
- tags = ["notsan"],
-)
-
-################################################################################
-# MARKED FOR DELETION
-
-load("//tensorflow/tensorboard:defs.bzl", "tensorboard_webcomponent_library")
-
tensorboard_webcomponent_library(
name = "legacy",
- srcs = [
- "index.html",
- "vz-histogram-timeseries.html",
- ],
+ srcs = [":vz_histogram_timeseries"],
visibility = ["//learning/vis/vz_elements/catalog:__pkg__"],
destdir = "vz-histogram-timeseries",
deps = [
@@ -51,3 +38,9 @@ tensorboard_webcomponent_library(
"//third_party/javascript/polymer/v1/polymer:lib",
],
)
+
+filegroup(
+ name = "all_files",
+ srcs = glob(["**"]),
+ tags = ["notsan"],
+)