Skip to content

Commit

Permalink
chore: add patch for safe-area-context
Browse files Browse the repository at this point in the history
  • Loading branch information
kkafar committed Jun 23, 2022
1 parent 293f5bf commit 954ce80
Showing 1 changed file with 34 additions and 0 deletions.
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\"

0 comments on commit 954ce80

Please sign in to comment.