staticStl property

bool staticStl
final

C++ STL linkage strategy.

  • true (default): static link libc++ (-DANDROID_STL=c++_static). The output .so is self-contained with no external C++ dependency.
  • false: shared link libc++ (-DANDROID_STL=c++_shared). Requires libc++_shared.so to be packaged in the APK. Use this when multiple native libraries in the same app share C++ state.

Implementation

final bool staticStl;