From 949336ae4c6a49bcbe20810bd000828c5e1be670 Mon Sep 17 00:00:00 2001 From: Mattijs Korpershoek Date: Thu, 12 Oct 2023 10:59:22 +0200 Subject: subprojects: Add Android VNDK to compile test the HAL The Android HAL has quite some Android-specific dependencies (such as libhardware) which are not part of regular linux distributions. To compile-test the HAL on a Linux x86 system, we have added some stubs. This means that each time we add a new Android specific dependency, we need to write an associated stub for it, which can get tricky, especially for complex C++ classes such as GraphicBufferAllocator. It would be easier if we could import the includes and the required libraries we need from Android so that we can build-test the HAL. The Vendor Native Development Kit (VNDK) provides all the libraries that a vendor service (such as the libcamera HAL) can link against. Add the VNDK as a subproject of libcamera and add the necessary meson bits so that we can compile test the Android HAL on linux without having to stub anything. Signed-off-by: Mattijs Korpershoek --- subprojects/.gitignore | 1 + 1 file changed, 1 insertion(+) (limited to 'subprojects/.gitignore') diff --git a/subprojects/.gitignore b/subprojects/.gitignore index 04b6271f..703f5d95 100644 --- a/subprojects/.gitignore +++ b/subprojects/.gitignore @@ -4,3 +4,4 @@ /libyaml /libyuv /packagecache +/vndk -- cgit v1.2.1