aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/pip_package
diff options
context:
space:
mode:
authorGravatar gracehoney <31743510+aaroey@users.noreply.github.com>2018-08-21 14:54:13 -0700
committerGravatar gracehoney <31743510+aaroey@users.noreply.github.com>2018-08-21 14:54:13 -0700
commitf0f72bc41f2b301928a577050cae4676ed05e905 (patch)
treeec961cc654ca19afddecba8cc69215f25e6caf25 /tensorflow/tools/pip_package
parent1c00380977893fefc1371906831bf43361eed0b1 (diff)
Use if_ngraph to exclude ngraph licence rules in default build.
Diffstat (limited to 'tensorflow/tools/pip_package')
-rw-r--r--tensorflow/tools/pip_package/BUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/tensorflow/tools/pip_package/BUILD b/tensorflow/tools/pip_package/BUILD
index 1a4679c8a3..610cef17ee 100644
--- a/tensorflow/tools/pip_package/BUILD
+++ b/tensorflow/tools/pip_package/BUILD
@@ -13,6 +13,10 @@ load("//third_party/mkl:build_defs.bzl", "if_mkl", "if_mkl_ml")
load("//tensorflow:tensorflow.bzl", "if_cuda")
load("@local_config_syslibs//:build_defs.bzl", "if_not_system_lib")
load("//tensorflow/core:platform/default/build_config_root.bzl", "tf_additional_license_deps")
+load(
+ "//third_party/ngraph:build_defs.bzl",
+ "if_ngraph",
+)
# This returns a list of headers of all public header libraries (e.g.,
# framework, lib), and all of the transitive dependencies of those
@@ -200,7 +204,7 @@ filegroup(
"@grpc//third_party/nanopb:LICENSE.txt",
"@grpc//third_party/address_sorting:LICENSE",
],
- ) + if_not_windows([
+ ) + if_ngraph([
"@ngraph//:LICENSE",
"@ngraph_tf//:LICENSE",
"@nlohmann_json_lib//:LICENSE",