aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/vz_projector/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tensorboard/components/vz_projector/BUILD')
-rw-r--r--tensorflow/tensorboard/components/vz_projector/BUILD442
1 files changed, 52 insertions, 390 deletions
diff --git a/tensorflow/tensorboard/components/vz_projector/BUILD b/tensorflow/tensorboard/components/vz_projector/BUILD
index c1adeabbf5..6d22554efa 100644
--- a/tensorflow/tensorboard/components/vz_projector/BUILD
+++ b/tensorflow/tensorboard/components/vz_projector/BUILD
@@ -1,38 +1,69 @@
package(default_visibility = ["//tensorflow:internal"])
-load("@io_bazel_rules_closure//closure:defs.bzl", "web_library")
-load("//tensorflow/tensorboard:hacks.bzl", "tensorboard_typescript_bundle")
-load("//tensorflow/tensorboard:defs.bzl", "tensorboard_typescript_genrule")
+load("//tensorflow/tensorboard:web.bzl", "ts_web_library")
licenses(["notice"]) # Apache 2.0
-web_library(
+ts_web_library(
name = "vz_projector",
srcs = [
+ "analyticsLogger.ts",
"bundle.html",
- "bundle.js",
+ "data.ts",
+ "data-provider.ts",
+ "data-provider-demo.ts",
+ "data-provider-proto.ts",
+ "data-provider-server.ts",
+ "external.d.ts",
+ "knn.ts",
+ "label.ts",
+ "logging.ts",
+ "projectorEventContext.ts",
+ "projectorScatterPlotAdapter.ts",
+ "renderContext.ts",
+ "scatterPlot.ts",
+ "scatterPlotRectangleSelector.ts",
+ "scatterPlotVisualizer.ts",
+ "scatterPlotVisualizer3DLabels.ts",
+ "scatterPlotVisualizerCanvasLabels.ts",
+ "scatterPlotVisualizerPolylines.ts",
+ "scatterPlotVisualizerSprites.ts",
"styles.html",
+ "util.ts",
+ "vector.ts",
"vz-projector.html",
+ "vz-projector.ts",
"vz-projector-app.html",
"vz-projector-bookmark-panel.html",
+ "vz-projector-bookmark-panel.ts",
"vz-projector-colab.html",
"vz-projector-dashboard.html",
"vz-projector-data-panel.html",
+ "vz-projector-data-panel.ts",
"vz-projector-input.html",
+ "vz-projector-input.ts",
"vz-projector-inspector-panel.html",
+ "vz-projector-inspector-panel.ts",
"vz-projector-legend.html",
+ "vz-projector-legend.ts",
"vz-projector-metadata-card.html",
+ "vz-projector-metadata-card.ts",
"vz-projector-projections-panel.html",
+ "vz-projector-projections-panel.ts",
+ "vz-projector-util.ts",
],
path = "/vz-projector",
visibility = ["//visibility:public"],
deps = [
+ ":bh_tsne",
+ ":heap",
+ ":sptree",
"//tensorflow/tensorboard/components/tf_dashboard_common",
"//tensorflow/tensorboard/components/tf_imports:d3",
"//tensorflow/tensorboard/components/tf_imports:numericjs",
+ "//tensorflow/tensorboard/components/tf_imports:polymer",
"//tensorflow/tensorboard/components/tf_imports:threejs",
"//tensorflow/tensorboard/components/tf_imports:weblas",
- "@org_polymer",
"@org_polymer_iron_collapse",
"@org_polymer_iron_icons",
"@org_polymer_paper_button",
@@ -53,298 +84,23 @@ web_library(
],
)
-tensorboard_typescript_genrule(
- name = "ts",
- srcs = ["bundle.ts"],
- typings = [
- "external.d.ts",
- "@org_definitelytyped//:polymer.d.ts",
- "@org_definitelytyped//:three.d.ts",
- "@org_definitelytyped//:webcomponents.js.d.ts",
- "//tensorflow/tensorboard/components/tf_imports:d3.d.ts",
- ],
+ts_web_library(
+ name = "heap",
+ srcs = ["heap.ts"],
+ path = "/vz-projector",
+)
+
+ts_web_library(
+ name = "sptree",
+ srcs = ["sptree.ts"],
+ path = "/vz-projector",
)
-tensorboard_typescript_bundle(
- name = "bundle",
- out = "bundle.ts",
- namespace_srcs = {
- "VZ.Projector.Heap": ["heap.ts"],
- "VZ.Projector.Label": ["label.ts"],
- "VZ.Projector.SPTree": ["sptree.ts"],
- "VZ.Projector.BhTsne": ["bh_tsne.ts"],
- "VZ.Projector.Logging": ["logging.ts"],
- "VZ.Projector.RenderContext": ["renderContext.ts"],
- "VZ.Projector.ScatterPlotRectangleSelector": ["scatterPlotRectangleSelector.ts"],
- "VZ.Projector.AnalyticsLogger": ["analyticsLogger.ts"],
- "VZ.Projector.Util": ["util.ts"],
- "VZ.Projector.Vector": ["vector.ts"],
- "VZ.Projector.Knn": ["knn.ts"],
- "VZ.Projector.Data": ["data.ts"],
- "VZ.Projector.DataProvider": ["data-provider.ts"],
- "VZ.Projector.DataProviderDemo": ["data-provider-demo.ts"],
- "VZ.Projector.DataProviderProto": ["data-provider-proto.ts"],
- "VZ.Projector.DataProviderServer": ["data-provider-server.ts"],
- "VZ.Projector.ProjectorEventContext": ["projectorEventContext.ts"],
- "VZ.Projector.ScatterPlot": ["scatterPlot.ts"],
- "VZ.Projector.ScatterPlotVisualizer3DLabels": ["scatterPlotVisualizer3DLabels.ts"],
- "VZ.Projector.ScatterPlotVisualizerCanvasLabels": ["scatterPlotVisualizerCanvasLabels.ts"],
- "VZ.Projector.ScatterPlotVisualizerPolylines": ["scatterPlotVisualizerPolylines.ts"],
- "VZ.Projector.ScatterPlotVisualizerSprites": ["scatterPlotVisualizerSprites.ts"],
- "VZ.Projector.ScatterPlotVisualizer": ["scatterPlotVisualizer.ts"],
- "VZ.Projector.ProjectorScatterPlotAdapter": ["projectorScatterPlotAdapter.ts"],
- "VZ.Projector.ProjectorUtil": ["vz-projector-util.ts"],
- "VZ.Projector.ProjectorBookmarkPanel": ["vz-projector-bookmark-panel.ts"],
- "VZ.Projector.ProjectorDataPanel": ["vz-projector-data-panel.ts"],
- "VZ.Projector.ProjectorInput": ["vz-projector-input.ts"],
- "VZ.Projector.ProjectorInspectorPanel": ["vz-projector-inspector-panel.ts"],
- "VZ.Projector.ProjectorLegend": ["vz-projector-legend.ts"],
- "VZ.Projector.ProjectorMetadataCard": ["vz-projector-metadata-card.ts"],
- "VZ.Projector.ProjectorProjectionsPanel": ["vz-projector-projections-panel.ts"],
- "VZ.Projector": ["vz-projector.ts"],
- },
- namespace_symbol_aliases = {
- "VZ.Projector.AnalyticsLogger": {
- "ProjectionType": "VZ.Projector.Data.ProjectionType",
- },
- "VZ.Projector.BhTsne": {
- "SPNode": "VZ.Projector.SPTree.SPNode",
- "SPTree": "VZ.Projector.SPTree.SPTree",
- },
- "VZ.Projector.DataProviderDemo": {
- "DataProvider": "VZ.Projector.DataProvider.DataProvider",
- "DataSet": "VZ.Projector.Data.DataSet",
- "EmbeddingInfo": "VZ.Projector.DataProvider.EmbeddingInfo",
- "ProjectorConfig": "VZ.Projector.DataProvider.ProjectorConfig",
- "SpriteAndMetadataInfo": "VZ.Projector.Data.SpriteAndMetadataInfo",
- "State": "VZ.Projector.Data.State",
- "TENSORS_MSG_ID": "VZ.Projector.DataProvider.TENSORS_MSG_ID",
- "dataProvider": "VZ.Projector.DataProvider",
- "logging": "VZ.Projector.Logging",
- },
- "VZ.Projector.DataProviderProto": {
- "DataPoint": "VZ.Projector.Data.DataPoint",
- "DataProto": "VZ.Projector.Data.DataProto",
- "DataProvider": "VZ.Projector.DataProvider.DataProvider",
- "DataSet": "VZ.Projector.Data.DataSet",
- "PointMetadata": "VZ.Projector.Data.PointMetadata",
- "ProjectorConfig": "VZ.Projector.DataProvider.ProjectorConfig",
- "SpriteAndMetadataInfo": "VZ.Projector.Data.SpriteAndMetadataInfo",
- "State": "VZ.Projector.Data.State",
- "analyzeMetadata": "VZ.Projector.DataProvider.analyzeMetadata",
- },
- "VZ.Projector.DataProviderServer": {
- "DataProvider": "VZ.Projector.DataProvider.DataProvider",
- "DataSet": "VZ.Projector.Data.DataSet",
- "EmbeddingInfo": "VZ.Projector.DataProvider.EmbeddingInfo",
- "ProjectorConfig": "VZ.Projector.DataProvider.ProjectorConfig",
- "SpriteAndMetadataInfo": "VZ.Projector.Data.SpriteAndMetadataInfo",
- "State": "VZ.Projector.Data.State",
- "dataProvider": "VZ.Projector.DataProvider",
- "logging": "VZ.Projector.Logging",
- },
- "VZ.Projector.DataProvider": {
- "ColumnStats": "VZ.Projector.Data.ColumnStats",
- "DataPoint": "VZ.Projector.Data.DataPoint",
- "DataSet": "VZ.Projector.Data.DataSet",
- "PointMetadata": "VZ.Projector.Data.PointMetadata",
- "SpriteAndMetadataInfo": "VZ.Projector.Data.SpriteAndMetadataInfo",
- "State": "VZ.Projector.Data.State",
- "logging": "VZ.Projector.Logging",
- "runAsyncTask": "VZ.Projector.Util.runAsyncTask",
- },
- "VZ.Projector.Data": {
- "SpriteMetadata": "VZ.Projector.DataProvider.SpriteMetadata",
- "TSNE": "VZ.Projector.BhTsne.TSNE",
- "knn": "VZ.Projector.Knn",
- "logging": "VZ.Projector.Logging",
- "scatterPlot": "VZ.Projector.ScatterPlot",
- "util": "VZ.Projector.Util",
- "vector": "VZ.Projector.Vector",
- },
- "VZ.Projector.Knn": {
- "KMin": "VZ.Projector.Heap.KMin",
- "Vector": "VZ.Projector.Vector.Vector",
- "logging": "VZ.Projector.Logging",
- "runAsyncTask": "VZ.Projector.Util.runAsyncTask",
- "vector": "VZ.Projector.Vector",
- },
- "VZ.Projector.ProjectorEventContext": {
- "DistanceFunction": "VZ.Projector.Data.DistanceFunction",
- "NearestEntry": "VZ.Projector.Knn.NearestEntry",
- "Projection": "VZ.Projector.Data.Projection",
- },
- "VZ.Projector.ProjectorScatterPlotAdapter": {
- "DataSet": "VZ.Projector.Data.DataSet",
- "DistanceFunction": "VZ.Projector.Data.DistanceFunction",
- "LabelRenderParams": "VZ.Projector.RenderContext.LabelRenderParams",
- "NearestEntry": "VZ.Projector.Knn.NearestEntry",
- "Projection": "VZ.Projector.Data.Projection",
- "ProjectionComponents3D": "VZ.Projector.Data.ProjectionComponents3D",
- "ProjectorEventContext": "VZ.Projector.ProjectorEventContext.ProjectorEventContext",
- "ScatterPlot": "VZ.Projector.ScatterPlot.ScatterPlot",
- "ScatterPlotVisualizer3DLabels": "VZ.Projector.ScatterPlotVisualizer3DLabels.ScatterPlotVisualizer3DLabels",
- "ScatterPlotVisualizerCanvasLabels": "VZ.Projector.ScatterPlotVisualizerCanvasLabels.ScatterPlotVisualizerCanvasLabels",
- "ScatterPlotVisualizerPolylines": "VZ.Projector.ScatterPlotVisualizerPolylines.ScatterPlotVisualizerPolylines",
- "ScatterPlotVisualizerSprites": "VZ.Projector.ScatterPlotVisualizerSprites.ScatterPlotVisualizerSprites",
- "State": "VZ.Projector.Data.State",
- "vector": "VZ.Projector.Vector",
- },
- "VZ.Projector.ScatterPlot": {
- "BoundingBox": "VZ.Projector.ScatterPlotRectangleSelector.BoundingBox",
- "CameraType": "VZ.Projector.RenderContext.CameraType",
- "LabelRenderParams": "VZ.Projector.RenderContext.LabelRenderParams",
- "Point2D": "VZ.Projector.Vector.Point2D",
- "Point3D": "VZ.Projector.Vector.Point3D",
- "ProjectorEventContext": "VZ.Projector.ProjectorEventContext.ProjectorEventContext",
- "RenderContext": "VZ.Projector.RenderContext.RenderContext",
- "ScatterPlotRectangleSelector": "VZ.Projector.ScatterPlotRectangleSelector.ScatterPlotRectangleSelector",
- "ScatterPlotVisualizer": "VZ.Projector.ScatterPlotVisualizer.ScatterPlotVisualizer",
- "util": "VZ.Projector.Util",
- },
- "VZ.Projector.ScatterPlotVisualizer3DLabels": {
- "RenderContext": "VZ.Projector.RenderContext.RenderContext",
- "ScatterPlotVisualizer": "VZ.Projector.ScatterPlotVisualizer.ScatterPlotVisualizer",
- "util": "VZ.Projector.Util",
- },
- "VZ.Projector.ScatterPlotVisualizerCanvasLabels": {
- "BoundingBox": "VZ.Projector.Label.BoundingBox",
- "CameraType": "VZ.Projector.RenderContext.CameraType",
- "CollisionGrid": "VZ.Projector.Label.CollisionGrid",
- "RenderContext": "VZ.Projector.RenderContext.RenderContext",
- "ScatterPlotVisualizer": "VZ.Projector.ScatterPlotVisualizer.ScatterPlotVisualizer",
- "util": "VZ.Projector.Util",
- },
- "VZ.Projector.ScatterPlotVisualizerPolylines": {
- "DataSet": "VZ.Projector.Data.DataSet",
- "RenderContext": "VZ.Projector.RenderContext.RenderContext",
- "ScatterPlotVisualizer": "VZ.Projector.ScatterPlotVisualizer.ScatterPlotVisualizer",
- "util": "VZ.Projector.Util",
- },
- "VZ.Projector.ScatterPlotVisualizerSprites": {
- "CameraType": "VZ.Projector.RenderContext.CameraType",
- "RenderContext": "VZ.Projector.RenderContext.RenderContext",
- "ScatterPlotVisualizer": "VZ.Projector.ScatterPlotVisualizer.ScatterPlotVisualizer",
- "util": "VZ.Projector.Util",
- },
- "VZ.Projector.ScatterPlotVisualizer": {
- "RenderContext": "VZ.Projector.RenderContext.RenderContext",
- },
- "VZ.Projector.Util": {
- "DataPoint": "VZ.Projector.Data.DataPoint",
- "Point2D": "VZ.Projector.Vector.Point2D",
- "logging": "VZ.Projector.Logging",
- },
- "VZ.Projector.Vector": {
- "assert": "VZ.Projector.Util.assert",
- },
- "VZ.Projector.ProjectorBookmarkPanel": {
- "DataProvider": "VZ.Projector.DataProvider.DataProvider",
- "EmbeddingInfo": "VZ.Projector.DataProvider.EmbeddingInfo",
- "PolymerElement": "VZ.Projector.ProjectorUtil.PolymerElement",
- "PolymerHTMLElement": "VZ.Projector.ProjectorUtil.PolymerHTMLElement",
- "Projector": "VZ.Projector.Projector",
- "ProjectorEventContext": "VZ.Projector.ProjectorEventContext.ProjectorEventContext",
- "State": "VZ.Projector.Data.State",
- "logging": "VZ.Projector.Logging",
- },
- "VZ.Projector.ProjectorDataPanel": {
- "ColorLegendRenderInfo": "VZ.Projector.ProjectorLegend.ColorLegendRenderInfo",
- "ColorLegendThreshold": "VZ.Projector.ProjectorLegend.ColorLegendThreshold",
- "ColorOption": "VZ.Projector.Data.ColorOption",
- "ColumnStats": "VZ.Projector.Data.ColumnStats",
- "DataProvider": "VZ.Projector.DataProvider.DataProvider",
- "EmbeddingInfo": "VZ.Projector.DataProvider.EmbeddingInfo",
- "PolymerElement": "VZ.Projector.ProjectorUtil.PolymerElement",
- "PolymerHTMLElement": "VZ.Projector.ProjectorUtil.PolymerHTMLElement",
- "Projector": "VZ.Projector.Projector",
- "ProjectorConfig": "VZ.Projector.DataProvider.ProjectorConfig",
- "SpriteAndMetadataInfo": "VZ.Projector.Data.SpriteAndMetadataInfo",
- "parseRawMetadata": "VZ.Projector.DataProvider.parseRawMetadata",
- "parseRawTensors": "VZ.Projector.DataProvider.parseRawTensors",
- "util": "VZ.Projector.Util",
- },
- "VZ.Projector.ProjectorInput": {
- "PolymerElement": "VZ.Projector.ProjectorUtil.PolymerElement",
- "PolymerHTMLElement": "VZ.Projector.ProjectorUtil.PolymerHTMLElement",
- },
- "VZ.Projector.ProjectorInspectorPanel": {
- "DistanceFunction": "VZ.Projector.Data.DistanceFunction",
- "PolymerElement": "VZ.Projector.ProjectorUtil.PolymerElement",
- "PolymerHTMLElement": "VZ.Projector.ProjectorUtil.PolymerHTMLElement",
- "Projector": "VZ.Projector.Projector",
- "ProjectorEventContext": "VZ.Projector.ProjectorEventContext.ProjectorEventContext",
- "ProjectorInput": "VZ.Projector.ProjectorInput.ProjectorInput",
- "SpriteAndMetadataInfo": "VZ.Projector.Data.SpriteAndMetadataInfo",
- "State": "VZ.Projector.Data.State",
- "adapter": "VZ.Projector.ProjectorScatterPlotAdapter",
- "knn": "VZ.Projector.Knn",
- "util": "VZ.Projector.Util",
- "vector": "VZ.Projector.Vector",
- },
- "VZ.Projector.ProjectorLegend": {
- "PolymerElement": "VZ.Projector.ProjectorUtil.PolymerElement",
- "PolymerHTMLElement": "VZ.Projector.ProjectorUtil.PolymerHTMLElement",
- },
- "VZ.Projector.ProjectorMetadataCard": {
- "PointMetadata": "VZ.Projector.Data.PointMetadata",
- "PolymerElement": "VZ.Projector.ProjectorUtil.PolymerElement",
- "PolymerHTMLElement": "VZ.Projector.ProjectorUtil.PolymerHTMLElement",
- },
- "VZ.Projector.ProjectorProjectionsPanel": {
- "DataSet": "VZ.Projector.Data.DataSet",
- "PolymerElement": "VZ.Projector.ProjectorUtil.PolymerElement",
- "PolymerHTMLElement": "VZ.Projector.ProjectorUtil.PolymerHTMLElement",
- "Projection": "VZ.Projector.Data.Projection",
- "ProjectionType": "VZ.Projector.Data.ProjectionType",
- "Projector": "VZ.Projector.Projector",
- "ProjectorInput": "VZ.Projector.ProjectorInput.ProjectorInput",
- "SpriteAndMetadataInfo": "VZ.Projector.Data.SpriteAndMetadataInfo",
- "State": "VZ.Projector.Data.State",
- "Vector": "VZ.Projector.Vector.Vector",
- "data": "VZ.Projector.Data",
- "util": "VZ.Projector.Util",
- "vector": "VZ.Projector.Vector",
- },
- "VZ.Projector": {
- "AnalyticsLogger": "VZ.Projector.AnalyticsLogger.AnalyticsLogger",
- "BookmarkPanel": "VZ.Projector.ProjectorBookmarkPanel.BookmarkPanel",
- "ColorOption": "VZ.Projector.Data.ColorOption",
- "ColumnStats": "VZ.Projector.Data.ColumnStats",
- "DataPanel": "VZ.Projector.ProjectorDataPanel.DataPanel",
- "DataPoint": "VZ.Projector.Data.DataPoint",
- "DataProto": "VZ.Projector.Data.DataProto",
- "DataProvider": "VZ.Projector.DataProvider.DataProvider",
- "DataSet": "VZ.Projector.Data.DataSet",
- "DemoDataProvider": "VZ.Projector.DataProviderDemo.DemoDataProvider",
- "DistanceFunction": "VZ.Projector.Data.DistanceFunction",
- "DistanceMetricChangedListener": "VZ.Projector.ProjectorEventContext.DistanceMetricChangedListener",
- "EmbeddingInfo": "VZ.Projector.DataProvider.EmbeddingInfo",
- "HoverListener": "VZ.Projector.ProjectorEventContext.HoverListener",
- "InspectorPanel": "VZ.Projector.ProjectorInspectorPanel.InspectorPanel",
- "MetadataCard": "VZ.Projector.ProjectorMetadataCard.MetadataCard",
- "MouseMode": "VZ.Projector.ScatterPlot.MouseMode",
- "PointMetadata": "VZ.Projector.Data.PointMetadata",
- "PolymerElement": "VZ.Projector.ProjectorUtil.PolymerElement",
- "PolymerHTMLElement": "VZ.Projector.ProjectorUtil.PolymerHTMLElement",
- "Projection": "VZ.Projector.Data.Projection",
- "ProjectionChangedListener": "VZ.Projector.ProjectorEventContext.ProjectionChangedListener",
- "ProjectionsPanel": "VZ.Projector.ProjectorProjectionsPanel.ProjectionsPanel",
- "ProjectorEventContext": "VZ.Projector.ProjectorEventContext.ProjectorEventContext",
- "ProjectorScatterPlotAdapter": "VZ.Projector.ProjectorScatterPlotAdapter.ProjectorScatterPlotAdapter",
- "ProtoDataProvider": "VZ.Projector.DataProviderProto.ProtoDataProvider",
- "SelectionChangedListener": "VZ.Projector.ProjectorEventContext.SelectionChangedListener",
- "ServerDataProvider": "VZ.Projector.DataProviderServer.ServerDataProvider",
- "ServingMode": "VZ.Projector.DataProvider.ServingMode",
- "SpriteAndMetadataInfo": "VZ.Projector.Data.SpriteAndMetadataInfo",
- "State": "VZ.Projector.Data.State",
- "data": "VZ.Projector.Data",
- "knn": "VZ.Projector.Knn",
- "logging": "VZ.Projector.Logging",
- "stateGetAccessorDimensions": "VZ.Projector.Data.stateGetAccessorDimensions",
- "util": "VZ.Projector.Util",
- },
- },
+ts_web_library(
+ name = "bh_tsne",
+ srcs = ["bh_tsne.ts"],
+ path = "/vz-projector",
+ deps = [":sptree"],
)
filegroup(
@@ -352,97 +108,3 @@ filegroup(
srcs = glob(["**"]),
tags = ["notsan"],
)
-
-#### Legacy for other consumers
-load(
- "//tensorflow/tensorboard:defs.bzl",
- "tensorboard_webcomponent_library",
- "tensorboard_ts_library",
- "tensorboard_ts_declaration",
-)
-
-# Standalone embedding projector demos should depend on this target. We
-# exclude the HTML file for the dashboard itself. Demos do not need that
-# HTML file. This was introduced because standalone demos as of today
-# have an additional Closure pass that uses a compilation configuration
-# stricter than that of TensorBoard.
-
-_PROJECTOR_LIB_TS_LIB_DEPS = [
- ":ts_lib",
- ":tsne_ts_lib",
-]
-
-_PROJECTOR_DESTDIR = "vz-projector"
-
-_PROJECTOR_LIB_DEPS = [
- "//third_party/javascript/polymer/v1/iron-collapse:lib",
- "//third_party/javascript/polymer/v1/iron-icons:lib",
- "//third_party/javascript/polymer/v1/paper-button:lib",
- "//third_party/javascript/polymer/v1/paper-checkbox:lib",
- "//third_party/javascript/polymer/v1/paper-dialog:lib",
- "//third_party/javascript/polymer/v1/paper-dialog-scrollable:lib",
- "//third_party/javascript/polymer/v1/paper-dropdown-menu:lib",
- "//third_party/javascript/polymer/v1/paper-icon-button:lib",
- "//third_party/javascript/polymer/v1/paper-input:lib",
- "//third_party/javascript/polymer/v1/paper-item:lib",
- "//third_party/javascript/polymer/v1/paper-listbox:lib",
- "//third_party/javascript/polymer/v1/paper-slider:lib",
- "//third_party/javascript/polymer/v1/paper-spinner:lib",
- "//third_party/javascript/polymer/v1/paper-toast: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",
-]
-
-tensorboard_ts_library(
- name = "tsne_ts_lib",
- srcs = [
- "bh_tsne.ts",
- "sptree.ts",
- ],
-)
-
-tensorboard_ts_declaration(
- name = "external",
- srcs = ["external.d.ts"],
-)
-
-tensorboard_ts_library(
- name = "ts_lib",
- srcs = glob(
- ["*.ts"],
- exclude = [
- "*.d.ts",
- "*_test.ts",
- "bh_tsne.ts",
- "sptree.ts",
- ],
- ),
- runtime_deps = [
- "//third_party/javascript/d3/v4:d3",
- "//third_party/javascript/numericjs",
- "//third_party/javascript/threejs/r77:threejs",
- "//third_party/javascript/threejs/r77/examples/js/controls:orbitcontrols",
- "//third_party/javascript/weblas",
- ],
- deps = [
- ":external",
- ":tsne_ts_lib",
- "//third_party/javascript/node_modules/typescript:es2015.promise",
- "//third_party/javascript/typings/d3_v4:bundle",
- "//third_party/javascript/typings/polymer:polymer_without_externs",
- "//third_party/javascript/typings/threejs:three",
- "//third_party/javascript/typings/webcomponents_js",
- ],
-)
-
-tensorboard_webcomponent_library(
- name = "lib",
- srcs = glob(
- ["*.html"],
- exclude = ["vz-projector-dashboard.html"],
- ),
- ts_lib_deps = _PROJECTOR_LIB_TS_LIB_DEPS,
- destdir = _PROJECTOR_DESTDIR,
- deps = _PROJECTOR_LIB_DEPS,
-)