1load("//:bzl_library.bzl", "bzl_library") 2 3package( 4 default_applicable_licenses = ["//:license"], 5 default_visibility = ["//visibility:public"], 6) 7 8licenses(["notice"]) 9 10bzl_library( 11 name = "analysis_test", 12 srcs = ["analysis_test.bzl"], 13) 14 15bzl_library( 16 name = "build_test", 17 srcs = ["build_test.bzl"], 18 deps = ["//lib:new_sets"], 19) 20 21bzl_library( 22 name = "copy_file", 23 srcs = ["copy_file.bzl"], 24 deps = ["//rules/private:copy_file_private"], 25) 26 27bzl_library( 28 name = "copy_directory", 29 srcs = ["copy_directory.bzl"], 30 deps = ["//rules/private:copy_directory_private"], 31) 32 33bzl_library( 34 name = "write_file", 35 srcs = ["write_file.bzl"], 36 deps = ["//rules/private:write_file_private"], 37) 38 39bzl_library( 40 name = "diff_test", 41 srcs = ["diff_test.bzl"], 42 deps = ["//lib:shell"], 43) 44 45bzl_library( 46 name = "expand_template", 47 srcs = ["expand_template.bzl"], 48) 49 50bzl_library( 51 name = "native_binary", 52 srcs = ["native_binary.bzl"], 53) 54 55bzl_library( 56 name = "run_binary", 57 srcs = ["run_binary.bzl"], 58 deps = ["//lib:dicts"], 59) 60 61bzl_library( 62 name = "common_settings", 63 srcs = ["common_settings.bzl"], 64) 65 66filegroup( 67 name = "test_deps", 68 testonly = True, 69 srcs = [ 70 "BUILD", 71 ] + glob(["*.bzl"]), 72) 73 74# The files needed for distribution 75filegroup( 76 name = "distribution", 77 srcs = [ 78 "BUILD", 79 ] + glob(["*.bzl"]), 80 visibility = [ 81 "//:__pkg__", 82 ], 83) 84 85# export bzl files for the documentation 86exports_files( 87 glob(["*.bzl"]), 88 visibility = ["//:__subpackages__"], 89) 90 91bzl_library( 92 name = "select_file", 93 srcs = ["select_file.bzl"], 94) 95