diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-07-11 08:29:11 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-07-11 08:33:02 -0700 |
commit | 18a5510e67ef536c947512b70030c5c995ce7875 (patch) | |
tree | d9e7006a12c223dad179b1f05dc2886a848192e1 /third_party/py | |
parent | ba45775be000f0923ae620fff6760f15ca56dc53 (diff) |
Update toolchain configuration artifacts to work with latest version of bazel
PiperOrigin-RevId: 161531749
Diffstat (limited to 'third_party/py')
-rw-r--r-- | third_party/py/BUILD.tpl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/third_party/py/BUILD.tpl b/third_party/py/BUILD.tpl index 2f3503e793..de06ad5f27 100644 --- a/third_party/py/BUILD.tpl +++ b/third_party/py/BUILD.tpl @@ -5,16 +5,16 @@ package(default_visibility = ["//visibility:public"]) cc_library( name = "python_headers", hdrs = [":python_include"], - includes = ["python_include"], data = select({ - ":windows" : [":python_import_lib"], - "//conditions:default": [], + ":windows": [":python_import_lib"], + "//conditions:default": [], }), + includes = ["python_include"], linkopts = select({ - # TODO(pcloudy): Ideally, this should just go into deps after resolving - # https://github.com/bazelbuild/bazel/issues/3237, - ":windows" : ["$(locations :python_import_lib)"], - "//conditions:default": [], + # TODO(pcloudy): Ideally, this should just go into deps after resolving + # https://github.com/bazelbuild/bazel/issues/3237, + ":windows": ["$(locations :python_import_lib)"], + "//conditions:default": [], }), ) @@ -31,5 +31,5 @@ config_setting( ) %{PYTHON_INCLUDE_GENRULE} -%{PYTHON_IMPORT_LIB_GENRULE} %{NUMPY_INCLUDE_GENRULE} +%{PYTHON_IMPORT_LIB_GENRULE} |