tensorflow/util/python/BUILD
2016-06-21 16:50:11 -04:00

33 lines
613 B
Python

licenses(["restricted"])
package(default_visibility = ["//visibility:public"])
cc_library(
name = "python_headers",
hdrs = glob([
"python_include/**/*.h",
]),
data = [":python_checked"],
includes = ["python_include"],
)
genrule(
name = "python_check",
srcs = [
"python_config.sh",
"configure_files"
],
outs = [
"python_checked",
],
cmd = "OUTPUTDIR=\"$(@D)/\"; $(location :python_config.sh) --check && touch $$OUTPUTDIR/python_checked",
local = 1,
)
filegroup(
name = "configure_files",
data = glob([
"*",
])
)