-
-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add patch for safe-area-context
- Loading branch information
Showing
2 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
FabricTestExample/patches/react-native-safe-area-context+4.2.5.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
diff --git a/node_modules/react-native-safe-area-context/android/src/main/jni/Android.mk b/node_modules/react-native-safe-area-context/android/src/main/jni/Android.mk | ||
index 6166527..33a7e73 100644 | ||
--- a/node_modules/react-native-safe-area-context/android/src/main/jni/Android.mk | ||
+++ b/node_modules/react-native-safe-area-context/android/src/main/jni/Android.mk | ||
@@ -20,7 +20,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(GENERATED_SRC_DIR)/codegen/jni | ||
LOCAL_SHARED_LIBRARIES := libjsi \ | ||
libfbjni \ | ||
libglog \ | ||
- libfolly_json \ | ||
+ libfolly_runtime \ | ||
libyoga \ | ||
libreact_nativemodule_core \ | ||
libturbomodulejsijni \ | ||
@@ -28,7 +28,6 @@ LOCAL_SHARED_LIBRARIES := libjsi \ | ||
libreact_render_core \ | ||
libreact_render_graphics \ | ||
libfabricjni \ | ||
- libfolly_futures \ | ||
libreact_debug \ | ||
libreact_render_componentregistry \ | ||
libreact_render_debug \ | ||
diff --git a/node_modules/react-native-safe-area-context/common/cpp/Android.mk b/node_modules/react-native-safe-area-context/common/cpp/Android.mk | ||
index a7680a6..69d86d6 100644 | ||
--- a/node_modules/react-native-safe-area-context/common/cpp/Android.mk | ||
+++ b/node_modules/react-native-safe-area-context/common/cpp/Android.mk | ||
@@ -15,7 +15,7 @@ LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/reac | ||
|
||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/react/renderer/components/safeareacontext | ||
|
||
-LOCAL_SHARED_LIBRARIES := libjsi libglog libfolly_json libyoga libreact_nativemodule_core librrc_view libreact_render_core libreact_render_graphics libfbjni libturbomodulejsijni libreact_codegen_rncore libreact_debug libreact_render_debug libreact_render_mapbuffer libreact_codegen_safeareacontext | ||
+LOCAL_SHARED_LIBRARIES := libjsi libglog libfolly_runtime libyoga libreact_nativemodule_core librrc_view libreact_render_core libreact_render_graphics libfbjni libturbomodulejsijni libreact_codegen_rncore libreact_debug libreact_render_debug libreact_render_mapbuffer libreact_codegen_safeareacontext | ||
|
||
LOCAL_CFLAGS := \ | ||
-DLOG_TAG=\"ReactNative\" |