{"id":18120,"url":"https://patchwork.libcamera.org/api/1.1/patches/18120/?format=json","web_url":"https://patchwork.libcamera.org/patch/18120/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20230116002808.16014-4-laurent.pinchart@ideasonboard.com>","date":"2023-01-16T00:28:03","name":"[libcamera-devel,v9,3/8] android: jpeg: Add meson.build in src/android/jpeg","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"e8647f6f1bb26a7d08e9bebe5ee6825872101d51","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/18120/mbox/","series":[{"id":3712,"url":"https://patchwork.libcamera.org/api/1.1/series/3712/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3712","date":"2023-01-16T00:28:00","name":"Add CrOS JEA implementation","version":9,"mbox":"https://patchwork.libcamera.org/series/3712/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18120/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18120/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 22B19BD87C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 16 Jan 2023 00:28:16 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D95D7625E3;\n\tMon, 16 Jan 2023 01:28:15 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 14FF6625E3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 16 Jan 2023 01:28:13 +0100 (CET)","from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi\n\t[213.243.189.158])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 8F61E997;\n\tMon, 16 Jan 2023 01:28:12 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1673828895;\n\tbh=BH0qp987lahQks+3+NQpZk6O5lMQ5d+bavnVhVIkEBo=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=JUn0oFHR/DjOgwglG+teek4C6k81R5W1BzxhgxrX9qCGIUPgh6rhDp/1sflvyb6Aa\n\tteK0ePzj2/zKHgzOQHdZOhDQRkNF3Goo+ttLKNhmywEBfmXQQorjJaMU1XbUTnfIQN\n\t/W0YGDr9OfY1wizpJHMvj+XnVJwHzfh75VlfAIQIf4aAvdbVtYbOvwFFveV6BO4/Bc\n\thy6kyWa6SkfbnaKhaivs5Cp2EtYi8LrNz7dqNLunQ8rlSkoI0Q5aNntZRz525fRt+q\n\t6tWAdUX1ciAbJyEvFB+X6fu2ea5ZoBTt8daQjPYlCeAH8JMUynLFURx9DMLd66QYco\n\tDyfraGKH8K7Ag==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1673828892;\n\tbh=BH0qp987lahQks+3+NQpZk6O5lMQ5d+bavnVhVIkEBo=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=vUD996RKy6mowft+d40nodzk9xCw5M4FkSPrTWn+JKr/vyYaJb/pumUmOlEZnGOhU\n\tw/Z/CXEAAwPGx4RfCTaK6C9xDDqzOPlUQEsHvtUFzkyMUINRqoGbL7cbNs+anBQS3B\n\th2Z8zwjMHfuieeKuZYOv9bxHoLjbXyTbCaw49tMw="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"vUD996RK\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 16 Jan 2023 02:28:03 +0200","Message-Id":"<20230116002808.16014-4-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.38.2","In-Reply-To":"<20230116002808.16014-1-laurent.pinchart@ideasonboard.com>","References":"<20230116002808.16014-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v9 3/8] android: jpeg: Add meson.build in\n\tsrc/android/jpeg","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>","From":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Cc":"Harvey Yang <chenghaoyang@chromium.org>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"From: Harvey Yang <chenghaoyang@chromium.org>\n\nTo further control sources in jpeg to build based on the platform, this\npatch adds meson.build in src/android/jpeg directory.\n\nSigned-off-by: Harvey Yang <chenghaoyang@chromium.org>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nReviewed-by: Han-Lin Chen <hanlinchen@chromium.org>\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/android/jpeg/meson.build | 8 ++++++++\n src/android/meson.build      | 5 +----\n 2 files changed, 9 insertions(+), 4 deletions(-)\n create mode 100644 src/android/jpeg/meson.build","diff":"diff --git a/src/android/jpeg/meson.build b/src/android/jpeg/meson.build\nnew file mode 100644\nindex 000000000000..08397a87bc46\n--- /dev/null\n+++ b/src/android/jpeg/meson.build\n@@ -0,0 +1,8 @@\n+# SPDX-License-Identifier: CC0-1.0\n+\n+android_hal_sources += files([\n+    'encoder_libjpeg.cpp',\n+    'exif.cpp',\n+    'post_processor_jpeg.cpp',\n+    'thumbnailer.cpp'\n+])\ndiff --git a/src/android/meson.build b/src/android/meson.build\nindex b543c14371aa..68646120a978 100644\n--- a/src/android/meson.build\n+++ b/src/android/meson.build\n@@ -47,16 +47,13 @@ android_hal_sources = files([\n     'camera_request.cpp',\n     'camera_stream.cpp',\n     'hal_framebuffer.cpp',\n-    'jpeg/encoder_libjpeg.cpp',\n-    'jpeg/exif.cpp',\n-    'jpeg/post_processor_jpeg.cpp',\n-    'jpeg/thumbnailer.cpp',\n     'yuv/post_processor_yuv.cpp'\n ])\n \n android_cpp_args = []\n \n subdir('cros')\n+subdir('jpeg')\n subdir('mm')\n \n android_camera_metadata_sources = files([\n","prefixes":["libcamera-devel","v9","3/8"]}