Buildifier fixes.

PiperOrigin-RevId: 249038542
This commit is contained in:
Amit Patankar 2019-05-20 06:42:45 -07:00 committed by TensorFlower Gardener
parent fff00129e1
commit 3144fbe49a
19 changed files with 26 additions and 26 deletions

View File

@ -7,7 +7,7 @@ package(
],
)
load("//tensorflow:tensorflow.bzl", "tf_cuda_cc_test", "tf_cc_test")
load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_cuda_cc_test")
load(
"//tensorflow/core:platform/default/build_config_root.bzl",
"tf_cuda_tests_tags",

View File

@ -11,8 +11,8 @@ exports_files(["LICENSE"])
load(
"//tensorflow:tensorflow.bzl",
"tf_copts",
"if_android",
"tf_copts",
)
exports_files([

View File

@ -9,12 +9,12 @@ licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_custom_op_py_library")
load(
"//tensorflow:tensorflow.bzl",
"tf_cc_test",
"tf_copts",
"tf_custom_op_library",
"tf_gen_op_libs",
"tf_gen_op_wrapper_py",
"tf_kernel_library",
"tf_cc_test",
"tf_py_test",
)

View File

@ -5,8 +5,8 @@ licenses(["notice"]) # Apache 2.0
load(
"//tensorflow:tensorflow.bzl",
"tf_copts",
"tf_cc_binary",
"tf_copts",
)
exports_files(["LICENSE"])

View File

@ -9,8 +9,8 @@ package(default_visibility = ["//visibility:public"])
load(
"//tensorflow:tensorflow.bzl",
"tf_gen_op_wrapper_py",
"tf_custom_op_library",
"tf_gen_op_wrapper_py", # @unused
)
py_library(

View File

@ -12,12 +12,12 @@ load("//tensorflow:tensorflow.bzl", "cuda_py_tests")
load("//tensorflow:tensorflow.bzl", "tf_custom_op_py_library")
load(
"//tensorflow:tensorflow.bzl",
"tf_custom_op_library",
"tf_cc_test",
"tf_py_test",
"tf_custom_op_library",
"tf_gen_op_libs",
"tf_kernel_library",
"tf_gen_op_wrapper_py",
"tf_kernel_library",
"tf_py_test",
)
cc_library(

View File

@ -16,8 +16,8 @@ load(
"//tensorflow:tensorflow.bzl",
"tf_custom_op_library",
"tf_gen_op_libs",
"tf_kernel_library",
"tf_gen_op_wrapper_py",
"tf_kernel_library",
)
tf_custom_op_py_library(

View File

@ -21,18 +21,18 @@ licenses(["notice"]) # Apache 2.0
load(
"//tensorflow:tensorflow.bzl",
"check_deps",
"tf_copts",
"tf_cc_test",
"tf_copts",
"tf_cuda_library",
)
# For platform specific build config
load(
"//tensorflow/core:platform/default/build_config.bzl",
"tf_additional_all_protos",
"tf_kernel_tests_linkstatic",
"tf_proto_library",
"tf_proto_library_cc",
"tf_additional_all_protos",
)
load(
"//tensorflow/core:platform/default/build_config_root.bzl",

View File

@ -1,6 +1,6 @@
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_cuda_library", "tf_cc_test")
load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_cuda_library")
load(
"//tensorflow/core:platform/default/build_config.bzl",
"tf_protos_grappler",
@ -17,8 +17,8 @@ filegroup(
load(
"//tensorflow/core:platform/default/build_config.bzl",
"tf_proto_library",
"tf_additional_all_protos",
"tf_proto_library",
)
load(
"@local_config_cuda//cuda:build_defs.bzl",

View File

@ -12,8 +12,8 @@ licenses(["notice"]) # Apache 2.0
load(
"//tensorflow:tensorflow.bzl",
"tf_kernel_library",
"tf_cc_test",
"tf_kernel_library",
)
load(
"//tensorflow/core:platform/default/build_config.bzl",

View File

@ -12,8 +12,8 @@ exports_files(["LICENSE"])
load(
"//tensorflow:tensorflow.bzl",
"tf_cc_test",
"tf_cc_binary",
"tf_cc_test",
)
cc_library(

View File

@ -9,9 +9,9 @@ licenses(["notice"]) # Apache 2.0
load(
"//tensorflow:tensorflow.bzl",
"if_windows",
"tf_cc_test",
"tf_copts",
"if_windows",
)
cc_library(

View File

@ -11,8 +11,8 @@ load(
"//tensorflow:tensorflow.bzl",
"cc_header_only_library",
"if_not_windows",
"tf_copts",
"tf_cc_test",
"tf_copts",
)
# To be exported to tensorflow/core:mobile_srcs.

View File

@ -11,10 +11,10 @@ load(
"//tensorflow:tensorflow.bzl",
"tf_binary_additional_srcs",
"tf_cc_binary",
"tf_cc_test",
"tf_copts",
"tf_custom_op_library",
"tf_java_test",
"tf_cc_test",
)
java_library(

View File

@ -13,9 +13,9 @@ load("//tensorflow/lite:special_rules.bzl", "tflite_portable_test_suite")
load("//tensorflow:tensorflow.bzl", "tf_py_wrap_cc")
load(
"//tensorflow:tensorflow.bzl",
"py_test", # @unused
"tf_cc_binary",
"tf_cc_test",
"py_test",
)
[gen_zip_test(

View File

@ -7,9 +7,9 @@ licenses(["notice"]) # Apache 2.0
load(
"//tensorflow:tensorflow.bzl",
"tf_copts",
"tf_cc_test",
"tf_cc_binary",
"tf_cc_test",
"tf_copts",
)
exports_files(["LICENSE"])

View File

@ -1,8 +1,8 @@
load(
"//tensorflow:tensorflow.bzl",
"tf_copts", # @unused
"tf_cc_test", # @unused
"py_test",
"tf_cc_test", # @unused
"tf_copts", # @unused
)
licenses(["notice"]) # Apache 2.0

View File

@ -7,12 +7,12 @@ licenses(["notice"]) # Apache 2.0
load(
"//tensorflow:tensorflow.bzl",
"if_not_v2",
"if_not_windows",
"tf_copts",
"tf_cc_binary",
"tf_cc_test",
"tf_copts",
"tf_py_test",
"if_not_v2",
)
exports_files(["LICENSE"])

View File

@ -20,8 +20,8 @@ exports_files([
load(
"//tensorflow:tensorflow.bzl",
"if_ios",
"tf_generate_proto_text_sources",
"tf_cc_test",
"tf_generate_proto_text_sources",
)
# For platform specific build config