"Fossies" - the Fresh Open Source Software Archive

Member "selenium-selenium-4.8.1/third_party/dotnet/devtools/src/generator/BUILD.bazel" (17 Feb 2023, 1438 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. See also the last Fossies "Diffs" side-by-side code changes report for "BUILD.bazel": 4.6.0_vs_4.7.0.

    1 load("//dotnet:defs.bzl", "csharp_executable", "generated_assembly_info")
    2 load(
    3     "//dotnet:selenium-dotnet-version.bzl",
    4     "ASSEMBLY_COMPANY",
    5     "ASSEMBLY_COPYRIGHT",
    6     "ASSEMBLY_INFORMATIONAL_VERSION",
    7     "ASSEMBLY_PRODUCT",
    8     "ASSEMBLY_VERSION",
    9 )
   10 
   11 generated_assembly_info(
   12     name = "assembly-info",
   13     company = ASSEMBLY_COMPANY,
   14     copyright = ASSEMBLY_COPYRIGHT,
   15     description = "Selenium DevTools Protocol Code Generator",
   16     informational_version = ASSEMBLY_INFORMATIONAL_VERSION,
   17     product = ASSEMBLY_PRODUCT,
   18     title = "Selenium DevTools Protocol Code Generator",
   19     version = ASSEMBLY_VERSION,
   20 )
   21 
   22 csharp_executable(
   23     name = "generator",
   24     srcs = glob([
   25         "*.cs",
   26         "CodeGen/**/*.cs",
   27         "Converters/**/*.cs",
   28         "ProtocolDefinition/**/*.cs",
   29     ]) + [":assembly-info"],
   30     out = "DevToolsGenerator",
   31     is_windows = select({
   32         "@bazel_tools//src/conditions:host_windows": True,
   33         "//conditions:default": False,
   34     }),
   35     target_frameworks = [
   36         "net6.0",
   37     ],
   38     visibility = ["//visibility:public"],
   39     deps = [
   40         "@commandlineparser//:CommandLine",
   41         "@dependencyinjection//:Microsoft.Extensions.DependencyInjection",
   42         "@dependencyinjectionabstractions//:Microsoft.Extensions.DependencyInjection.Abstractions",
   43         "@handlebars//:Handlebars",
   44         "@humanizer//:Humanizer",
   45         "@json.net//:Newtonsoft.Json",
   46     ],
   47 )