Expose //rules:common_bzl target to OSS rules_android Part of greater effort to expose rule modularity targets and concepts to OSS. PiperOrigin-RevId: 523442931 Change-Id: I57a0421da01a87c9f184dc7a1e6a82a27e8c8095
diff --git a/rules/BUILD b/rules/BUILD index ac89362..33ce74a 100644 --- a/rules/BUILD +++ b/rules/BUILD
@@ -1,3 +1,5 @@ +load("@bazel_skylib//:bzl_library.bzl", "bzl_library") + exports_files([ "data_binding_annotation_template.txt", "res_v3_dummy_AndroidManifest.xml", @@ -10,3 +12,34 @@ actual = "@bazel_tools//tools/android:busybox", visibility = ["//visibility:public"], ) + +bzl_library( + name = "common_bzl", + srcs = [ + "aapt.bzl", + "acls.bzl", + "attrs.bzl", + "bundletool.bzl", + "busybox.bzl", + "common.bzl", + "data_binding.bzl", + "idl.bzl", + "intellij.bzl", + "java.bzl", + "migration_tag_DONOTUSE.bzl", + "native_deps.bzl", + "native_toolchain_attrs.bzl", + "path.bzl", + "processing_pipeline.bzl", + "proguard.bzl", + "providers.bzl", + "resources.bzl", + "utils.bzl", + ], + deps = [ + "//rules/acls:bzl", + "//rules/android_common:bzl", + "//rules/flags:bzl", + ], + visibility = ["//:__subpackages__"], +)