github.com/bazelbuild/rules_webtesting@v0.2.0/web/internal/BUILD.bazel (about)

     1  # Copyright 2016 Google Inc.
     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  ################################################################################
    16  #
    17  load("@bazel_skylib//:skylark_library.bzl", "skylark_library")
    18  
    19  package(
    20      default_testonly = True,
    21      default_visibility = ["//web:__pkg__"],
    22  )
    23  
    24  licenses(["notice"])  # Apache 2.0
    25  
    26  exports_files(
    27      glob([
    28          "*.sh",
    29          "*.sh.template",
    30      ]),
    31      visibility = ["//visibility:public"],
    32  )
    33  
    34  skylark_library(
    35      name = "browser",
    36      srcs = ["browser.bzl"],
    37      deps = [
    38          ":metadata",
    39          ":provider",
    40          ":runfiles",
    41      ],
    42  )
    43  
    44  skylark_library(
    45      name = "collections",
    46      srcs = ["collections.bzl"],
    47  )
    48  
    49  skylark_library(
    50      name = "constants",
    51      srcs = ["constants.bzl"],
    52  )
    53  
    54  skylark_library(
    55      name = "files",
    56      srcs = ["files.bzl"],
    57  )
    58  
    59  skylark_library(
    60      name = "java_import_external",
    61      srcs = ["java_import_external.bzl"],
    62  )
    63  
    64  skylark_library(
    65      name = "metadata",
    66      srcs = ["metadata.bzl"],
    67      deps = [":files"],
    68  )
    69  
    70  skylark_library(
    71      name = "platform_http_file",
    72      srcs = ["platform_http_file.bzl"],
    73  )
    74  
    75  skylark_library(
    76      name = "provider",
    77      srcs = ["provider.bzl"],
    78  )
    79  
    80  skylark_library(
    81      name = "runfiles",
    82      srcs = ["runfiles.bzl"],
    83  )
    84  
    85  skylark_library(
    86      name = "web_test",
    87      srcs = ["web_test.bzl"],
    88      deps = [
    89          ":collections",
    90          ":files",
    91          ":metadata",
    92          ":provider",
    93          ":runfiles",
    94      ],
    95  )
    96  
    97  skylark_library(
    98      name = "web_test_archive",
    99      srcs = ["web_test_archive.bzl"],
   100      deps = [
   101          ":files",
   102          ":metadata",
   103          ":provider",
   104          ":runfiles",
   105      ],
   106  )
   107  
   108  skylark_library(
   109      name = "web_test_config",
   110      srcs = ["web_test_config.bzl"],
   111      deps = [
   112          ":metadata",
   113          ":provider",
   114      ],
   115  )
   116  
   117  skylark_library(
   118      name = "web_test_files",
   119      srcs = ["web_test_files.bzl"],
   120      deps = [
   121          ":metadata",
   122          ":provider",
   123      ],
   124  )
   125  
   126  skylark_library(
   127      name = "web_test_named_executable",
   128      srcs = ["web_test_named_executable.bzl"],
   129      deps = [
   130          ":metadata",
   131          ":provider",
   132          ":runfiles",
   133      ],
   134  )
   135  
   136  skylark_library(
   137      name = "web_test_named_file",
   138      srcs = ["web_test_named_file.bzl"],
   139      deps = [
   140          ":metadata",
   141          ":provider",
   142      ],
   143  )
   144  
   145  skylark_library(
   146      name = "wrap_web_test_suite",
   147      srcs = ["wrap_web_test_suite.bzl"],
   148      deps = [
   149          ":constants",
   150          "//web",
   151      ],
   152  )