mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
962d9c9c1a
Summary: Fix Android gradle build error for native debug build. `NATIVE_BUILD_TYPE=Debug ./gradlew :ReactAndroid:installArchives` The root cause is `folly::Future<bool>` not declared. As we don't include true folly::Future implementation in OSS build but to use a forward declaration, the fix is pretty much like to original declaration as `folly::Future<folly::Unit>`. ## Changelog [Android] [Fixed] - Fix compile error for native debug build This change could be ignored from changelog which is only for internal development. Pull Request resolved: https://github.com/facebook/react-native/pull/26248 Test Plan: Makes sure `NATIVE_BUILD_TYPE=Debug ./gradlew :ReactAndroid:installArchives` build without errors. Differential Revision: D17169696 Pulled By: mdvacca fbshipit-source-id: 42e8b84b7ee0d1bd99d913702df98bc030965f63