github.com/bazelbuild/rules_webtesting@v0.2.0/web/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(":web.bzl", "web_test_config")
    18  load("@bazel_skylib//:skylark_library.bzl", "skylark_library")
    19  
    20  package(
    21      default_testonly = True,
    22      default_visibility = ["//visibility:public"],
    23  )
    24  
    25  licenses(["notice"])  # Apache 2.0
    26  
    27  web_test_config(
    28      name = "default_config",
    29      visibility = ["//visibility:public"],
    30  )
    31  
    32  skylark_library(
    33      name = "go",
    34      srcs = ["go.bzl"],
    35      deps = [
    36          "//web/internal:wrap_web_test_suite",
    37          # should depend on Go build rules.
    38      ],
    39  )
    40  
    41  skylark_library(
    42      name = "java",
    43      srcs = ["java.bzl"],
    44      deps = ["//web/internal:wrap_web_test_suite"],
    45  )
    46  
    47  skylark_library(
    48      name = "py",
    49      srcs = ["py.bzl"],
    50      deps = ["//web/internal:wrap_web_test_suite"],
    51  )
    52  
    53  skylark_library(
    54      name = "repositories",
    55      srcs = ["repositories.bzl"],
    56      deps = [
    57          "//web/internal:java_import_external",
    58          "//web/internal:platform_http_file",
    59          "@bazel_skylib//:lib",
    60          # should depend on Go build rules.
    61      ],
    62  )
    63  
    64  skylark_library(
    65      name = "scala",
    66      srcs = ["scala.bzl"],
    67      deps = [
    68          "//web/internal:wrap_web_test_suite",
    69          # should depend on Scala build rules.
    70      ],
    71  )
    72  
    73  skylark_library(
    74      name = "web",
    75      srcs = ["web.bzl"],
    76      deps = [
    77          "//web/internal:browser",
    78          "//web/internal:collections",
    79          "//web/internal:constants",
    80          "//web/internal:web_test",
    81          "//web/internal:web_test_archive",
    82          "//web/internal:web_test_config",
    83          "//web/internal:web_test_files",
    84          "//web/internal:web_test_named_executable",
    85          "//web/internal:web_test_named_file",
    86      ],
    87  )