diff options
Diffstat (limited to 'tensorflow/tensorboard/BUILD')
-rw-r--r-- | tensorflow/tensorboard/BUILD | 50 |
1 files changed, 16 insertions, 34 deletions
diff --git a/tensorflow/tensorboard/BUILD b/tensorflow/tensorboard/BUILD index 9772538524..11715319a0 100644 --- a/tensorflow/tensorboard/BUILD +++ b/tensorflow/tensorboard/BUILD @@ -1,39 +1,14 @@ # Description: # TensorBoard, a dashboard for investigating TensorFlow -package( - default_visibility = ["//tensorflow:internal"], - features = [ - "-layering_check", - "-parse_headers", - ], -) +package(default_visibility = ["//tensorflow:internal"]) licenses(["notice"]) # Apache 2.0 -exports_files(["LICENSE"]) - -load("//tensorflow:tensorflow.bzl", "py_test") - -filegroup( - name = "frontend", - srcs = [ - "TAG", - "dist/bazel-html-imports.html", - "dist/index.html", - "dist/tf-tensorboard.html", - "//tensorflow/tensorboard/bower", - "//tensorflow/tensorboard/lib:all_files", - ], -) - py_binary( name = "tensorboard", - srcs = [ - "__main__.py", - "tensorboard.py", - ], - data = [":frontend"], + srcs = ["tensorboard.py"], + data = [":assets"], srcs_version = "PY2AND3", deps = [ "//tensorflow/python:platform", @@ -46,15 +21,22 @@ py_binary( ) filegroup( + name = "assets", + srcs = [ + "TAG", + "//tensorflow/tensorboard/components:index.html", + ], +) + +filegroup( name = "all_files", srcs = glob( - ["**/*"], + ["**"], exclude = [ - "**/METADATA", - "**/OWNERS", - "**/node_modules/**", - "**/typings/**", + "METADATA", + "OWNERS", + "tensorboard.google.bzl", ], ), - visibility = ["//tensorflow:__subpackages__"], + tags = ["notsan"], ) |