Skip to content

[Android] Fix compile error for native debug build#26248

Closed
Kudo wants to merge 1 commit into
facebook:masterfrom
Kudo:fix_android_native_debug
Closed

[Android] Fix compile error for native debug build#26248
Kudo wants to merge 1 commit into
facebook:masterfrom
Kudo:fix_android_native_debug

Conversation

@Kudo
Copy link
Copy Markdown
Contributor

@Kudo Kudo commented Aug 29, 2019

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.

Test Plan

Makes sure NATIVE_BUILD_TYPE=Debug ./gradlew :ReactAndroid:installArchives build without errors.

@react-native-bot react-native-bot added the Platform: Android Android applications. label Aug 29, 2019
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. labels Aug 29, 2019
Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mdvacca is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @Kudo in 962d9c9.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. Merged This PR has been merged. Platform: Android Android applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants