STT-tensorflow/util/python/BUILD
Fabrizio Milo 2b56028018 standardize BUILD files format using buildifier (#3395)
run `buildifier -mode=fix `find . -iname BUILD -type f`
2016-07-22 15:42:00 -07:00

33 lines
617 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([
"*",
]),
)