[LCPP] introduce generate_element_locator_binary_proto.py
This CL introduces generate_element_locator_binary_proto.py, a python
tool that converts a given text proto (asciipb) to wire format proto.
The tool is used to generate wire format ElementLocator proto used in
web_tests added in subsequent CLs.
This CL also adds a new GN action_foreach element_locator_test_protobuf
that invokes the tool. This is wired up to the top-level build target
`blink_web_tests_support_data` so the wire protos are built
automatically before running the web_tests.
Bug: 1419756
Change-Id: If3b8120004b4032588cb3f30e2c7657192c3bcc3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4680341
Reviewed-by: Takuto Ikuta <[email protected]>
Commit-Queue: Kouhei Ueno <[email protected]>
Reviewed-by: Kent Tamura <[email protected]>
Reviewed-by: Yoshisato Yanagisawa <[email protected]>
Reviewed-by: Shunya Shishido <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1169101}
diff --git a/BUILD.gn b/BUILD.gn
index 79cc0c5..acd08b3 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1176,7 +1176,7 @@
"//third_party/blink/public:blink_devtools_frontend_resources_files",
"//third_party/blink/public:blink_devtools_inspector_resources",
"//third_party/blink/public/mojom:mojom_platform_js_data_deps",
- "//third_party/blink/renderer/core:js_files_for_form_controls_web_tests",
+ "//third_party/blink/renderer/core:gen_files_for_web_tests",
"//third_party/catapult/third_party/typ",
"//third_party/hyphenation-patterns:test_data",
"//third_party/mesa_headers",