diff --git a/tensorflow/c/eager/BUILD b/tensorflow/c/eager/BUILD index c453ec02e9b..8c2be2af3e0 100644 --- a/tensorflow/c/eager/BUILD +++ b/tensorflow/c/eager/BUILD @@ -1,4 +1,5 @@ # Experimental extensions to the C API for eager execution of kernels. + licenses(["notice"]) # Apache 2.0 load( diff --git a/tensorflow/contrib/boosted_trees/BUILD b/tensorflow/contrib/boosted_trees/BUILD index 34d759b3ac3..6791e379107 100644 --- a/tensorflow/contrib/boosted_trees/BUILD +++ b/tensorflow/contrib/boosted_trees/BUILD @@ -1,4 +1,5 @@ # TensorFlow code for training gradient boosted trees. + licenses(["notice"]) # Apache 2.0 exports_files(["LICENSE"]) diff --git a/tensorflow/contrib/boosted_trees/estimator_batch/BUILD b/tensorflow/contrib/boosted_trees/estimator_batch/BUILD index aa0cddff37a..968aff18053 100644 --- a/tensorflow/contrib/boosted_trees/estimator_batch/BUILD +++ b/tensorflow/contrib/boosted_trees/estimator_batch/BUILD @@ -1,5 +1,6 @@ # This directory contains estimators to train and run inference on # gradient boosted trees on top of TensorFlow. + licenses(["notice"]) # Apache 2.0 exports_files(["LICENSE"]) diff --git a/tensorflow/contrib/boosted_trees/lib/BUILD b/tensorflow/contrib/boosted_trees/lib/BUILD index 5ac3cc546c6..634dfab1090 100644 --- a/tensorflow/contrib/boosted_trees/lib/BUILD +++ b/tensorflow/contrib/boosted_trees/lib/BUILD @@ -1,5 +1,6 @@ # Description: # This directory contains common utilities used in boosted_trees. + licenses(["notice"]) # Apache 2.0 exports_files(["LICENSE"]) diff --git a/tensorflow/contrib/cudnn_rnn/BUILD b/tensorflow/contrib/cudnn_rnn/BUILD index 8d35622e393..174d82c1b9a 100644 --- a/tensorflow/contrib/cudnn_rnn/BUILD +++ b/tensorflow/contrib/cudnn_rnn/BUILD @@ -1,6 +1,7 @@ # Description: # A Cudnn RNN wrapper. # APIs are meant to change over time. + package( default_visibility = ["//visibility:private"], ) diff --git a/tensorflow/contrib/eager/python/examples/BUILD b/tensorflow/contrib/eager/python/examples/BUILD index 3e0881754c7..fd5a44a7975 100644 --- a/tensorflow/contrib/eager/python/examples/BUILD +++ b/tensorflow/contrib/eager/python/examples/BUILD @@ -1,4 +1,5 @@ # TensorFlow code for training gradient boosted trees. + licenses(["notice"]) # Apache 2.0 package(default_visibility = ["//tensorflow:internal"]) diff --git a/tensorflow/contrib/gan/BUILD b/tensorflow/contrib/gan/BUILD index 97de8a0f5d5..3165e007996 100644 --- a/tensorflow/contrib/gan/BUILD +++ b/tensorflow/contrib/gan/BUILD @@ -1,4 +1,5 @@ # Files for using TF-GAN framework. + load("//tensorflow:tensorflow.bzl", "py_test") package(default_visibility = [ diff --git a/tensorflow/core/kernels/boosted_trees/quantiles/BUILD b/tensorflow/core/kernels/boosted_trees/quantiles/BUILD index 12d94737766..7a50179571b 100644 --- a/tensorflow/core/kernels/boosted_trees/quantiles/BUILD +++ b/tensorflow/core/kernels/boosted_trees/quantiles/BUILD @@ -1,5 +1,6 @@ # Description: # This directory contains common quantile utilities used in boosted_trees. + package( default_visibility = ["//tensorflow:internal"], ) diff --git a/tensorflow/core/kernels/data/experimental/BUILD b/tensorflow/core/kernels/data/experimental/BUILD index ccd58447c8d..ce31fc3403a 100644 --- a/tensorflow/core/kernels/data/experimental/BUILD +++ b/tensorflow/core/kernels/data/experimental/BUILD @@ -1,5 +1,6 @@ # Description: # Contains experimental kernels for datasets and iterators. + package(default_visibility = ["//tensorflow:internal"]) licenses(["notice"]) # Apache 2.0 diff --git a/tensorflow/lite/experimental/tensorboard/BUILD b/tensorflow/lite/experimental/tensorboard/BUILD index 10848e7cd7c..37beae3ed6a 100644 --- a/tensorflow/lite/experimental/tensorboard/BUILD +++ b/tensorflow/lite/experimental/tensorboard/BUILD @@ -1,4 +1,5 @@ # TFLite modules to support TensorBoard plugin. + package(default_visibility = ["//tensorflow:internal"]) licenses(["notice"]) # Apache 2.0 diff --git a/tensorflow/lite/java/ovic/src/testdata/BUILD b/tensorflow/lite/java/ovic/src/testdata/BUILD index 53f382f7c18..b55d6230dfb 100644 --- a/tensorflow/lite/java/ovic/src/testdata/BUILD +++ b/tensorflow/lite/java/ovic/src/testdata/BUILD @@ -1,4 +1,5 @@ # Testdata for OVIC benchmarker demo App and tests. + licenses(["notice"]) # Apache 2.0 filegroup( diff --git a/tensorflow/lite/tools/benchmark/android/BUILD b/tensorflow/lite/tools/benchmark/android/BUILD index a291effddc9..8561989ad7b 100644 --- a/tensorflow/lite/tools/benchmark/android/BUILD +++ b/tensorflow/lite/tools/benchmark/android/BUILD @@ -1,5 +1,6 @@ # Description: # BenchmarkModel Android harness for TensorFlow Lite benchmarks. + package(default_visibility = ["//visibility:private"]) licenses(["notice"]) # Apache 2.0 diff --git a/tensorflow/python/keras/BUILD b/tensorflow/python/keras/BUILD index 4e635478aa7..f019dedb061 100755 --- a/tensorflow/python/keras/BUILD +++ b/tensorflow/python/keras/BUILD @@ -1,5 +1,6 @@ # Description: # Contains the Keras API (internal TensorFlow version). + load("//tensorflow:tensorflow.bzl", "tf_py_test") load("//tensorflow:tensorflow.bzl", "cuda_py_test") load("//tensorflow/core:platform/default/distribute.bzl", "distribute_py_test") diff --git a/tensorflow/python/keras/distribute/BUILD b/tensorflow/python/keras/distribute/BUILD index dc7b1e03b59..005dc50b0b9 100644 --- a/tensorflow/python/keras/distribute/BUILD +++ b/tensorflow/python/keras/distribute/BUILD @@ -1,6 +1,7 @@ # Description: # keras/distribute package is intended to serve as the centralized place for things # related to dist-strat used by Keras.. + load("//tensorflow/core:platform/default/distribute.bzl", "distribute_py_test") load("//tensorflow:tensorflow.bzl", "cuda_py_test") diff --git a/tensorflow/tools/build_info/BUILD b/tensorflow/tools/build_info/BUILD index 680e68b0b9b..711d8684b92 100644 --- a/tensorflow/tools/build_info/BUILD +++ b/tensorflow/tools/build_info/BUILD @@ -1,5 +1,6 @@ # Description: # Contains script to generate tensorflow/python/platform/build_info.py + package(default_visibility = ["//tensorflow:internal"]) licenses(["notice"]) # Apache 2.0 diff --git a/tensorflow/tools/git/BUILD b/tensorflow/tools/git/BUILD index 580781d79d0..8dc4d07bd75 100644 --- a/tensorflow/tools/git/BUILD +++ b/tensorflow/tools/git/BUILD @@ -2,6 +2,7 @@ # Contains script to generate tensorflow/core/util/version_info.cc # Also contains information about git repository deposited by configure # in gen/... + package(default_visibility = ["//tensorflow:internal"]) licenses(["notice"]) # Apache 2.0