diff options
-rw-r--r-- | tensorflow/tools/pip_package/BUILD | 2 | ||||
-rw-r--r-- | third_party/ngraph/ngraph.BUILD | 10 | ||||
-rw-r--r-- | third_party/ngraph/ngraph_tf.BUILD | 10 | ||||
-rw-r--r-- | third_party/ngraph/nlohmann_json.BUILD | 10 |
4 files changed, 4 insertions, 28 deletions
diff --git a/tensorflow/tools/pip_package/BUILD b/tensorflow/tools/pip_package/BUILD index 7645612cf1..91c5cd094c 100644 --- a/tensorflow/tools/pip_package/BUILD +++ b/tensorflow/tools/pip_package/BUILD @@ -209,7 +209,7 @@ filegroup( ) + if_ngraph([ "@ngraph//:LICENSE", "@ngraph_tf//:LICENSE", - "@nlohmann_json_lib//:LICENSE", + "@nlohmann_json_lib//:LICENSE.MIT", ]) + tf_additional_license_deps(), ) diff --git a/third_party/ngraph/ngraph.BUILD b/third_party/ngraph/ngraph.BUILD index f73ce4f674..31aa3cee51 100644 --- a/third_party/ngraph/ngraph.BUILD +++ b/third_party/ngraph/ngraph.BUILD @@ -1,14 +1,6 @@ licenses(["notice"]) # 3-Clause BSD -exports_files(["license.txt"]) - -filegroup( - name = "LICENSE", - srcs = [ - "license.txt", - ], - visibility = ["//visibility:public"], -) +exports_files(["LICENSE"]) cc_library( name = "ngraph_core", diff --git a/third_party/ngraph/ngraph_tf.BUILD b/third_party/ngraph/ngraph_tf.BUILD index 0c2c8a718f..4d96ccf2f2 100644 --- a/third_party/ngraph/ngraph_tf.BUILD +++ b/third_party/ngraph/ngraph_tf.BUILD @@ -1,14 +1,6 @@ licenses(["notice"]) # 3-Clause BSD -exports_files(["license.txt"]) - -filegroup( - name = "LICENSE", - srcs = [ - "license.txt", - ], - visibility = ["//visibility:public"], -) +exports_files(["LICENSE"]) load( "@org_tensorflow//tensorflow:tensorflow.bzl", diff --git a/third_party/ngraph/nlohmann_json.BUILD b/third_party/ngraph/nlohmann_json.BUILD index a0b18a51cb..04c8db6a96 100644 --- a/third_party/ngraph/nlohmann_json.BUILD +++ b/third_party/ngraph/nlohmann_json.BUILD @@ -1,14 +1,6 @@ licenses(["notice"]) # 3-Clause BSD -exports_files(["license.txt"]) - -filegroup( - name = "LICENSE", - srcs = [ - "license.txt", - ], - visibility = ["//visibility:public"], -) +exports_files(["LICENSE.MIT"]) cc_library( name = "nlohmann_json_lib", |