mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-09 04:29:36 +00:00
51ed6ec520
Set the PW_FUNCTION_ENABLE_DYNAMIC_ALLOCATION define for Android builds. This allows `pw::Function`s to exceed the inline size. The motivation for setting this across the board is that components built with dynamic allocation disabled (i.e. PW_FUNCTION_ENABLE_DYNAMIC_ALLOCATION unset or set to 0) cannot be linked against components with dynamic allocation enabled. Since even the smallest Android environment is not nearly as constrained as a typical embedded environment, the solution is to always set this flag on Android. Bug: 349352849 Test: Built Android locally. Change-Id: I7209151c2508026258c23f931a5c12c64c733a1e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/218219 Reviewed-by: Eli Lipsitz <elipsitz@google.com> Reviewed-by: Carlos Chinchilla <cachinchilla@google.com> Reviewed-by: Jonathon Reinhart <jrreinhart@google.com> Commit-Queue: Andrew Harper <aharp@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> |
||
---|---|---|
.. | ||
Android.bp | ||
BUILD.gn | ||
docs.rst | ||
OWNERS |