[libcamera-devel] [RFC PATCH 5/6] meson: ipa: Pass core.mojom to the docs generator

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon May 24 15:20:37 CEST 2021


Hi Paul,

Thank you for the patch.

On Mon, May 24, 2021 at 05:40:28PM +0900, Paul Elder wrote:
> We don't want to generate the same functional files for core.mojom as
> the other mojom files, but we do want to generate the documentation cpp
> files. Add core.mojom to the mojom files list after the main generation
> is complete, so that the documentation generator can pick it up.
> 
> Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> ---
>  include/libcamera/ipa/meson.build | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/libcamera/ipa/meson.build b/include/libcamera/ipa/meson.build
> index c7fa5cd7..fc791b2f 100644
> --- a/include/libcamera/ipa/meson.build
> +++ b/include/libcamera/ipa/meson.build
> @@ -143,3 +143,6 @@ foreach file : ipa_mojom_files
>  
>      libcamera_generated_ipa_headers += [header, serializer, proxy_header]
>  endforeach
> +
> +# Pass this to the documentation generator in src/libcamera/ipa
> +ipa_mojom_files += files(['core.mojom'])

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list