diff options
Diffstat (limited to 'util/python/BUILD')
-rw-r--r-- | util/python/BUILD | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/util/python/BUILD b/util/python/BUILD index 29688b875d..96daf9947a 100644 --- a/util/python/BUILD +++ b/util/python/BUILD @@ -2,31 +2,7 @@ licenses(["restricted"]) package(default_visibility = ["//visibility:public"]) -cc_library( +alias( 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([ - "*", - ]), + actual = "@local_config_python//:python_headers", ) |