diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-04-03 22:10:12 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-04 03:00:01 +0300 |
commit | 185574b741f0eca6c6225f4dec6be847aa73738f (patch) | |
tree | 1fa15fbd02b3d36b7c3ca61a5369021b362cc5f1 /test/utils.cpp | |
parent | cc0dc7f611f86271382b654e3248e43bc195cc45 (diff) |
android: Define OS_CHROMEOS macro if android_platform=cros
Android Camera HAL 3 API used in ChromeOS has a ChromeOS own
extension, for example, crop_rotate_scale_degrees in
camera3_stream. As those extensions are not available on Android
platforms, introduce a OS_CHROMEOS macro that can be used to
compile CrOS-specific code conditionally. The macro is defined
if and only if android_platform is 'cros'.
Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/utils.cpp')
0 files changed, 0 insertions, 0 deletions