diff --git a/cc/BUILD b/cc/BUILD index 9bf862a..bcfa42f 100644 --- a/cc/BUILD +++ b/cc/BUILD @@ -45,6 +45,17 @@ filegroup( visibility = ["//visibility:public"], ) +filegroup( + name = "bzl_srcs", + srcs = glob([ + "**/*.bzl", + ]) + [ + "//cc/private/rules_impl:bzl_srcs", + "//cc/private/toolchain:bzl_srcs", + ], + visibility = ["//visibility:public"], +) + filegroup( name = "srcs", srcs = glob([ diff --git a/cc/private/rules_impl/BUILD b/cc/private/rules_impl/BUILD index 37f326d..dc74dfe 100644 --- a/cc/private/rules_impl/BUILD +++ b/cc/private/rules_impl/BUILD @@ -2,6 +2,13 @@ package(default_visibility = ["//visibility:public"]) licenses(["notice"]) # Apache 2.0 +filegroup( + name = "bzl_srcs", + srcs = glob([ + "**/*.bzl", + ]), +) + filegroup( name = "srcs", srcs = glob([ diff --git a/cc/private/toolchain/BUILD b/cc/private/toolchain/BUILD index 3026ac6..6915d5b 100644 --- a/cc/private/toolchain/BUILD +++ b/cc/private/toolchain/BUILD @@ -65,6 +65,11 @@ filegroup( srcs = [], ) +filegroup( + name = "bzl_srcs", + srcs = glob(["**/*.bzl"]), +) + filegroup( name = "srcs", srcs = glob(["**"]), diff --git a/tools/migration/BUILD b/tools/migration/BUILD index 443299b..91c5d54 100644 --- a/tools/migration/BUILD +++ b/tools/migration/BUILD @@ -132,7 +132,10 @@ filegroup( ], ) -exports_files(["ctoolchain_compare.bzl"]) +exports_files([ + "cc_toolchain_config_comparator.bzl", + "ctoolchain_compare.bzl", +]) bzl_library( name = "ctoolchain_compare_bzl",