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. # Experimental extensions to the C API for eager execution of kernels.
licenses(["notice"]) # Apache 2.0 package(
licenses = ["notice"], # Apache 2.0
)
load( load(
"//tensorflow:tensorflow.bzl", "//tensorflow:tensorflow.bzl",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,10 +3,9 @@ package(
"//tensorflow:internal", "//tensorflow:internal",
"//tensorflow_models:__subpackages__", "//tensorflow_models:__subpackages__",
], ],
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

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

View File

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

View File

@ -1,9 +1,10 @@
# Description: # Description:
# Contains experimental kernels for datasets and iterators. # Contains experimental kernels for datasets and iterators.
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,7 +1,6 @@
licenses(["notice"]) # Apache 2.0
package( package(
default_visibility = ["//visibility:public"], default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
) )
cc_library( cc_library(

View File

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

View File

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

View File

@ -1,9 +1,10 @@
# Description: # Description:
# Libraries for storing tensors in SQL databases. # Libraries for storing tensors in SQL databases.
package(default_visibility = ["//tensorflow:internal"]) package(
default_visibility = ["//tensorflow:internal"],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
load("//tensorflow:tensorflow.bzl", "tf_cc_test", "tf_copts") 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. # Wrap NVIDIA (https://github.com/NVIDIA/nccl) NCCL with tensorflow ops.
# APIs are meant to change over time. # APIs are meant to change over time.
package(default_visibility = ["//tensorflow:__subpackages__"]) package(
default_visibility = ["//tensorflow:__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_cuda_library") load("//tensorflow:tensorflow.bzl", "tf_cuda_library")
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow:tensorflow.bzl", "tf_cc_test")

View File

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

View File

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

View File

@ -1,9 +1,10 @@
# Description: # Description:
# TensorFlow model for word2vec # TensorFlow model for word2vec
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,9 +1,8 @@
package( package(
default_visibility = ["//visibility:public"], default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
) )
licenses(["notice"]) # Apache 2.0
load("//tensorflow/lite:build_def.bzl", "tflite_copts") load("//tensorflow/lite:build_def.bzl", "tflite_copts")
cc_library( cc_library(

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,8 +1,9 @@
# TensorFlow Lite for Swift # TensorFlow Lite for Swift
package(default_visibility = ["//visibility:private"]) package(
default_visibility = ["//visibility:private"],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite/experimental/ios:ios.bzl", "TFL_DEFAULT_TAGS", "TFL_DISABLED_SANITIZER_TAGS", "TFL_MINIMUM_OS_VERSION") 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") 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") load("@build_bazel_rules_android//android:rules.bzl", "android_binary")
# Sample app for OVIC benchmarking. package(
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
android_binary( android_binary(
name = "ovic_benchmarker_binary", name = "ovic_benchmarker_binary",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -13,9 +13,10 @@
# limitations under the License. # limitations under the License.
# ============================================================================== # ==============================================================================
package(default_visibility = ["//visibility:public"]) package(
default_visibility = ["//visibility:public"],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
load("//tensorflow/lite:build_def.bzl", "tflite_copts", "tflite_linkopts") 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/lite:special_rules.bzl", "tflite_portable_test_suite")
load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow:tensorflow.bzl", "tf_cc_test")
package(default_visibility = [ package(
default_visibility = [
"//visibility:public", "//visibility:public",
]) ],
licenses = ["notice"], # Apache 2.0
licenses(["notice"]) # Apache 2.0 )
cc_library( cc_library(
name = "calibrator_lib", name = "calibrator_lib",

View File

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

View File

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

View File

@ -1,6 +1,7 @@
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,9 +1,10 @@
load("//tensorflow:tensorflow.bzl", "py_test") load("//tensorflow:tensorflow.bzl", "py_test")
load("//tensorflow:tensorflow.bzl", "cuda_py_test") load("//tensorflow:tensorflow.bzl", "cuda_py_test")
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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,9 @@
# Description: # Description:
# Scripts used to generate TensorFlow Python API. # 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:tensorflow.bzl", "py_test")
load("//tensorflow/python/tools/api/generator:api_init_files.bzl", "TENSORFLOW_API_INIT_FILES") load("//tensorflow/python/tools/api/generator:api_init_files.bzl", "TENSORFLOW_API_INIT_FILES")

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,10 @@
# Description: # Description:
# Utilities that perform useful transformations on graphs # Utilities that perform useful transformations on graphs
package(default_visibility = ["//visibility:public"]) package(
default_visibility = ["//visibility:public"],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
load( load(
"//tensorflow:tensorflow.bzl", "//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 # Note that proto3 well-known types (e.g. Any) are not handled in a special way
# by the generated code. # by the generated code.
package(default_visibility = ["//visibility:private"]) package(
default_visibility = ["//visibility:private"],
licenses(["notice"]) # Apache 2.0 licenses = ["notice"], # Apache 2.0
)
exports_files([ exports_files([
"LICENSE", "LICENSE",

View File

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