Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Add a `HERMES_IS_MOBILE_BUILD` flag which allows us to exclude features by default on phones while keeping them around on non-mobile builds. This is useful for sections of code in the compiler which increase code size and are only used on the compiling server, such as the ability to parse Flow types. These new features can be gated by default under `HERMES_IS_MOBILE_BUILD`, allowing simple defaults. Reviewed By: tmikov Differential Revision: D20290497 fbshipit-source-id: 1d310bf86e26076e481353a9fd148af89b20cbc4
- Loading branch information