new file mode 100644
@@ -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'
+])
@@ -48,16 +48,13 @@ android_hal_sources = files([
'camera_ops.cpp',
'camera_request.cpp',
'camera_stream.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([
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> --- src/android/jpeg/meson.build | 8 ++++++++ src/android/meson.build | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 src/android/jpeg/meson.build