diff options
author | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2023-10-13 10:45:27 +0200 |
---|---|---|
committer | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2023-10-13 16:31:13 +0200 |
commit | 44fda62974569aac0fb33592b6482bd52a43933c (patch) | |
tree | 9ef84e41580e012d2c8cfbf7e6792a5774c7e89a | |
parent | f1d28c9da38a5fd8b83a41ee14e814f589c7517d (diff) |
add yuv, exif, jpeg
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
-rw-r--r-- | subprojects/packagefiles/vndk/meson.build | 26 | ||||
-rw-r--r-- | subprojects/vndk.wrap | 2 |
2 files changed, 27 insertions, 1 deletions
diff --git a/subprojects/packagefiles/vndk/meson.build b/subprojects/packagefiles/vndk/meson.build index 9814b27b..1d784731 100644 --- a/subprojects/packagefiles/vndk/meson.build +++ b/subprojects/packagefiles/vndk/meson.build @@ -52,3 +52,29 @@ vndk_libcpp_dep = declare_dependency( dependencies : deps_cpp, include_directories : include_directories(include_base / 'external/libcxx/include')) meson.override_dependency('cpp_stdlib', vndk_libcpp_dep) + +# TODO: add libexif, libjpeg and libyuv + +libexif_dep = declare_dependency( + dependencies : [ + cxx.find_library('exif', dirs : prebuild_libraries), + libutils_dep, + ], + include_directories : include_directories(include_base / 'external/libexif/')) +meson.override_dependency('libexif', libexif_dep) + +libjpeg_dep = declare_dependency( + dependencies : [ + cxx.find_library('jpeg', dirs : prebuild_libraries), + libutils_dep, + ], + include_directories : include_directories(include_base / 'external/libjpeg-turbo/')) +meson.override_dependency('libjpeg', libjpeg_dep) + +libyuv_dep = declare_dependency( + dependencies : [ + cxx.find_library('yuv', dirs : prebuild_libraries), + libutils_dep, + ], + include_directories : include_directories(include_base / 'external/libyuv/files/include')) +meson.override_dependency('libyuv', libyuv_dep) diff --git a/subprojects/vndk.wrap b/subprojects/vndk.wrap index 0a70c1b0..3393de1d 100644 --- a/subprojects/vndk.wrap +++ b/subprojects/vndk.wrap @@ -9,4 +9,4 @@ depth = 1 patch_directory = vndk [provide] -dependency_names = libhardware, libui, vndk_libcpp +dependency_names = libhardware, libui, vndk_libcpp, libexif, libjpeg, libyuv |