[PATCH v5 09/18] libcamera: Move IPA headers to the libcamera_private dependency

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Aug 7 13:12:31 CEST 2024


Quoting Laurent Pinchart (2024-08-05 15:36:45)
> The IPA headers are listed in the libcamera_public and libcamera_private
> dependency objects, with the generated headers part of the private
> dependency object and the non-generated headers part of the public
> dependency object. As neither set of IPA headers are part of the public
> API, list them both in the libcamera_private dependency object.
> 


Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
>  src/libcamera/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
> index deffff356091..61a97c738ae8 100644
> --- a/src/libcamera/meson.build
> +++ b/src/libcamera/meson.build
> @@ -207,7 +207,6 @@ libcamera = shared_library('libcamera',
>                             dependencies : libcamera_deps)
>  
>  libcamera_public = declare_dependency(sources : [
> -                                          libcamera_ipa_headers,
>                                            libcamera_public_headers,
>                                        ],
>                                        include_directories : libcamera_includes,
> @@ -216,6 +215,7 @@ libcamera_public = declare_dependency(sources : [
>  
>  # Internal dependency for components and plugins which can use private APIs
>  libcamera_private = declare_dependency(sources : [
> +                                           libcamera_ipa_headers,
>                                             libcamera_generated_ipa_headers,
>                                         ],
>                                         dependencies : [
> -- 
> Regards,
> 
> Laurent Pinchart
>


More information about the libcamera-devel mailing list