aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf_graph_controls/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tensorboard/components/tf_graph_controls/BUILD')
-rw-r--r--tensorflow/tensorboard/components/tf_graph_controls/BUILD39
1 files changed, 19 insertions, 20 deletions
diff --git a/tensorflow/tensorboard/components/tf_graph_controls/BUILD b/tensorflow/tensorboard/components/tf_graph_controls/BUILD
index 65cafa9570..7004b7145a 100644
--- a/tensorflow/tensorboard/components/tf_graph_controls/BUILD
+++ b/tensorflow/tensorboard/components/tf_graph_controls/BUILD
@@ -1,19 +1,18 @@
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 = "tf_graph_controls",
- srcs = [
- "tf-graph-controls.html",
- ],
+ srcs = ["tf-graph-controls.html"],
path = "/tf-graph-controls",
deps = [
"//tensorflow/tensorboard/components/tf_dashboard_common",
"//tensorflow/tensorboard/components/tf_graph_common",
- "@org_polymer",
+ "//tensorflow/tensorboard/components/tf_imports:polymer",
"@org_polymer_paper_button",
"@org_polymer_paper_dropdown_menu",
"@org_polymer_paper_menu",
@@ -23,25 +22,25 @@ web_library(
],
)
-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 = [
- "tf-graph-controls.html",
- ],
+ srcs = [":tf_graph_controls"],
destdir = "tf-graph-controls",
deps = [
"//tensorflow/tensorboard/components/tf_dashboard_common:legacy",
"//tensorflow/tensorboard/components/tf_graph_common:legacy",
+ "//third_party/javascript/polymer/v1/paper-button:lib",
+ "//third_party/javascript/polymer/v1/paper-dropdown-menu:lib",
+ "//third_party/javascript/polymer/v1/paper-menu:lib",
+ "//third_party/javascript/polymer/v1/paper-radio-group:lib",
+ "//third_party/javascript/polymer/v1/paper-toggle-button:lib",
+ "//third_party/javascript/polymer/v1/paper-tooltip:lib",
+ "//third_party/javascript/polymer/v1/polymer:lib",
],
)
+
+filegroup(
+ name = "all_files",
+ srcs = glob(["**"]),
+ tags = ["notsan"],
+)