diff options
Diffstat (limited to 'subprojects/packagefiles')
-rw-r--r-- | subprojects/packagefiles/vndk/meson.build | 26 |
1 files changed, 26 insertions, 0 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) |