Patch Detail
Show a patch.
GET /api/patches/21610/?format=api
{ "id": 21610, "url": "https://patchwork.libcamera.org/api/patches/21610/?format=api", "web_url": "https://patchwork.libcamera.org/patch/21610/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20241014081738.772258-2-chenghaoyang@chromium.org>", "date": "2024-10-14T08:13:54", "name": "[1/2] libcamera: add OS_CHROMEOS when the android_platform is cros", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ba9fd8936a016634c6c56a6da066197222d3bd9f", "submitter": { "id": 117, "url": "https://patchwork.libcamera.org/api/people/117/?format=api", "name": "Cheng-Hao Yang", "email": "chenghaoyang@chromium.org" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/21610/mbox/", "series": [ { "id": 4694, "url": "https://patchwork.libcamera.org/api/series/4694/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4694", "date": "2024-10-14T08:13:53", "name": "Add CrOS into enum LoggingTarget", "version": 1, "mbox": "https://patchwork.libcamera.org/series/4694/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/21610/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/21610/checks/", "tags": {}, "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 61C42C32F4\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 14 Oct 2024 08:17:51 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 953486537F;\n\tMon, 14 Oct 2024 10:17:49 +0200 (CEST)", "from mail-pl1-x636.google.com (mail-pl1-x636.google.com\n\t[IPv6:2607:f8b0:4864:20::636])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4DCCE65369\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 14 Oct 2024 10:17:46 +0200 (CEST)", "by mail-pl1-x636.google.com with SMTP id\n\td9443c01a7336-20c803787abso26239795ad.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 14 Oct 2024 01:17:46 -0700 (PDT)", "from chenghaoyang-low.c.googlers.com.com\n\t(199.211.81.34.bc.googleusercontent.com. [34.81.211.199])\n\tby smtp.gmail.com with ESMTPSA id\n\td9443c01a7336-20c8c21da63sm61077735ad.235.2024.10.14.01.17.43\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 14 Oct 2024 01:17:44 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"QsIxnyRV\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=chromium.org; s=google; t=1728893864; x=1729498664;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=rxwiUBIEAfDRAwGvEPZptJCNsMniO4pLRE57r3qaf0E=;\n\tb=QsIxnyRVcNtxjunYaTfoTOKY4YZdtvJ/AI/idVOkxM6mGl1SbDErZ5/MlOHoVYfKMP\n\tffII0Mz4KtqMUUwkHjjvr97D+/XXhirwFaW3pQdLIiHS0E6vQ1ApSIZJhFUG5GUXqx9M\n\tiP3r5+c6WZQhAXHscsLJkafaFnIUeq2SdS5sk=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1728893864; x=1729498664;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=rxwiUBIEAfDRAwGvEPZptJCNsMniO4pLRE57r3qaf0E=;\n\tb=WpB8s2Htrpq6gcuFS8Qq23E9jA4qa+3A3HBowAOZluj+yxtL8weUB+jYdtXoa1vyZa\n\tAwWNLZud8koW51abU5ZYqWZGlqlcLMn8QRIk92oaUrBgprSTxu+0bI05e0N2TnILeFKz\n\tJ/y4AfJoF4T7ebIbixPuxsg72BFxXMULLdxnOh0nMO7eKt8TTzeEwtAs9vRViltcMteD\n\t1DZDINYsojgVFJyxsoFT2udY6R+dyPA6njGjx+Hmx6woR5HECDaxBTeMpiJDvqv2yaTz\n\ty55BRU7tp5k4+PA45gXJIZE39seH8SxGzx5JlZZrmR+rWxK7j67DJMkCkq1tp3o7ehDv\n\tO7ZA==", "X-Gm-Message-State": "AOJu0YxfJGhGbMZBBb1YurZG+4lwhA9i+7OANjL3fF/vw+EUiLczLk8g\n\tZMGZ2t5R3p/Cl9HkpXhpraKVzJCIBmigIRO8BLcAvBo5RIomQJ/TwjMqtBUBTP0FRSuuD36Sp4w\n\t=", "X-Google-Smtp-Source": "AGHT+IE9K35hC/DljqnGq8Vz9T4+TMC7TVxiydfejnsanpS5/Cauzw+jmsf50ezxNGBeWivn8Nvq9A==", "X-Received": "by 2002:a17:903:244d:b0:20c:da7c:6e8c with SMTP id\n\td9443c01a7336-20cda7c7273mr66249985ad.3.1728893864453; \n\tMon, 14 Oct 2024 01:17:44 -0700 (PDT)", "From": "Harvey Yang <chenghaoyang@chromium.org>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "Han-Lin Chen <hanlinchen@chromium.org>,\n\tHarvey Yang <chenghaoyang@chromium.org>", "Subject": "[PATCH 1/2] libcamera: add OS_CHROMEOS when the android_platform is\n\tcros", "Date": "Mon, 14 Oct 2024 08:13:54 +0000", "Message-ID": "<20241014081738.772258-2-chenghaoyang@chromium.org>", "X-Mailer": "git-send-email 2.47.0.rc1.288.g06298d1525-goog", "In-Reply-To": "<20241014081738.772258-1-chenghaoyang@chromium.org>", "References": "<20241014081738.772258-1-chenghaoyang@chromium.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "From: Han-Lin Chen <hanlinchen@chromium.org>\n\nAdd OS_CHROMEOS when the android_platform is cros.\n\nSigned-off-by: Han-Lin Chen <hanlinchen@chromium.org>\nCo-developed-by: Harvey Yang <chenghaoyang@chromium.org>\nSigned-off-by: Harvey Yang <chenghaoyang@chromium.org>\n---\n meson.build | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/meson.build b/meson.build\nindex 63e45465d..e28fa8599 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -184,6 +184,10 @@ if cc.has_argument('-Wno-c99-designator')\n ]\n endif\n \n+if get_option('android_platform') == 'cros'\n+ common_arguments += ['-DOS_CHROMEOS']\n+endif\n+\n c_arguments += common_arguments\n cpp_arguments += common_arguments\n \n", "prefixes": [ "1/2" ] }