Skip to content

Commit c1c4441

Browse files
committed
[dotnet] Move devtools generator into a specific project
1 parent d2ab626 commit c1c4441

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+11
-11
lines changed

dotnet/src/webdriver/cdp/BUILD.bazel

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ load("//dotnet:selenium-dotnet-version.bzl", "SUPPORTED_DEVTOOLS_VERSIONS")
66
name = "generate-{}".format(devtools_version),
77
out = "{}".format(devtools_version),
88
browser_protocol = "//common/devtools/chromium/{}:browser_protocol".format(devtools_version),
9-
generator = "//third_party/dotnet/devtools/src/generator",
9+
generator = "//third_party/dotnet/devtools/src/DevToolsGenerator",
1010
js_protocol = "//common/devtools/chromium/{}:js_protocol".format(devtools_version),
1111
protocol_version = "{}".format(devtools_version),
1212
templates = [
13-
"//third_party/dotnet/devtools/src/generator/Templates:command.hbs",
14-
"//third_party/dotnet/devtools/src/generator/Templates:DevToolsSessionDomains.hbs",
15-
"//third_party/dotnet/devtools/src/generator/Templates:domain.hbs",
16-
"//third_party/dotnet/devtools/src/generator/Templates:event.hbs",
17-
"//third_party/dotnet/devtools/src/generator/Templates:project.hbs",
18-
"//third_party/dotnet/devtools/src/generator/Templates:type-enum.hbs",
19-
"//third_party/dotnet/devtools/src/generator/Templates:type-hash.hbs",
20-
"//third_party/dotnet/devtools/src/generator/Templates:type-object.hbs",
13+
"//third_party/dotnet/devtools/src/DevToolsGenerator/Templates:command.hbs",
14+
"//third_party/dotnet/devtools/src/DevToolsGenerator/Templates:DevToolsSessionDomains.hbs",
15+
"//third_party/dotnet/devtools/src/DevToolsGenerator/Templates:domain.hbs",
16+
"//third_party/dotnet/devtools/src/DevToolsGenerator/Templates:event.hbs",
17+
"//third_party/dotnet/devtools/src/DevToolsGenerator/Templates:project.hbs",
18+
"//third_party/dotnet/devtools/src/DevToolsGenerator/Templates:type-enum.hbs",
19+
"//third_party/dotnet/devtools/src/DevToolsGenerator/Templates:type-hash.hbs",
20+
"//third_party/dotnet/devtools/src/DevToolsGenerator/Templates:type-object.hbs",
2121
],
2222
visibility = ["//dotnet:__subpackages__"],
2323
)

third_party/dotnet/devtools/DevToolsProtocolGenerator.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.30611.23
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToolsGenerator", "src\generator\DevToolsGenerator.csproj", "{E5D54A93-645D-4D0F-956F-C467208AD14F}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToolsGenerator", "src\DevToolsGenerator\DevToolsGenerator.csproj", "{E5D54A93-645D-4D0F-956F-C467208AD14F}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

third_party/dotnet/devtools/src/generator/BUILD.bazel renamed to third_party/dotnet/devtools/src/DevToolsGenerator/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
load("//dotnet:defs.bzl", "csharp_binary", "framework")
22

33
csharp_binary(
4-
name = "generator",
4+
name = "DevToolsGenerator",
55
srcs = glob(["**/*.cs"]),
66
nullable = "annotations",
77
# Used as a tool in our build, so just target one framework

0 commit comments

Comments
 (0)