STT-tensorflow/tensorflow/workspace1.bzl
Christian Sigg e70a5f4243 Prevent buildifier warning in WORKSPACE file.
PiperOrigin-RevId: 354993799
Change-Id: If1ed5db7cb3f9ba82b179ed9070b027088ca0493
2021-02-01 12:06:13 -08:00

21 lines
773 B
Python

"""TensorFlow workspace initialization. Consult the WORKSPACE on how to use it."""
load("//third_party/android:android_configure.bzl", "android_configure")
load("//third_party/toolchains/preconfig/generate:archives.bzl", "bazel_toolchains_archive")
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
def workspace():
native.register_toolchains("@local_config_python//:py_toolchain")
closure_repositories()
bazel_toolchains_archive()
android_configure(name = "local_config_android")
grpc_deps()
# Alias so it can be loaded without assigning to a different symbol to prevent
# shadowing previous loads and trigger a buildifier warning.
tf_workspace1 = workspace