[libcamera-devel] [PATCH v2 4/5] meson: ipa: Pass core.mojom to the docs generator
Umang Jain
umang.jain at ideasonboard.com
Wed May 26 15:30:32 CEST 2021
Hi Paul
On 5/25/21 3:22 PM, 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 729483ab..81fb69f0 100644
> --- a/include/libcamera/ipa/meson.build
> +++ b/include/libcamera/ipa/meson.build
> @@ -145,3 +145,6 @@ foreach file : ipa_mojom_files
> endforeach
>
> ipa_mojom_files = files(ipa_mojom_files)
> +
> +# Pass this to the documentation generator in src/libcamera/ipa
> +ipa_mojom_files += files(['core.mojom'])
nitpick: I would setup this as:
ipa_mojom_files += files([
'core.mojom',
])
Reviewed-by: Umang Jain <umang.jain at ideasonboard.com>
More information about the libcamera-devel
mailing list