[libcamera-devel] [PATCH v3 0/2] Add libyuv to subprojects and download_subprojects option

Hirokazu Honda hiroh at chromium.org
Wed Feb 3 07:51:26 CET 2021


The first patch adds libyuv to subprojects. It downloads the
libyuv directory to the subprojects directory and the code is
built with. When I tried building libcamera with the patch in
ChromiumOS built development, I noticed the wrap-based
download is prohibited. It is reasonable to avoid a network
issue. For such an environment, the meson option,
download_subprojects, is introduced in the second patch. If
it is false, the local library is used for the build.
Fortunately, ChromiumOS has the ebuild for libyuv library.

Hirokazu Honda (2):
  subprojects: Add libyuv and built if -Dandroid=enabled
  meson: Add download_subprojects option

 README.rst              |  2 +-
 meson.build             |  2 +-
 meson_options.txt       |  5 +++++
 src/android/meson.build | 21 +++++++++++++++++++++
 subprojects/.gitignore  |  1 +
 subprojects/libyuv.wrap |  4 ++++
 6 files changed, 33 insertions(+), 2 deletions(-)
 create mode 100644 subprojects/.gitignore
 create mode 100644 subprojects/libyuv.wrap

--
2.30.0.365.g02bc693789-goog


More information about the libcamera-devel mailing list