Skip to content

Commit

Permalink
Mojo TypeScript Bindings: Fork the JS generator
Browse files Browse the repository at this point in the history
Fork the WebUI module portion of the JS generator and template files
from the JS lite module path.

Bug: 1002978
Change-Id: Ia9f694a82e876f75420d0895bb19f3e34c7d5282
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4005580
Reviewed-by: Ken Rockot <rockot@google.com>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073641}
  • Loading branch information
Rebekah Potter authored and Chromium LUCI CQ committed Nov 18, 2022
1 parent b44e01f commit 735cee8
Show file tree
Hide file tree
Showing 7 changed files with 1,067 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mojo/public/tools/bindings/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ action("precompile_templates") {
"$mojom_generator_root/generators/mojolpm_templates/mojolpm_macros.tmpl",
"$mojom_generator_root/generators/mojolpm_templates/mojolpm_to_proto_macros.tmpl",
"$mojom_generator_root/generators/mojolpm_templates/mojolpm_traits_specialization_macros.tmpl",
"$mojom_generator_root/generators/ts_templates/enum_definition.tmpl",
"$mojom_generator_root/generators/ts_templates/interface_definition.tmpl",
"$mojom_generator_root/generators/ts_templates/module_definition.tmpl",
"$mojom_generator_root/generators/ts_templates/struct_definition.tmpl",
"$mojom_generator_root/generators/ts_templates/union_definition.tmpl",
]
script = mojom_generator_script

Expand Down

0 comments on commit 735cee8

Please sign in to comment.