camera: Rewrote Android support.

This does something a little weird, in that it doesn't care what
`__ANDROID_API__` is set to, but will attempt to dlopen the system
libraries, like we do for many other platform-specific pieces of SDL.

This allows us to a) not bump the minimum required Android version, which is
extremely ancient but otherwise still working, doing the right thing on old
and new hardware in the field, and b) not require the app to link against
more libraries than it previously did before the feature was available.

The downside is that it's a little messy, but it's okay for now, I think.
This commit is contained in:
Ryan C. Gordon
2024-02-18 00:50:32 -05:00
parent 848dcf8a5f
commit 2613e3da24
5 changed files with 698 additions and 510 deletions

File diff suppressed because it is too large Load Diff