Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass react build dir to cmake (#33736)
Summary: The ReactAndroid cmake build assumes that the build directory is ReactAndroid/build, but this is not always the case if gradle is configured with a different build location. Instead of assuming the build location in cmake, pass it from gradle. ## Changelog [Android] [Fixed] - Pass react build dir to cmake Pull Request resolved: #33736 Test Plan: Tested in an app with a custom build dir that RN now builds properly after this change. In build.gradle add: ```groovy allprojects { buildDir = "${System.getProperty("user.home")}/.gradle/builds/${rootProject.name}/${project.name}" } ``` Reviewed By: christophpurrer Differential Revision: D36128556 Pulled By: cortinico fbshipit-source-id: cdb8283c93ea7c384ec94cd3e24012220965b6dc
- Loading branch information