Skip to content

Commit

Permalink
change source of java binary build rule
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyajones committed Oct 16, 2024
1 parent b2ab51a commit 8e42154
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 20 deletions.
6 changes: 3 additions & 3 deletions tensorboard/BUILD
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Description:
# TensorBoard, a dashboard for investigating TensorFlow

load("//tensorboard/defs:py_repl.bzl", "py_repl")
load("//tensorboard/defs:web.bzl", "tf_web_library")
load("//tensorboard/defs:zipper.bzl", "tensorboard_zip_file")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:py_repl.bzl", "py_repl")
load("//tensorboard/defs:web.bzl", "tf_web_library")
load("//tensorboard/defs:zipper.bzl", "tensorboard_zip_file")

package(default_visibility = [":internal"])

Expand Down
6 changes: 3 additions & 3 deletions tensorboard/defs/BUILD
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_test.bzl", "py_test")
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
load("@npm//@bazel/concatjs:index.bzl", "ts_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 2 additions & 0 deletions tensorboard/java/org/tensorflow/tensorboard/vulcanize/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_binary")

package(default_visibility = ["//tensorboard:internal"])

licenses(["notice"])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ng_web_test_suite", "tf_sass_binary", "tf_ts_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ng_web_test_suite", "tf_sass_binary", "tf_ts_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion tensorboard/plugins/histogram/BUILD
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Description:
# TensorBoard plugin for histograms

load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
6 changes: 3 additions & 3 deletions tensorboard/plugins/hparams/BUILD
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Description:
# TensorBoard plugin for hparams

load("//tensorboard/defs:defs.bzl", "tf_ts_library")
load("//tensorboard/defs:web.bzl", "tf_web_library")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:defs.bzl", "tf_ts_library")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("//tensorboard/defs:web.bzl", "tf_web_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion tensorboard/plugins/image/BUILD
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Description:
# TensorBoard plugin for images

load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion tensorboard/plugins/mesh/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion tensorboard/plugins/pr_curve/BUILD
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Description:
# TensorBoard plugin for precision-recall curves.

load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion tensorboard/plugins/projector/BUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Embedding Projector plugin.

load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion tensorboard/plugins/scalar/BUILD
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Description:
# TensorBoard plugin for scalars

load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion tensorboard/plugins/text/BUILD
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Description:
# TensorBoard plugin for the Text

load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion tensorboard/summary/BUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Description:
# Summary API for TensorBoard.

load("//tensorboard/defs:py_repl.bzl", "py_repl")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:py_repl.bzl", "py_repl")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion tensorboard/util/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load("//tensorboard/defs:protos.bzl", "tb_proto_library")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")
load("//tensorboard/defs:protos.bzl", "tb_proto_library")

package(default_visibility = ["//tensorboard:internal"])

Expand Down
2 changes: 1 addition & 1 deletion third_party/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ load("@bazel_tools//tools/build_defs/repo:java.bzl", "java_import_external")
load("@io_bazel_rules_webtesting//web:web.bzl", "platform_archive")
load("@io_bazel_rules_webtesting//web/versioned:browsers-0.3.3.bzl", "browser_repositories")
load("//third_party:fonts.bzl", "tensorboard_fonts_workspace")
load("//third_party:python.bzl", "tensorboard_python_workspace")
load("//third_party:js.bzl", "tensorboard_js_workspace")
load("//third_party:python.bzl", "tensorboard_python_workspace")
load("//third_party:rust.bzl", "tensorboard_rust_workspace")

def tensorboard_workspace(name = ""):
Expand Down

0 comments on commit 8e42154

Please sign in to comment.