To be fair, the setup we have is a bit special:
We build SQLCipher within a Node GYP build file for usage with Node. Certainly we could also build OpenSSL statically for each platform in a pre-step and then link the static library of OpenSSL within the GYP build file. But that pre-step would require different scripts for each OS.
Due to BearSSLs static linking model, it was extremely easy to just integrate building BearSSL itself into the GYP build file. This means that the whole build process works on all OSes that GYP supports.
TL;DR Integrability of BearSSL into other build systems is pretty neat when coupled with SQLite/SQLCipher amalgamation since it doesn’t require any complicated configuration.
Edit: Here’s the promised PR. As a side note, we’re still considering whether we will use this in production but think it’s a useful binding.