Commit 60a356d6 authored by Wei Lee's avatar Wei Lee Committed by Commit Bot

CCA: Fix cca.py deploy function

The mojom_bindings_generator.py is refactored again by
https://crrev.com/c/2128966

And cause the deploy function of cca.py out of work.
This CL fixes the usage accordingly.

Bug: None
Test: cca deploy works again
Change-Id: I55003cf6317c400b1b82df8139d28d6111c0bef6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2142885Reviewed-by: default avatarShik Chen <shik@chromium.org>
Commit-Queue: Wei Lee <wtlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758152}
parent fcfd6906
...@@ -90,14 +90,17 @@ def build_mojom_bindings(mojom_bindings): ...@@ -90,14 +90,17 @@ def build_mojom_bindings(mojom_bindings):
] ]
run(precompile_cmd) run(precompile_cmd)
parser = os.path.join(
get_chromium_root(),
'mojo/public/tools/mojom/mojom_parser.py')
parse_cmd = [ parse_cmd = [
generator, parser,
'-o', '--output-root',
'build/mojo', 'build/mojo',
'--use_bundled_pylibs', '--input-root',
'parse',
'-d',
get_chromium_root(), get_chromium_root(),
'--mojoms',
] + list(mojom_paths) ] + list(mojom_paths)
run(parse_cmd) run(parse_cmd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment