[libcamera-devel] [PATCH v1] utils: ipc: Add __init__.py for local module utils/ipc/generators

Han-Lin Chen hanlinchen at chromium.org
Wed Jan 26 19:18:07 CET 2022


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>
---
 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