From patchwork Wed Jan 26 18:18:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanlin Chen X-Patchwork-Id: 15295 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 07D7EBF415 for ; Wed, 26 Jan 2022 18:18:33 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 51D11609AD; Wed, 26 Jan 2022 19:18:32 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="SEXpX0C3"; dkim-atps=neutral Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B5207609A9 for ; Wed, 26 Jan 2022 19:18:30 +0100 (CET) Received: by mail-pl1-x62b.google.com with SMTP id b15so335765plg.3 for ; Wed, 26 Jan 2022 10:18:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CT8twPgD3Ou1XjUBB16aKywj5dkvR6Huv2fenJklZv0=; b=SEXpX0C35bdRsDmDsD8fBpsoWqvI7ArKcc1t86PO9L2mO30YvbQMWgLqzhbcLNs3DV L0g5GGkmzhEOTRO4DznrlveZffp/RHfeHttsfIBHsHCi/vBxmMOpi8tJH/bkHFSVz+3w M0X5Q6D9v0fTGwj4nwa0uBAX8Z4opy7B7co04= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CT8twPgD3Ou1XjUBB16aKywj5dkvR6Huv2fenJklZv0=; b=EmyfYU01IbAF5FkrbO05HhvztzaYa+AjSaJOGQoaC+i/Osr3unpL/fo/CrGcOCX64s DDNTc4LthTaMsarRWEBdtOCPgpmqrsYVpttgIvzLMgIFlvFa8TfrwO9yYGcZXV0JQeO3 pNYeel+DoG3wgByd45bdrnLonQe0GrHa06cL2sH5symo0WaQlFjYB53hAX9oI5Vk7Z8I cjrKVkcPe0RFE/YWsNCe7o8iERj0gYxd6eph0I0JLs+h5K4W0ukzYFbQKM88+bVCMWJn nadruaXllNkXzBWoh2xf0bQvvuw76fujO7aS/H2WzdoAIcJ3zPEjIwfJZ9+GLkRTBMGn BS5g== X-Gm-Message-State: AOAM532OFqObNULe8VZWTGZqGPKQng8nVcRoPY5Ok6MotjimjpmkVfLD TKZns4ZmWEIgb+21Wvxlai/pgjiUbXAwyg== X-Google-Smtp-Source: ABdhPJzXEpfZKK9zh19rJf6Kg8ZBDkaZZpJm48rBDHja+n2UKkAm737kWcaY5Fj6YDm+QdnEdUR0QA== X-Received: by 2002:a17:902:e5c3:b0:14b:4528:c968 with SMTP id u3-20020a170902e5c300b0014b4528c968mr17013675plf.41.1643221108750; Wed, 26 Jan 2022 10:18:28 -0800 (PST) Received: from localhost ([2401:fa00:1:10:63eb:d0c6:df10:951a]) by smtp.gmail.com with UTF8SMTPSA id r12sm14109774pgn.6.2022.01.26.10.18.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Jan 2022 10:18:28 -0800 (PST) From: Han-Lin Chen To: libcamera-devel@lists.libcamera.org Date: Thu, 27 Jan 2022 02:18:07 +0800 Message-Id: <20220126181807.3022258-1-hanlinchen@chromium.org> X-Mailer: git-send-email 2.35.0.rc0.227.g00780c9af4-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1] utils: ipc: Add __init__.py for local module utils/ipc/generators X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 Tested-by: Laurent Pinchart Reviewed-by: Laurent Pinchart Reviewed-by: Paul ELder --- 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