blob: 9dbe12dc4d22ed64729331e18ba19c129e7cd377 [file] [log] [blame]
Thomas Van Lenten8c575e72018-11-26 17:31:29 -05001load("//:bzl_library.bzl", "bzl_library")
2
Nathan Herringceeecf92017-10-31 22:54:25 +01003licenses(["notice"]) # Apache 2.0
4
5package(default_visibility = ["//visibility:public"])
6
Tony Allevato82b3ad62017-10-10 07:59:31 -07007exports_files([
8 "LICENSE",
9 "lib.bzl",
10])
11
12filegroup(
13 name = "test_deps",
Thomas Van Lentena95326e2018-02-20 16:09:20 -050014 testonly = True,
Tony Allevato82b3ad62017-10-10 07:59:31 -070015 srcs = [
16 "BUILD",
17 "//lib:test_deps",
18 ] + glob(["*.bzl"]),
Nathan Herringceeecf92017-10-31 22:54:25 +010019)
20
c-parsons6e2d7e42018-09-28 09:09:18 -040021bzl_library(
Nathan Herringceeecf92017-10-31 22:54:25 +010022 name = "lib",
23 srcs = ["lib.bzl"],
Thomas Van Lenten1099dd22018-09-24 15:48:24 -040024 deprecation = (
25 "lib.bzl will go away in the future, please directly depend on the" +
26 " module(s) needed as it is more efficient."
27 ),
Nathan Herringceeecf92017-10-31 22:54:25 +010028 deps = [
29 "//lib:collections",
30 "//lib:dicts",
Nicholas Titcombe0b40ea72018-04-20 14:44:25 -070031 "//lib:new_sets",
dmaclachd46b6072018-04-17 09:33:38 -070032 "//lib:partial",
Nathan Herringceeecf92017-10-31 22:54:25 +010033 "//lib:paths",
34 "//lib:selects",
35 "//lib:sets",
36 "//lib:shell",
37 "//lib:structs",
Thomas Van Lenten3fea8cb2018-06-13 14:11:04 -040038 "//lib:types",
Nathan Herringceeecf92017-10-31 22:54:25 +010039 "//lib:unittest",
Thomas Van Lentenf9b0ff12018-02-20 16:52:51 -050040 "//lib:versions",
Nathan Herringceeecf92017-10-31 22:54:25 +010041 ],
42)
43
c-parsons6e2d7e42018-09-28 09:09:18 -040044bzl_library(
45 name = "bzl_library",
46 srcs = ["bzl_library.bzl"],
Tony Allevato82b3ad62017-10-10 07:59:31 -070047)