| load("//dotnet:defs.bzl", "generate_devtools") |
| load("//dotnet:selenium-dotnet-version.bzl", "SUPPORTED_DEVTOOLS_VERSIONS") |
| |
| [ |
| generate_devtools( |
| name = "generate-{}".format(devtools_version), |
| out = "{}".format(devtools_version), |
| browser_protocol = "//common/devtools/chromium/{}:browser_protocol".format(devtools_version), |
| generator = "//third_party/dotnet/devtools/src/generator", |
| js_protocol = "//common/devtools/chromium/{}:js_protocol".format(devtools_version), |
| protocol_version = "{}".format(devtools_version), |
| templates = [ |
| "//third_party/dotnet/devtools/src/generator/Templates:command.hbs", |
| "//third_party/dotnet/devtools/src/generator/Templates:DevToolsSessionDomains.hbs", |
| "//third_party/dotnet/devtools/src/generator/Templates:domain.hbs", |
| "//third_party/dotnet/devtools/src/generator/Templates:event.hbs", |
| "//third_party/dotnet/devtools/src/generator/Templates:project.hbs", |
| "//third_party/dotnet/devtools/src/generator/Templates:type-enum.hbs", |
| "//third_party/dotnet/devtools/src/generator/Templates:type-hash.hbs", |
| "//third_party/dotnet/devtools/src/generator/Templates:type-object.hbs", |
| ], |
| visibility = ["//dotnet:__subpackages__"], |
| ) |
| for devtools_version in SUPPORTED_DEVTOOLS_VERSIONS |
| ] |