Skip to content

Adding patch to ensure rn-tester for android builds successfully #1031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions android-patches/patches/Build/ReactAndroid/Android-prebuilt.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/ReactAndroid/Android-prebuilt.mk b/ReactAndroid/Android-prebuilt.mk
index 18f8c26620..1e5afe5751 100644
--- a/ReactAndroid/Android-prebuilt.mk
+++ b/ReactAndroid/Android-prebuilt.mk
@@ -34,7 +34,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := folly_json
LOCAL_SRC_FILES := $(REACT_NDK_EXPORT_DIR)/$(TARGET_ARCH_ABI)/libfolly_json.so
LOCAL_EXPORT_C_INCLUDES := \
- $(THIRD_PARTY_NDK_DIR)/boost/boost_1_63_0 \
+ $(THIRD_PARTY_NDK_DIR)/boost/boost_1_68_0 \

Choose a reason for hiding this comment

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

This is fine .. just thinking about alternatives .. It would have been to be able to use the BOOST_VERSION property in ndk build scripts to avoid this hard coding ..

Copy link
Author

Choose a reason for hiding this comment

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

Yes, I agree that this current method isn't great. I mostly just want it in so that anytime we do a find/replace on boost version, we catch all the places we need to update. Even updating this path to be boost/boost where the second boost directory is symlinked to the version we want might be a better approach.

$(THIRD_PARTY_NDK_DIR)/double-conversion \
$(THIRD_PARTY_NDK_DIR)/folly
# Note: Sync with folly/Android.mk.