[libcamera-devel] [PATCH v1] utils: ipc: Add __init__.py for local module utils/ipc/generators
paul.elder at ideasonboard.com
paul.elder at ideasonboard.com
Thu Jan 27 04:55:06 CET 2022
Hi Han-Lin,
On Thu, Jan 27, 2022 at 02:18:07AM +0800, Han-Lin Chen wrote:
> It's to fix build errors with mojom in ChromeOS chroot. The reason is that
> ChromeOS recently moves native mojom generators module into site-packages,
> which has higher import precedence than the local namespace package and shadows
> the local package of the same. Add __init__.py to make it an explicit package
> to avoid shadowing.
>
> Signed-off-by: Han-Lin Chen <hanlinchen at chromium.org>
Reviewed-by: Paul ELder <paul.elder at ideasonboard.com>
> ---
> utils/ipc/generators/__init__.py | 0
> 1 file changed, 0 insertions(+), 0 deletions(-)
> create mode 100644 utils/ipc/generators/__init__.py
>
> diff --git a/utils/ipc/generators/__init__.py b/utils/ipc/generators/__init__.py
> new file mode 100644
> index 00000000..e69de29b
> --
> 2.35.0.rc0.227.g00780c9af4-goog
>
More information about the libcamera-devel
mailing list