mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
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