summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarvey Yang <chenghaoyang@chromium.org>2023-02-08 03:33:17 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-02-10 00:47:42 +0200
commit7a44534c4f377a847bd68d3f1c63ca0d15ce2548 (patch)
tree7f481d864b7b61d38fea8d8f05a9f365fa1587fc
parentb64fa1363c289936da145fb8faf474838b514854 (diff)
android: jpeg: Add meson.build in src/android/jpeg
To further control sources in jpeg to build based on the platform, this patch adds meson.build in src/android/jpeg directory. Signed-off-by: Harvey Yang <chenghaoyang@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Han-Lin Chen <hanlinchen@chromium.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/android/jpeg/meson.build8
-rw-r--r--src/android/meson.build5
2 files changed, 9 insertions, 4 deletions
diff --git a/src/android/jpeg/meson.build b/src/android/jpeg/meson.build
new file mode 100644
index 00000000..08397a87
--- /dev/null
+++ b/src/android/jpeg/meson.build
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: CC0-1.0
+
+android_hal_sources += files([
+ 'encoder_libjpeg.cpp',
+ 'exif.cpp',
+ 'post_processor_jpeg.cpp',
+ 'thumbnailer.cpp'
+])
diff --git a/src/android/meson.build b/src/android/meson.build
index b543c143..68646120 100644
--- a/src/android/meson.build
+++ b/src/android/meson.build
@@ -47,16 +47,13 @@ android_hal_sources = files([
'camera_request.cpp',
'camera_stream.cpp',
'hal_framebuffer.cpp',
- 'jpeg/encoder_libjpeg.cpp',
- 'jpeg/exif.cpp',
- 'jpeg/post_processor_jpeg.cpp',
- 'jpeg/thumbnailer.cpp',
'yuv/post_processor_yuv.cpp'
])
android_cpp_args = []
subdir('cros')
+subdir('jpeg')
subdir('mm')
android_camera_metadata_sources = files([