[PATCH 1/2] libcamera: add OS_CHROMEOS when the android_platform is cros
Harvey Yang
chenghaoyang at chromium.org
Mon Oct 14 10:13:54 CEST 2024
From: Han-Lin Chen <hanlinchen at chromium.org>
Add OS_CHROMEOS when the android_platform is cros.
Signed-off-by: Han-Lin Chen <hanlinchen at chromium.org>
Co-developed-by: Harvey Yang <chenghaoyang at chromium.org>
Signed-off-by: Harvey Yang <chenghaoyang at chromium.org>
---
meson.build | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meson.build b/meson.build
index 63e45465d..e28fa8599 100644
--- a/meson.build
+++ b/meson.build
@@ -184,6 +184,10 @@ if cc.has_argument('-Wno-c99-designator')
]
endif
+if get_option('android_platform') == 'cros'
+ common_arguments += ['-DOS_CHROMEOS']
+endif
+
c_arguments += common_arguments
cpp_arguments += common_arguments
--
2.47.0.rc1.288.g06298d1525-goog
More information about the libcamera-devel
mailing list