mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-12-10 16:24:37 +03:00
build: switch over to new rpc generator code
This replaces use of 'rpcgen' with our new python impl of the RPC code generator. Since the new impl generates code that matches our style/coding rules, and does not contain long standing bugs, we no longer need to post-process the output. Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
subdir('rpcgen')
|
||||
|
||||
if pytest_prog.found()
|
||||
subdir('tests')
|
||||
|
||||
@@ -9,3 +11,6 @@ if pytest_prog.found()
|
||||
workdir: meson.current_source_dir(),
|
||||
)
|
||||
endif
|
||||
|
||||
rpcgen_prog = find_program('main.py')
|
||||
rpcgen_src += files(['main.py'])
|
||||
|
||||
7
scripts/rpcgen/rpcgen/meson.build
Normal file
7
scripts/rpcgen/rpcgen/meson.build
Normal file
@@ -0,0 +1,7 @@
|
||||
rpcgen_src = files([
|
||||
'ast.py',
|
||||
'lexer.py',
|
||||
'generator.py',
|
||||
'parser.py',
|
||||
'visitor.py',
|
||||
])
|
||||
Reference in New Issue
Block a user