mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fdab18b0a1
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38903 Currently Android is not rebuilding the CLI if its content changes. This is a bug. It's resolution is a bit more complicated as we do have various `buildCodegenCLI` tasks, also in user projects. I've removed the tasks from the user projects, as they're practically not needed (users always consume a prebuilt codegen). And I've also updated the setup to have only one `buildCodegenCLI` in the ReactAndroid project. This allows us to ensure the job executes only once and has correct input/outputs. Changelog: [Internal] [Changed] - Fix compilation avoidance bug with buildCodegenCLI Reviewed By: mdvacca Differential Revision: D48199157 fbshipit-source-id: ba3be6a0ca959ac4e1240e8feb99b8274e4e2b46