diff --git a/c10/macros/build.bzl b/c10/macros/build.bzl index 932d0cabac4c..50f283560d7e 100644 --- a/c10/macros/build.bzl +++ b/c10/macros/build.bzl @@ -29,3 +29,12 @@ def define_targets(rules): "//conditions:default": [], }), ) + rules.filegroup( + name = "headers", + srcs = rules.glob( + ["*.h"], + exclude = [ + ], + ), + visibility = ["//:__pkg__"], + ) diff --git a/c10/util/build.bzl b/c10/util/build.bzl index b981eba67718..8d79a557477f 100644 --- a/c10/util/build.bzl +++ b/c10/util/build.bzl @@ -68,5 +68,5 @@ def define_targets(rules): exclude = [ ], ), - visibility = ["//c10:__pkg__"], + visibility = ["//c10:__pkg__", "//:__pkg__"], )