summaryrefslogtreecommitdiff
path: root/src/android/jpeg/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/jpeg/meson.build')
-rw-r--r--src/android/jpeg/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/android/jpeg/meson.build b/src/android/jpeg/meson.build
index 08397a87..3402e614 100644
--- a/src/android/jpeg/meson.build
+++ b/src/android/jpeg/meson.build
@@ -6,3 +6,9 @@ android_hal_sources += files([
'post_processor_jpeg.cpp',
'thumbnailer.cpp'
])
+
+platform = get_option('android_platform')
+if platform == 'cros'
+ android_hal_sources += files(['encoder_jea.cpp'])
+ android_deps += [dependency('libcros_camera')]
+endif