From patchwork Mon Oct 14 13:18:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 21618 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 EE819C326C for ; Mon, 14 Oct 2024 14:00:51 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BA9456537E; Mon, 14 Oct 2024 16:00:50 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="LT2GxNlf"; dkim-atps=neutral Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DA93063525 for ; Mon, 14 Oct 2024 16:00:46 +0200 (CEST) Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2e2eba31d3aso2170990a91.2 for ; Mon, 14 Oct 2024 07:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1728914445; x=1729519245; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I2XTRpagYPwY3/n5+iK/M2w7DB/qmeDYNyNekz8ML0g=; b=LT2GxNlff089vDxiZ9FPXiBKIg0qN4VGtqa9g1nsBFzta1v/Uk4DrVqfWvmCuvt4yq IVL8c56PeOhEfRxRgA3i5kccJ6otlL8DB0A4LdI+1vSJiYw30+nnkebOOmGcK/75wCy9 e7q0pg7hsws2gS7zJSPaltFf5S2C4GoJKwbJ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728914445; x=1729519245; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I2XTRpagYPwY3/n5+iK/M2w7DB/qmeDYNyNekz8ML0g=; b=OXjxblAEYx675sk+hxXDPo6fUWtoJemU91+qbLeq0NB6bPNzfBz59EbbDAHMuhtK8m xoM6N1QpPSKR/SgB8agUmjHM5JPcSpsHpaH2Onl6cCagreazdr+hc2Kiq73/WHDGMBD+ rfFMqkkxMkoVEym/o5jN/sQnKuTTurpOTkxwxpX+CEgaeaaiHs4RwOo+qqC48xaaybaq zgfHYbqQdCCWC0I1yL3+hj3skgygngTTsDCum6x0iS4hA+n3RPqi7l7Z/HdtlhdIcE6n OMs+zVG8CIAoF3ZPJMdZDN0smpZbcY5EPpXlytrUhzUC1nYxx4dI/ov/OQ5iO8o9nGCz yMLA== X-Gm-Message-State: AOJu0YyH3JOxsqzoXe12K3YBwRY3dUPQgRshB76t+X3o9/xazgwSZJG1 0tRuy4VXZb6TynJmwQZF1kn2nSlw3DS1j/xzVT9MGVY33mfj2evJ3L5dPRNykPvOEStKbdQO2uo = X-Google-Smtp-Source: AGHT+IG+qcvA9gJEwcNEI1UOnjh0QhhPIE+8iNgPho/IH3A8PVrWtQG/Fau/un3wSR+7rUxpgMKsqg== X-Received: by 2002:a17:90a:a00b:b0:2e2:ba35:356c with SMTP id 98e67ed59e1d1-2e2f0dc659emr13931962a91.39.1728914444950; Mon, 14 Oct 2024 07:00:44 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (199.211.81.34.bc.googleusercontent.com. [34.81.211.199]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e2bb093837sm10459215a91.4.2024.10.14.07.00.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 07:00:44 -0700 (PDT) From: Harvey Yang To: libcamera-devel@lists.libcamera.org Cc: Harvey Yang , Han-Lin Chen Subject: [PATCH 1/2] libcamera: android: include token only in cros_mojo_token.h Date: Mon, 14 Oct 2024 13:18:56 +0000 Message-ID: <20241014140038.1133270-2-chenghaoyang@chromium.org> X-Mailer: git-send-email 2.47.0.rc1.288.g06298d1525-goog In-Reply-To: <20241014140038.1133270-1-chenghaoyang@chromium.org> References: <20241014140038.1133270-1-chenghaoyang@chromium.org> MIME-Version: 1.0 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" To avoid unnecessary dependency, especially on libchrome base, include only `cros-camera/camera_mojo_channel_manager_token.h` in `cros_mojo_token.h`. Signed-off-by: Harvey Yang Co-developed-by: Han-Lin Chen Signed-off-by: Han-Lin Chen Reviewed-by: Laurent Pinchart --- src/android/cros_mojo_token.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/cros_mojo_token.h b/src/android/cros_mojo_token.h index d0baa80fc..fc57205a8 100644 --- a/src/android/cros_mojo_token.h +++ b/src/android/cros_mojo_token.h @@ -7,6 +7,6 @@ #pragma once -#include +#include inline cros::CameraMojoChannelManagerToken *gCrosMojoToken = nullptr;