[PATCH 1/2] libcamera: add OS_CHROMEOS when the android_platform is cros
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Oct 15 12:22:02 CEST 2024
Hi Harvey, Han-Lin,
Thank you for the patch.
On Mon, Oct 14, 2024 at 08:13:54AM +0000, Harvey Yang wrote:
> 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
This duplicates a logic that defines the same macro in
src/android/cros/meson.build.
> +
> c_arguments += common_arguments
> cpp_arguments += common_arguments
>
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list