-
Notifications
You must be signed in to change notification settings - Fork 261
Description
- Clarification of Version Compilation Details
Version in Question: 1.1.1.14d8e3c4
Request 1: Could you please specify the commit hash or Git tag this version (1.1.1.14d8e3c4) is based on? This will help ensure consistency and traceability in our integration.
Request 2: Could you clarify which AV1 decoder(s) (e.g., DAV1D, libgav1, or libyuv) were enabled during the compilation of this version? This information is critical for aligning our build configurations and optimizing dependencies.
Request3: When building the lib_avifandroid.so file locally using the release configuration, the generated SO file is ~100 KB larger than the official release version provided in the repository. I would like to know if there are any additional editing settings when the official compiles the so file of the Android release version
- SO File Size Optimization Request
Proposed Optimizations:
To reduce the SO file size further, we propose the following adjustments:
Currently, the build might be statically linking libc++_static, which increases the SO file size. Switching to dynamic linking of c++_shared is expected to reduce the size by ~200 KB.
Example Gradle Configuration:
externalNativeBuild {
cmake {
arguments "-DANDROID_STL=c++_shared"
}
}
This ensures the SO file dynamically links to libc++_shared.so instead of embedding the C++ standard library statically.