diff options
author | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2023-10-12 10:59:22 +0200 |
---|---|---|
committer | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2023-10-13 16:31:13 +0200 |
commit | 949336ae4c6a49bcbe20810bd000828c5e1be670 (patch) | |
tree | e65787641feca8ee07797960ba4d402680c17334 /test | |
parent | f6b0e5b1de401e9dc9a5f622903c160f66c9719e (diff) |
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 <mkorpershoek@baylibre.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions