From bd06b648fb1c7b0a137f23f15cd5e72c5edd881a Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Mon, 24 May 2021 16:46:42 +0900 Subject: utils: ipc: Add script to extract doxygen docs from mojom files Add a script to extract doxygen documentation comments from mojom files. It matches based on ^\/\*\*$ for start of block and ^ \*\/$ for end of block, and simply copies the comments to the output file along with a header and the libcamera namespace. Also add it to the meson file so it is usable by other meson files. Signed-off-by: Paul Elder Acked-by: Umang Jain Reviewed-by: Laurent Pinchart --- utils/ipc/meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/ipc/meson.build') diff --git a/utils/ipc/meson.build b/utils/ipc/meson.build index 4a41b9c1..973a5417 100644 --- a/utils/ipc/meson.build +++ b/utils/ipc/meson.build @@ -8,6 +8,8 @@ mojom_parser = find_program('./parser.py') mojom_generator = find_program('./generate.py') +mojom_docs_extractor = find_program('./extract-docs.py') + mojom_templates = custom_target('mojom_templates', input : mojom_template_files, output : 'libcamera_templates.zip', -- cgit v1.2.1