mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ed5ed23deb
Summary: Moves rn_codgen to rn_library behind a `codegen` flag to limit the number of rules we generate WIth this, modules with native components can enable the react-native-codegen schema parsing by just updating their buck rule to: ``` rn_library( name = 'lib', codegen = True, // ... ) ``` Reviewed By: TheSavior Differential Revision: D14401263 fbshipit-source-id: 1675bc28389db64da10153c988bb4eb00d715056