Thomas Van Lenten | 8c575e7 | 2018-11-26 17:31:29 -0500 | [diff] [blame] | 1 | load("//:bzl_library.bzl", "bzl_library") |
| 2 | |
Nathan Herring | ceeecf9 | 2017-10-31 22:54:25 +0100 | [diff] [blame] | 3 | licenses(["notice"]) # Apache 2.0 |
| 4 | |
| 5 | package(default_visibility = ["//visibility:public"]) |
| 6 | |
Tony Allevato | 82b3ad6 | 2017-10-10 07:59:31 -0700 | [diff] [blame] | 7 | exports_files([ |
| 8 | "LICENSE", |
| 9 | "lib.bzl", |
| 10 | ]) |
| 11 | |
| 12 | filegroup( |
| 13 | name = "test_deps", |
Thomas Van Lenten | a95326e | 2018-02-20 16:09:20 -0500 | [diff] [blame] | 14 | testonly = True, |
Tony Allevato | 82b3ad6 | 2017-10-10 07:59:31 -0700 | [diff] [blame] | 15 | srcs = [ |
| 16 | "BUILD", |
| 17 | "//lib:test_deps", |
| 18 | ] + glob(["*.bzl"]), |
Nathan Herring | ceeecf9 | 2017-10-31 22:54:25 +0100 | [diff] [blame] | 19 | ) |
| 20 | |
c-parsons | 6e2d7e4 | 2018-09-28 09:09:18 -0400 | [diff] [blame] | 21 | bzl_library( |
Nathan Herring | ceeecf9 | 2017-10-31 22:54:25 +0100 | [diff] [blame] | 22 | name = "lib", |
| 23 | srcs = ["lib.bzl"], |
Thomas Van Lenten | 1099dd2 | 2018-09-24 15:48:24 -0400 | [diff] [blame] | 24 | 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 Herring | ceeecf9 | 2017-10-31 22:54:25 +0100 | [diff] [blame] | 28 | deps = [ |
| 29 | "//lib:collections", |
| 30 | "//lib:dicts", |
Nicholas Titcombe | 0b40ea7 | 2018-04-20 14:44:25 -0700 | [diff] [blame] | 31 | "//lib:new_sets", |
dmaclach | d46b607 | 2018-04-17 09:33:38 -0700 | [diff] [blame] | 32 | "//lib:partial", |
Nathan Herring | ceeecf9 | 2017-10-31 22:54:25 +0100 | [diff] [blame] | 33 | "//lib:paths", |
| 34 | "//lib:selects", |
| 35 | "//lib:sets", |
| 36 | "//lib:shell", |
| 37 | "//lib:structs", |
Thomas Van Lenten | 3fea8cb | 2018-06-13 14:11:04 -0400 | [diff] [blame] | 38 | "//lib:types", |
Nathan Herring | ceeecf9 | 2017-10-31 22:54:25 +0100 | [diff] [blame] | 39 | "//lib:unittest", |
Thomas Van Lenten | f9b0ff1 | 2018-02-20 16:52:51 -0500 | [diff] [blame] | 40 | "//lib:versions", |
Nathan Herring | ceeecf9 | 2017-10-31 22:54:25 +0100 | [diff] [blame] | 41 | ], |
| 42 | ) |
| 43 | |
c-parsons | 6e2d7e4 | 2018-09-28 09:09:18 -0400 | [diff] [blame] | 44 | bzl_library( |
| 45 | name = "bzl_library", |
| 46 | srcs = ["bzl_library.bzl"], |
Tony Allevato | 82b3ad6 | 2017-10-10 07:59:31 -0700 | [diff] [blame] | 47 | ) |