Apply 'buildozer fix moveLicensesAndDistribs movePackageToTop' to all BUILD files.

PiperOrigin-RevId: 249804869
This commit is contained in:
A. Unique TensorFlower 2019-05-24 03:18:33 -07:00 committed by TensorFlower Gardener
parent add05de806
commit 0b125cf53e
28 changed files with 114 additions and 84 deletions

View File

@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -1,6 +1,7 @@
licenses(["notice"]) # Apache 2.0 package(
default_visibility = ["//tensorflow:internal"],
package(default_visibility = ["//tensorflow:internal"]) licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_py_test") load("//tensorflow:tensorflow.bzl", "tf_py_test")

View File

@ -1,6 +1,7 @@
licenses(["notice"]) # Apache 2.0 package(
default_visibility = ["//tensorflow:internal"],
package(default_visibility = ["//tensorflow:internal"]) licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "cuda_py_test") load("//tensorflow:tensorflow.bzl", "cuda_py_test")
load("//tensorflow:tensorflow.bzl", "py_binary") load("//tensorflow:tensorflow.bzl", "py_binary")

View File

@ -1,13 +1,14 @@
# Description: # Description:
# contains parts of TensorFlow that are experimental or unstable and which are not supported. # contains parts of TensorFlow that are experimental or unstable and which are not supported.
package(default_visibility = [ package(
"//learning/brain:__subpackages__", default_visibility = [
"//tensorflow:__subpackages__", "//learning/brain:__subpackages__",
"//tensorflow_model_optimization:__subpackages__", "//tensorflow:__subpackages__",
]) "//tensorflow_model_optimization:__subpackages__",
],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -1,13 +1,14 @@
# Description: # Description:
# contains parts of TensorFlow that are experimental or unstable and which are not supported. # contains parts of TensorFlow that are experimental or unstable and which are not supported.
package(default_visibility = [ package(
"//learning/brain:__subpackages__", default_visibility = [
"//tensorflow:__subpackages__", "//learning/brain:__subpackages__",
"//tensorflow_model_optimization:__subpackages__", "//tensorflow:__subpackages__",
]) "//tensorflow_model_optimization:__subpackages__",
],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -1,12 +1,13 @@
# Description: # Description:
# Contains kernels for layers. # Contains kernels for layers.
licenses(["notice"]) # Apache 2.0 package(
default_visibility = ["//tensorflow:__subpackages__"],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])
package(default_visibility = ["//tensorflow:__subpackages__"])
cc_library( cc_library(
name = "sparse_feature_cross_kernel", name = "sparse_feature_cross_kernel",
srcs = ["sparse_feature_cross_kernel.cc"], srcs = ["sparse_feature_cross_kernel.cc"],

View File

@ -1,17 +1,17 @@
# Description: # Description:
# Contains TF Learn (aka Scikit Flow) sub-project with high level tensorflow API. # Contains TF Learn (aka Scikit Flow) sub-project with high level tensorflow API.
licenses(["notice"]) # Apache 2.0 package(
default_visibility = [
"//engedu/ml/tf_from_scratch:__pkg__",
"//tensorflow:internal",
],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])
load("//tensorflow:tensorflow.bzl", "py_test") load("//tensorflow:tensorflow.bzl", "py_test")
package(default_visibility = [
"//engedu/ml/tf_from_scratch:__pkg__",
"//tensorflow:internal",
])
load("//tensorflow:tensorflow.bzl", "py_test", "tf_py_test") load("//tensorflow:tensorflow.bzl", "py_test", "tf_py_test")
py_library( py_library(

View File

@ -1,8 +1,9 @@
# Prepare training and testing data. # Prepare training and testing data.
package(default_visibility = ["//tensorflow:internal"]) package(
default_visibility = ["//tensorflow:internal"],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -1,12 +1,13 @@
# Description: # Description:
# contains parts of TensorFlow that are experimental or unstable and which are not supported. # contains parts of TensorFlow that are experimental or unstable and which are not supported.
licenses(["notice"]) # Apache 2.0 package(
default_visibility = ["//tensorflow:__subpackages__"],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])
package(default_visibility = ["//tensorflow:__subpackages__"])
load("//tensorflow:tensorflow.bzl", "py_test") load("//tensorflow:tensorflow.bzl", "py_test")
py_library( py_library(

View File

@ -2,15 +2,16 @@
# Contains ops for evaluation metrics and summary statistics. # Contains ops for evaluation metrics and summary statistics.
# APIs here are meant to evolve over time. # APIs here are meant to evolve over time.
licenses(["notice"]) # Apache 2.0 package(
default_visibility = [
"//engedu/ml/tf_from_scratch:__pkg__",
"//tensorflow:internal",
],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])
package(default_visibility = [
"//engedu/ml/tf_from_scratch:__pkg__",
"//tensorflow:internal",
])
load("//tensorflow:tensorflow.bzl", "py_test") load("//tensorflow:tensorflow.bzl", "py_test")
py_library( py_library(

View File

@ -1,8 +1,9 @@
# `Predictor` classes provide an interface for efficient, repeated inference. # `Predictor` classes provide an interface for efficient, repeated inference.
package(default_visibility = ["//tensorflow/contrib/predictor:__subpackages__"]) package(
default_visibility = ["//tensorflow/contrib/predictor:__subpackages__"],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_cuda_library") load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_cuda_library")

View File

@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
load("@local_config_cuda//cuda:build_defs.bzl", "if_cuda") load("@local_config_cuda//cuda:build_defs.bzl", "if_cuda")
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow:tensorflow.bzl", "tf_cc_test")

View File

@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_cuda_library") load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_cuda_library")
load( load(

View File

@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow:tensorflow.bzl", "tf_cc_test")

View File

@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow:tensorflow.bzl", "tf_cc_test")

View File

@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_kernel_library") load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_kernel_library")
load("//tensorflow:tensorflow.bzl", "tf_cc_test_mkl") load("//tensorflow:tensorflow.bzl", "tf_cc_test_mkl")

View File

@ -1,13 +1,14 @@
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow:tensorflow.bzl", "tf_cc_test")
load("//tensorflow/core:platform/default/build_config.bzl", "tf_protos_all") load("//tensorflow/core:platform/default/build_config.bzl", "tf_protos_all")
package(default_visibility = [ package(
"//tensorflow/core/grappler/optimizers/data:__subpackages__", default_visibility = [
"//tensorflow/core/kernels/data:__pkg__", "//tensorflow/core/grappler/optimizers/data:__subpackages__",
"//tensorflow/core/kernels/data/experimental:__pkg__", "//tensorflow/core/kernels/data:__pkg__",
]) "//tensorflow/core/kernels/data/experimental:__pkg__",
],
licenses = ["notice"], # Apache 2.0
)
cc_library( cc_library(
name = "data", name = "data",

View File

@ -1,9 +1,8 @@
package( package(
default_visibility = ["//visibility:private"], default_visibility = ["//visibility:private"],
licenses = ["notice"], # Apache 2.0
) )
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow:tensorflow.bzl", "tf_cc_test")
load("//tensorflow/core:platform/default/build_config.bzl", "tf_protos_all") load("//tensorflow/core:platform/default/build_config.bzl", "tf_protos_all")

View File

@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow:tensorflow.bzl", "tf_cc_test")
load( load(

View File

@ -1,4 +1,6 @@
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow:tensorflow.bzl", "tf_cc_test")

View File

@ -2,10 +2,9 @@
# TODO(b/123403203) actually make TFLite use ruy. # TODO(b/123403203) actually make TFLite use ruy.
licenses(["notice"]) # Apache 2.0
package( package(
default_visibility = ["//visibility:private"], default_visibility = ["//visibility:private"],
licenses = ["notice"], # Apache 2.0
) )
load(":ruy_visibility.bzl", "ruy_visibility") load(":ruy_visibility.bzl", "ruy_visibility")

View File

@ -5,9 +5,10 @@ load("//tensorflow:tensorflow.bzl", "tf_py_test")
load("//tensorflow:tensorflow.bzl", "cuda_py_test") load("//tensorflow:tensorflow.bzl", "cuda_py_test")
load("//tensorflow/core:platform/default/distribute.bzl", "distribute_py_test") load("//tensorflow/core:platform/default/distribute.bzl", "distribute_py_test")
licenses(["notice"]) # Apache 2.0 package(
default_visibility = ["//visibility:public"],
package(default_visibility = ["//visibility:public"]) licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -1,9 +1,10 @@
# Description: # Description:
# Package for TensorFlow. # Package for TensorFlow.
package(default_visibility = ["//visibility:public"]) package(
default_visibility = ["//visibility:public"],
licenses(["notice"]) # Apache 2.0 License licenses = ["notice"], # Apache 2.0 License
)
load("//tensorflow/python/tools/api/generator:api_gen.bzl", "gen_api_init_files") load("//tensorflow/python/tools/api/generator:api_gen.bzl", "gen_api_init_files")
load("//tensorflow/python/tools/api/generator:api_init_files.bzl", "KERAS_API_INIT_FILES") load("//tensorflow/python/tools/api/generator:api_init_files.bzl", "KERAS_API_INIT_FILES")

View File

@ -5,9 +5,10 @@
load("//tensorflow/core:platform/default/distribute.bzl", "distribute_py_test") load("//tensorflow/core:platform/default/distribute.bzl", "distribute_py_test")
load("//tensorflow:tensorflow.bzl", "cuda_py_test") load("//tensorflow:tensorflow.bzl", "cuda_py_test")
licenses(["notice"]) # Apache 2.0 package(
default_visibility = ["//visibility:public"],
package(default_visibility = ["//visibility:public"]) licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -16,9 +16,10 @@
# Description: # Description:
# Contains the Keras Mixed Precision API (TensorFlow version). # Contains the Keras Mixed Precision API (TensorFlow version).
package(default_visibility = ["//visibility:public"]) package(
default_visibility = ["//visibility:public"],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -1,9 +1,10 @@
# Description: # Description:
# Contains the Keras OptimizerV2 API (internal TensorFlow version). # Contains the Keras OptimizerV2 API (internal TensorFlow version).
package(default_visibility = ["//visibility:public"]) package(
default_visibility = ["//visibility:public"],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -1,14 +1,13 @@
# Description: # Description:
# Doc generator # Doc generator
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
package( package(
default_visibility = ["//tensorflow:__subpackages__"], default_visibility = ["//tensorflow:__subpackages__"],
licenses = ["notice"], # Apache 2.0
) )
exports_files(["LICENSE"])
load("//tensorflow:tensorflow.bzl", "py_test") load("//tensorflow:tensorflow.bzl", "py_test")
py_library( py_library(