Tony Allevato | 82b3ad6 | 2017-10-10 07:59:31 -0700 | [diff] [blame] | 1 | # Copyright 2017 The Bazel Authors. All rights reserved. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | """Index from which multiple modules can be loaded.""" |
| 16 | |
Thomas Van Lenten | e5203c0 | 2018-06-12 13:09:57 -0400 | [diff] [blame] | 17 | load("//lib:collections.bzl", _collections = "collections") |
| 18 | load("//lib:dicts.bzl", _dicts = "dicts") |
| 19 | load("//lib:new_sets.bzl", _new_sets = "sets") |
| 20 | load("//lib:partial.bzl", _partial = "partial") |
| 21 | load("//lib:paths.bzl", _paths = "paths") |
| 22 | load("//lib:selects.bzl", _selects = "selects") |
| 23 | load("//lib:sets.bzl", _sets = "sets") |
| 24 | load("//lib:shell.bzl", _shell = "shell") |
| 25 | load("//lib:structs.bzl", _structs = "structs") |
| 26 | load("//lib:types.bzl", _types = "types") |
Thomas Van Lenten | e5203c0 | 2018-06-12 13:09:57 -0400 | [diff] [blame] | 27 | load("//lib:unittest.bzl", _asserts = "asserts", _unittest = "unittest") |
Thomas Van Lenten | 8c575e7 | 2018-11-26 17:31:29 -0500 | [diff] [blame] | 28 | load("//lib:versions.bzl", _versions = "versions") |
Thomas Van Lenten | 2d356cf | 2018-04-26 12:08:01 -0400 | [diff] [blame] | 29 | |
Thomas Van Lenten | d7c5518 | 2018-11-21 13:04:25 -0500 | [diff] [blame] | 30 | print( |
| 31 | "WARNING: lib.bzl is deprecated and will go away in the future, please" + |
| 32 | " directly load the bzl file(s) of the module(s) needed as it is more" + |
| 33 | " efficient.", |
| 34 | ) |
| 35 | |
Thomas Van Lenten | 2d356cf | 2018-04-26 12:08:01 -0400 | [diff] [blame] | 36 | collections = _collections |
| 37 | dicts = _dicts |
| 38 | new_sets = _new_sets |
| 39 | partial = _partial |
| 40 | paths = _paths |
| 41 | selects = _selects |
| 42 | sets = _sets |
| 43 | shell = _shell |
| 44 | structs = _structs |
Taras Tsugrii | b09d5d4 | 2018-05-08 15:13:31 -0700 | [diff] [blame] | 45 | types = _types |
Thomas Van Lenten | 2d356cf | 2018-04-26 12:08:01 -0400 | [diff] [blame] | 46 | versions = _versions |
| 47 | |
| 48 | asserts = _asserts |
| 49 | unittest = _unittest |