2022-08-14 18:06:24 +02:00
|
|
|
diff --git a/node_modules/expo-modules-core/android/build.gradle b/node_modules/expo-modules-core/android/build.gradle
|
2022-08-15 23:00:46 +02:00
|
|
|
index a57c367..13b4427 100644
|
2022-08-14 18:06:24 +02:00
|
|
|
--- a/node_modules/expo-modules-core/android/build.gradle
|
|
|
|
+++ b/node_modules/expo-modules-core/android/build.gradle
|
2022-08-15 23:00:46 +02:00
|
|
|
@@ -422,18 +422,16 @@ task prepareFolly(dependsOn: [downloadFolly], type: Copy) {
|
2022-08-14 18:06:24 +02:00
|
|
|
}
|
|
|
|
// END FOLLy
|
|
|
|
|
|
|
|
-task prepareHermes() {
|
2022-08-15 23:00:46 +02:00
|
|
|
+task prepareHermes(dependsOn: createNativeDepsDirectories, type: Copy) {
|
2022-08-14 18:06:24 +02:00
|
|
|
if (!FOR_HERMES) {
|
|
|
|
return
|
|
|
|
}
|
2022-08-15 23:00:46 +02:00
|
|
|
|
|
|
|
def soFiles = zipTree(HERMES_AAR).matching({ it.include "**/*.so" })
|
|
|
|
|
|
|
|
- copy {
|
|
|
|
- from soFiles
|
|
|
|
- from "$REACT_NATIVE_DIR/ReactAndroid/src/main/jni/first-party/hermes/Android.mk"
|
|
|
|
- into "$thirdPartyNdkDir/hermes"
|
|
|
|
- }
|
|
|
|
+ from soFiles
|
|
|
|
+ from "$REACT_NATIVE_DIR/ReactAndroid/src/main/jni/first-party/hermes/Android.mk"
|
|
|
|
+ into "$thirdPartyNdkDir/hermes"
|
|
|
|
}
|
|
|
|
|
|
|
|
task prepareThirdPartyNdkHeaders(dependsOn: [prepareBoost, prepareDoubleConversion, prepareFolly, prepareHermes]) {}
|