[PATCH 0/2] Add CrOS into enum LoggingTarget

Harvey Yang chenghaoyang at chromium.org
Mon Oct 14 10:13:53 CEST 2024


Hi folks,

As CrOS needs log both for stderr and syslog, we need another value in
enum LoggingTarget. This series of patches adds logTargetCros.

I believe there are quite some approaches to fulfill the requirement.
Please take a look, thanks.

This passes gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1289467

BR,
Harvey

Han-Lin Chen (2):
  libcamera: add OS_CHROMEOS when the android_platform is cros
  libcamera: log: add logTargetCros for ChromeOS logs

 include/libcamera/logging.h |  1 +
 meson.build                 |  4 +++
 src/libcamera/base/log.cpp  | 61 +++++++++++++++++++++++++++++++------
 3 files changed, 57 insertions(+), 9 deletions(-)

-- 
2.47.0.rc1.288.g06298d1525-goog



More information about the libcamera-devel mailing list