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

PiperOrigin-RevId: 249812574
This commit is contained in:
A. Unique TensorFlower 2019-05-24 04:43:52 -07:00 committed by TensorFlower Gardener
parent d21e3a618b
commit e44f32560d
65 changed files with 194 additions and 176 deletions

View File

@ -1,6 +1,8 @@
# Experimental extensions to the C API for eager execution of kernels.
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)
load(
"//tensorflow:tensorflow.bzl",

View File

@ -3,10 +3,9 @@
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load(

View File

@ -3,10 +3,9 @@
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load(

View File

@ -1,7 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:private"],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/compiler/aot:tfcompile.bzl", "tf_library")

View File

@ -1,9 +1,8 @@
licenses(["notice"]) # Apache 2.0
package(
default_visibility = [
"//tensorflow/compiler/tf2xla:internal",
],
licenses = ["notice"], # Apache 2.0
)
cc_library(

View File

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

View File

@ -1,7 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
load(

View File

@ -3,10 +3,9 @@ package(
"//tensorflow:internal",
"//tensorflow_models:__subpackages__",
],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_cc_test")
load("//tensorflow/core:platform/default/build_config.bzl", "tf_protos_all")

View File

@ -3,10 +3,9 @@ package(
"//tensorflow:internal",
"//tensorflow_models:__subpackages__",
],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
load(
"//tensorflow:tensorflow.bzl",
"tf_cc_test",

View File

@ -3,7 +3,12 @@
# to be distributed and performed in parallel across multiple
# processes.
licenses(["notice"]) # Apache 2.0
package(
default_visibility = [
"//tensorflow:internal",
],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"])
@ -29,10 +34,6 @@ load(
"tf_cuda_tests_tags",
)
package(default_visibility = [
"//tensorflow:internal",
])
cc_library(
name = "partial_run_mgr",
srcs = ["partial_run_mgr.cc"],

View File

@ -1,9 +1,10 @@
# Description:
# Contains experimental kernels for datasets and iterators.
package(default_visibility = ["//tensorflow:internal"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"])

View File

@ -1,7 +1,6 @@
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
cc_library(

View File

@ -3,10 +3,9 @@
#
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
load(
"//tensorflow:tensorflow.bzl",
"tf_kernel_library",

View File

@ -3,10 +3,9 @@
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_kernel_library")
cc_library(

View File

@ -1,9 +1,10 @@
# Description:
# Libraries for storing tensors in SQL databases.
package(default_visibility = ["//tensorflow:internal"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_copts")

View File

@ -2,9 +2,10 @@
# Wrap NVIDIA (https://github.com/NVIDIA/nccl) NCCL with tensorflow ops.
# APIs are meant to change over time.
package(default_visibility = ["//tensorflow:__subpackages__"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//tensorflow:__subpackages__"],
licenses = ["notice"], # Apache 2.0
)
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_cuda_library")
load("//tensorflow:tensorflow.bzl", "tf_cc_test")

View File

@ -1,9 +1,8 @@
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_cc_test")
cc_library(

View File

@ -3,10 +3,9 @@
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load("//tensorflow:tensorflow.bzl", "tf_cc_binary")

View File

@ -1,9 +1,10 @@
# Description:
# TensorFlow model for word2vec
package(default_visibility = ["//tensorflow:internal"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"])

View File

@ -1,9 +1,8 @@
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
load("//tensorflow/lite:build_def.bzl", "tflite_copts")
cc_library(

View File

@ -1,6 +1,7 @@
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "convert",

View File

@ -1,6 +1,7 @@
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "add_bias",

View File

@ -1,6 +1,7 @@
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite:special_rules.bzl", "tflite_portable_test_suite")

View File

@ -1,6 +1,7 @@
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "calculator",

View File

@ -1,11 +1,12 @@
package(default_visibility = [
"//visibility:public",
])
package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite:special_rules.bzl", "tflite_portable_test_suite")
licenses(["notice"]) # Apache 2.0
cc_library(
name = "nnapi_delegate",
srcs = select({

View File

@ -1,9 +1,10 @@
# Description:
# TensorFlow Lite minimal example.
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite:build_def.bzl", "tflite_linkopts")

View File

@ -1,8 +1,9 @@
# TensorFlow Lite for iOS
package(default_visibility = ["//visibility:private"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:private"],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite/experimental/ios:ios.bzl", "TFL_IOS_BUILD_VERSION", "TFL_MINIMUM_OS_VERSION")
load("@build_bazel_rules_apple//apple:ios.bzl", "ios_static_framework")

View File

@ -1,8 +1,9 @@
package(default_visibility = [
"//visibility:public",
])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite:build_def.bzl", "tflite_copts")

View File

@ -1,9 +1,10 @@
# Description:
# TensorFlow Lite microcontroller example.
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
load(
"//tensorflow/lite/experimental/micro/testing:micro_test.bzl",

View File

@ -1,8 +1,9 @@
package(default_visibility = [
"//visibility:public",
])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite:build_def.bzl", "tflite_copts")
load(

View File

@ -1,8 +1,9 @@
# TensorFlow Lite for Swift
package(default_visibility = ["//visibility:private"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:private"],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite/experimental/ios:ios.bzl", "TFL_DEFAULT_TAGS", "TFL_DISABLED_SANITIZER_TAGS", "TFL_MINIMUM_OS_VERSION")
load("@build_bazel_rules_apple//apple:ios.bzl", "ios_application", "ios_unit_test")

View File

@ -1,7 +1,10 @@
# Sample app for OVIC benchmarking.
load("@build_bazel_rules_android//android:rules.bzl", "android_binary")
# Sample app for OVIC benchmarking.
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)
android_binary(
name = "ovic_benchmarker_binary",

View File

@ -1,6 +1,8 @@
# Testdata for OVIC benchmarker demo App and tests.
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)
filegroup(
name = "ovic_testdata",

View File

@ -3,9 +3,10 @@
load("@build_bazel_rules_android//android:rules.bzl", "android_library")
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
android_library(
name = "testhelper",

View File

@ -1,8 +1,9 @@
load("@build_bazel_rules_android//android:rules.bzl", "android_binary")
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
load(
"//tensorflow/lite:build_def.bzl",

View File

@ -1,8 +1,9 @@
licenses(["notice"]) # Apache 2.0
package(default_visibility = [
"//visibility:public",
])
package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "nnapi_lib",

View File

@ -1,9 +1,8 @@
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_py_wrap_cc")
cc_library(

View File

@ -1,9 +1,8 @@
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_py_wrap_cc")
cc_library(

View File

@ -1,8 +1,9 @@
package(default_visibility = [
"//visibility:public",
])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "generator",

View File

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

View File

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

View File

@ -13,9 +13,10 @@
# limitations under the License.
# ==============================================================================
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite:build_def.bzl", "tflite_copts", "tflite_linkopts")

View File

@ -1,11 +1,12 @@
load("//tensorflow/lite:special_rules.bzl", "tflite_portable_test_suite")
load("//tensorflow:tensorflow.bzl", "tf_cc_test")
package(default_visibility = [
"//visibility:public",
])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "calibrator_lib",

View File

@ -2,10 +2,9 @@
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
py_binary(

View File

@ -1,9 +1,10 @@
# Description:
# Python APIs for various Tensorflow backends.
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "if_not_windows")

View File

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

View File

@ -1,9 +1,10 @@
load("//tensorflow:tensorflow.bzl", "py_test")
load("//tensorflow:tensorflow.bzl", "cuda_py_test")
package(default_visibility = ["//tensorflow:internal"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"])

View File

@ -10,10 +10,9 @@
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load("//tensorflow:tensorflow.bzl", "cuda_py_test")

View File

@ -6,10 +6,9 @@ package(
default_visibility = [
"//tensorflow:__subpackages__",
],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
py_library(
name = "cluster_resolver_lib",
srcs = [

View File

@ -3,10 +3,9 @@
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_py_test")
filegroup(

View File

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

View File

@ -1,11 +1,10 @@
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "py_test")
licenses(["notice"]) # Apache 2.0
py_library(
name = "distributions",
srcs = glob(

View File

@ -1,9 +1,8 @@
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
py_library(
name = "linalg",
srcs = glob(["*.py"]),

View File

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

View File

@ -17,9 +17,10 @@
# Keras saving and loading libraries.
load("//tensorflow:tensorflow.bzl", "py_test")
package(default_visibility = ["//tensorflow:__subpackages__"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//tensorflow:__subpackages__"],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"])

View File

@ -1,7 +1,9 @@
# Description:
# Scripts used to generate TensorFlow Python API.
licenses(["notice"]) # Apache 2.0
package(
licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "py_test")
load("//tensorflow/python/tools/api/generator:api_init_files.bzl", "TENSORFLOW_API_INIT_FILES")

View File

@ -5,10 +5,9 @@ package(
default_visibility = [
"//tensorflow:internal",
],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load("//tensorflow:tensorflow.bzl", "cuda_py_test")

View File

@ -1,8 +1,6 @@
# Description:
# GPU-platform specific StreamExecutor support code.
licenses(["notice"]) # Apache 2.0
load(
"//tensorflow/stream_executor:build_defs.bzl",
"if_gpu_is_configured",
@ -18,6 +16,7 @@ package(
"//tensorflow/compiler/xla/service/gpu:__subpackages__",
"//tensorflow/stream_executor:__subpackages__",
],
licenses = ["notice"], # Apache 2.0
)
# Filegroup used to collect source files for the dependency check.

View File

@ -1,8 +1,6 @@
# Description:
# ROCm-platform specific StreamExecutor support code.
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_cc_test")
load(
"//tensorflow/stream_executor:build_defs.bzl",
@ -12,15 +10,16 @@ load("//tensorflow:tensorflow.bzl", "tf_copts")
load("@local_config_rocm//rocm:build_defs.bzl", "if_rocm_is_configured")
load("//tensorflow/core:platform/default/build_config_root.bzl", "if_static")
package(
default_visibility = [":friends"],
licenses = ["notice"], # Apache 2.0
)
package_group(
name = "friends",
packages = stream_executor_friends(),
)
package(
default_visibility = [":friends"],
)
# Filegroup used to collect source files for the dependency check.
filegroup(
name = "c_srcs",

View File

@ -7,10 +7,9 @@ load(
package(
default_visibility = ["//tensorflow/tools/api:__subpackages__"],
licenses = ["notice"], # Apache 2.0
)
licenses(["notice"]) # Apache 2.0
exports_files([
"README.txt",
"API_UPDATE_WARNING.txt",

View File

@ -3,9 +3,10 @@
# Also contains information about git repository deposited by configure
# in gen/...
package(default_visibility = ["//tensorflow:internal"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
py_binary(
name = "gen_git_source",

View File

@ -1,9 +1,10 @@
# Description:
# Utilities that perform useful transformations on graphs
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
load(
"//tensorflow:tensorflow.bzl",

View File

@ -8,9 +8,10 @@
# Note that proto3 well-known types (e.g. Any) are not handled in a special way
# by the generated code.
package(default_visibility = ["//visibility:private"])
licenses(["notice"]) # Apache 2.0
package(
default_visibility = ["//visibility:private"],
licenses = ["notice"], # Apache 2.0
)
exports_files([
"LICENSE",

View File

@ -1,6 +1,6 @@
# BUILD file to make this directory a package.
licenses(["notice"])
package(licenses = ["notice"])
exports_files(
["static-components.h"],