aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf_graph_info/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tensorboard/components/tf_graph_info/BUILD')
-rw-r--r--tensorflow/tensorboard/components/tf_graph_info/BUILD38
1 files changed, 18 insertions, 20 deletions
diff --git a/tensorflow/tensorboard/components/tf_graph_info/BUILD b/tensorflow/tensorboard/components/tf_graph_info/BUILD
index 6bab86d538..70b69dda93 100644
--- a/tensorflow/tensorboard/components/tf_graph_info/BUILD
+++ b/tensorflow/tensorboard/components/tf_graph_info/BUILD
@@ -1,10 +1,11 @@
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_info",
srcs = [
"tf-graph-icon.html",
@@ -16,7 +17,7 @@ web_library(
deps = [
"//tensorflow/tensorboard/components/tf_dashboard_common",
"//tensorflow/tensorboard/components/tf_graph_common",
- "@org_polymer",
+ "//tensorflow/tensorboard/components/tf_imports:polymer",
"@org_polymer_iron_collapse",
"@org_polymer_iron_list",
"@org_polymer_paper_icon_button",
@@ -26,28 +27,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-icon.html",
- "tf-graph-info.html",
- "tf-node-info.html",
- "tf-node-list-item.html",
- ],
+ srcs = [":tf_graph_info"],
destdir = "tf-graph-info",
deps = [
"//tensorflow/tensorboard/components/tf_dashboard_common:legacy",
"//tensorflow/tensorboard/components/tf_graph_common:legacy",
+ "//third_party/javascript/polymer/v1/iron-collapse:lib",
+ "//third_party/javascript/polymer/v1/iron-list:lib",
+ "//third_party/javascript/polymer/v1/paper-icon-button:lib",
+ "//third_party/javascript/polymer/v1/paper-item:lib",
+ "//third_party/javascript/polymer/v1/paper-slider:lib",
+ "//third_party/javascript/polymer/v1/paper-spinner:lib",
+ "//third_party/javascript/polymer/v1/polymer:lib",
],
)
+
+filegroup(
+ name = "all_files",
+ srcs = glob(["**"]),
+ tags = ["notsan"],
+)