"Fossies" - the Fresh Open Source Software Archive

Member "selenium-selenium-4.8.1/javascript/webdriver/BUILD.bazel" (17 Feb 2023, 1644 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_deps", "closure_js_library")
    2 load("//javascript:defs.bzl", "closure_test_suite")
    3 
    4 closure_js_library(
    5     name = "http",
    6     srcs = glob([
    7         "capabilities.js",
    8         "command.js",
    9         "http/*.js",
   10         "logging.js",
   11         "session.js",
   12     ]),
   13     suppress = [
   14         "JSC_HIDDEN_SUPERCLASS_PROPERTY",
   15         "JSC_IMPLICITLY_NULLABLE_JSDOC",
   16         "JSC_MISSING_CONST_PROPERTY",
   17         "JSC_UNKNOWN_EXPR_TYPE",
   18         "JSC_USE_OF_GOOG_PROVIDE",
   19     ],
   20     visibility = ["//javascript/remote:__pkg__"],
   21     deps = [
   22         "//javascript/atoms:errors",
   23         "@io_bazel_rules_closure//closure/library",
   24     ],
   25 )
   26 
   27 closure_js_library(
   28     name = "key",
   29     srcs = ["key.js"],
   30     suppress = [
   31         "JSC_USE_OF_GOOG_PROVIDE",
   32     ],
   33     visibility = ["//javascript:__subpackages__"],
   34 )
   35 
   36 closure_js_library(
   37     name = "all_js_for_testing",
   38     testonly = 1,
   39     srcs = glob(["**/*.js"]),
   40     suppress = [
   41         "JSC_USE_OF_GOOG_PROVIDE",
   42     ],
   43     visibility = ["//javascript:__pkg__"],
   44     deps = ["@io_bazel_rules_closure//closure/library"],
   45 )
   46 
   47 filegroup(
   48     name = "all_files",
   49     testonly = 1,
   50     srcs = glob(
   51         ["**/*"],
   52         exclude = [
   53             "build.desc",
   54         ],
   55     ),
   56 )
   57 
   58 closure_js_deps(
   59     name = "deps",
   60     testonly = 1,
   61     deps = [
   62         ":all_js_for_testing",
   63         "//javascript/webdriver/atoms:all_js_for_testing",
   64     ],
   65 )
   66 
   67 closure_test_suite(
   68     name = "test",
   69     data = [
   70         ":all_files",
   71         ":deps",
   72         "//javascript/atoms:deps",
   73         "//javascript/webdriver/atoms/inject:deps",
   74     ],
   75 )