Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This diff updates the minimum gradle plugin version for building the Hermes OSS release in order to avoid problems in older versions of the Android NDK. Specifically, there was a bug (android/ndk#1166) in the Android NDK that caused the exception handling functions in `libc++` to be incorrectly exported. Depending on link order, this can lead to `libhermes.so` not statically linking in `_Unwind_resume`, and expecting it instead to be resolved dynamically to the version in `libc++`. However, if we're linking against an RN version that was built against the new version of the NDK, those symbols may not be exported, and end up unresolved (which crashes the app). To allow Hermes to be built with newer versions of the NDK, we need to bump up the gradle plugin version to 4.1. RN already uses 4.1. Differential Revision: D28763472 fbshipit-source-id: 617749b2b50dbede29205ed43cc3862e36c14ac8
- Loading branch information